wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

All wezterm instances crash after some time when idle

Open ackstorm23 opened this issue 2 years ago • 5 comments

What Operating System(s) are you seeing this problem on?

Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

/run/user/60219/wezterm]> pacman -Q | egrep 'wez|wayland|wlroots|sway'
egl-wayland 2:1.1.10-1
kwayland 5.96.0-1
lib32-wayland 1.20.0-2
python-pywayland 0.4.14-1
qt5-wayland 5.15.5+kde+r38-3
sway-borders-git r7015.3890d2a2-1
sway-borders-git-debug r7015.3890d2a2-1
swaybg-git r121.69c03f6-1
swayidle 1.7.1-3
swaylock-effects-git r380.a8fc557-1
swaync-git 0.6.1.r321.8425afb-1
swayr 0.19.0-2
swaysettings-git 0.4.0.r208.a27383c-1
wayland-git 1.21.0.r5.g60827b86-1
wayland-protocols-git 1.26.r0.g83866f1-1
wezterm-git 20220726.223549.c7c81e31-1
wlroots-git 0.16.0.r5621.7298c4213-1
wlroots-git-debug 0.16.0.r5621.7298c4213-1
xorg-xwayland 22.1.3-1

WezTerm version

20220726-223549-c7c81e31

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

No, and I'll explain why below

Describe the bug

All open terminals crash.

This is especially strange because I started to run each terminal as a separate instance in order to avoid copy-paste bugs.

To Reproduce

1.Start wezterm 2. Wait

I only catch it happening when I am not actually using the terminal.

Configuration

local wezterm = require("wezterm")

local dimmer = {brightness=0.4}

local config = {
    enable_wayland = true,
    exit_behavior = "Close",
    colors = {
        tab_bar = {
            -- The color of the strip that goes along the top of the window
            background = "#333333",

            -- The active tab is the one that has focus in the window
            active_tab = {
                -- The color of the background area for the tab
                bg_color = "#000000",
                -- The color of the text for the tab
                fg_color = "#ffffff",

                -- Specify whether you want "Half", "Normal" or "Bold" intensity for the
                -- label shown for this tab.
                -- The default is "Normal"
                intensity = "Bold",

                -- Specify whether you want "None", "Single" or "Double" underline for
                -- label shown for this tab.
                -- The default is "None"
                underline = "None",

                -- Specify whether you want the text to be italic (true) or not (false)
                -- for this tab.  The default is false.
                italic = false,

                -- Specify whether you want the text to be rendered with strikethrough (true)
                -- or not for this tab.  The default is false.
                strikethrough = false,
            },

            -- Inactive tabs are the tabs that do not have focus
            inactive_tab = {
                bg_color = "#333333",
                fg_color = "#666666",

                -- The same options that were listed under the `active_tab` section above
                -- can also be used for `inactive_tab`.
            },

            -- You can configure some alternate styling when the mouse pointer
            -- moves over inactive tabs
            inactive_tab_hover = {
                bg_color = "#666666",
                fg_color = "#000000",
                italic = true,

                -- The same options that were listed under the `active_tab` section above
                -- can also be used for `inactive_tab_hover`.
            },
        },
    },
    check_for_updates = false,
    --color_scheme = "Builtin Solarized Dark",
    inactive_pane_hsb = {
        hue = 1.0,
        saturation = 1.0,
        brightness = 1.0,
    },
    default_prog = { '/bin/zsh', '-l' },
    font_size = 14.0,
    launch_menu = {},
    -- font = wezterm.font("Noto Sans Mono"),
    font = wezterm.font("JetBrains Mono"),
    font_hinting = "Full",  -- None, Vertical, VerticalSubpixel, Full
    -- line_height = 1.1,
    window_background_opacity = 0.7,
    -- enable_tab_bar = false,
    scrollback_lines = 10000,
    enable_scroll_bar = false,
    -- disable_default_key_bindings = true,
    -- disable_default_mouse_bindings = false,
    -- use_dead_keys = false,
    window_padding = {
      left = 2,
      -- This will become the scrollbar width if you have enabled the scrollbar!
      right = 2,
      top = 0,
      bottom = 0,
    },
    background = {
      -- This is the deepest/back-most layer. It will be rendered first
      {
        -- source = {File="/home/exile/Pictures/Backgrounds/seamless_grid_2.jpg"},
        -- source={File={path="/home/exile/Pictures/Backgrounds/animated_2bw.gif", speed=0.7}},
        source={File={path="/home/exile/Pictures/Backgrounds/gifs/bw/animated_9bw.gif", speed=0.5}},
        -- The texture tiles vertically but not horizontally.
        -- When we repeat it, mirror it so that it appears "more seamless".
        -- An alternative to this is to set `width = "100%"` and have
        -- it stretch across the display
        repeat_x = "Mirror",
        repeat_y = "Mirror",
        -- vertical_align = "Middle",
        -- horizontal_align = "Center",
        height = "100%",
        width = "100%",
        hsb = dimmer,
        opacity = 0.8,
        -- When the viewport scrolls, move this layer 10% of the number of
        -- pixels moved by the main viewport. This makes it appear to be
        -- further behind the text.
        -- attachment = {Parallax=0.1},
      },
    },
    leader = { key="a", mods="CTRL" },
    keys = {
        -- Send "CTRL-A" to the terminal when pressing CTRL-A, CTRL-A
        { key = "a", mods = "LEADER|CTRL",  action=wezterm.action{SendString="\x01"}},
        { key = "-", mods = "LEADER",       action=wezterm.action{SplitVertical={domain="CurrentPaneDomain"}}},
        { key = "\\",mods = "LEADER",       action=wezterm.action{SplitHorizontal={domain="CurrentPaneDomain"}}},
        { key = "z", mods = "LEADER",       action="TogglePaneZoomState" },
        { key = "c", mods = "LEADER",       action=wezterm.action{SpawnTab="CurrentPaneDomain"}},
        { key = "h", mods = "LEADER",       action=wezterm.action{ActivatePaneDirection="Left"}},
        { key = "j", mods = "LEADER",       action=wezterm.action{ActivatePaneDirection="Down"}},
        { key = "k", mods = "LEADER",       action=wezterm.action{ActivatePaneDirection="Up"}},
        { key = "l", mods = "LEADER",       action=wezterm.action{ActivatePaneDirection="Right"}},
        { key = "H", mods = "LEADER|SHIFT", action=wezterm.action{AdjustPaneSize={"Left", 5}}},
        { key = "J", mods = "LEADER|SHIFT", action=wezterm.action{AdjustPaneSize={"Down", 5}}},
        { key = "K", mods = "LEADER|SHIFT", action=wezterm.action{AdjustPaneSize={"Up", 5}}},
        { key = "L", mods = "LEADER|SHIFT", action=wezterm.action{AdjustPaneSize={"Right", 5}}},
        { key = "1", mods = "LEADER",       action=wezterm.action{ActivateTab=0}},
        { key = "2", mods = "LEADER",       action=wezterm.action{ActivateTab=1}},
        { key = "3", mods = "LEADER",       action=wezterm.action{ActivateTab=2}},
        { key = "4", mods = "LEADER",       action=wezterm.action{ActivateTab=3}},
        { key = "5", mods = "LEADER",       action=wezterm.action{ActivateTab=4}},
        { key = "6", mods = "LEADER",       action=wezterm.action{ActivateTab=5}},
        { key = "7", mods = "LEADER",       action=wezterm.action{ActivateTab=6}},
        { key = "8", mods = "LEADER",       action=wezterm.action{ActivateTab=7}},
        { key = "9", mods = "LEADER",       action=wezterm.action{ActivateTab=8}},
        { key = "&", mods = "LEADER|SHIFT", action=wezterm.action{CloseCurrentTab={confirm=true}}},
        { key = "x", mods = "LEADER",       action=wezterm.action{CloseCurrentPane={confirm=true}}},
        { key = "c", mods=  "ALT", action=wezterm.action{CopyTo="ClipboardAndPrimarySelection"}},
        { key = "v", mods=  "ALT", action=wezterm.action{PasteFrom="Clipboard"}},
        { key = "+", mods=  "CTRL", action="IncreaseFontSize"},
        { key = "-", mods=  "CTRL", action="DecreaseFontSize"},
        { key=  "0", mods=  "CTRL", action="ResetFontSize"},
        --{ key ="PageUp", mods="SHIFT", action=wezterm.action{ScrollByPage=-1}},
        --{ key ="PageDown", mods="SHIFT", action=wezterm.action{ScrollByPage=1}},
        { key ="F", mods="SHIFT|CTRL", action=wezterm.action{Search={CaseInSensitiveString=""}}}
    },
    set_environment_variables = {},

}

return config

Expected Behavior

No Crash!

Logs

[/run/user/60219/wezterm]> for i in `ls wezterm*txt`; do
 |> echo $i
 |> cat $i
 |> done
wezterm-gui-log-15722.txt
19:49:21.659  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
19:49:21.659  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
19:49:21.659  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
19:49:21.659  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
19:49:21.660  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
19:49:21.660  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
00:00:22.815  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
00:00:22.816  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
15:33:41.886  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Invalid argument (os error 22); terminating
wezterm-gui-log-3290902.txt
23:42:32.607  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
23:42:32.611  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
23:42:33.668  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
23:42:33.668  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
23:42:33.668  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
23:42:33.668  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
23:42:33.668  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
23:42:33.668  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
wezterm-gui-log-3405049.txt
11:27:41.068  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
11:27:41.072  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
11:27:42.097  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
11:27:42.097  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
11:27:42.097  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
11:27:42.097  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
11:27:42.097  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
11:27:42.097  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
12:52:15.650  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Invalid argument (os error 22); terminating
wezterm-gui-log-3498805.txt
12:56:18.596  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
12:56:18.600  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
12:56:19.660  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
12:56:19.660  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
12:56:19.660  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
12:56:19.660  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
12:56:19.660  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
12:56:19.660  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
12:57:56.225  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.427  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:08:40.427  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:08:40.427  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:08:40.429  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:08:40.429  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:08:40.429  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:08:40.583  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.584  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.585  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.586  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.587  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.588  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.589  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.590  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.591  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.592  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.593  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.597  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.598  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.599  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.600  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.601  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.602  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:08:40.603  ERROR  window::os::wayland::pointer           > Unable to set cursor to hand: cursor not found
13:28:18.487  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Invalid argument (os error 22); terminating
wezterm-gui-log-3506044.txt
13:52:05.864  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:05.868  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:06.918  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:06.918  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:06.918  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:52:06.918  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:06.918  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:06.918  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:54:02.832  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Broken pipe (os error 32); terminating
wezterm-gui-log-3506169.txt
13:52:09.138  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:09.142  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:10.191  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:10.191  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:10.191  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:52:10.192  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:10.192  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:10.192  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:54:02.849  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Broken pipe (os error 32); terminating
wezterm-gui-log-3506293.txt
13:52:12.473  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:12.478  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:14.239  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:14.239  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:14.239  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:52:14.240  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:14.240  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:14.240  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:54:02.824  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Broken pipe (os error 32); terminating
wezterm-gui-log-3506364.txt
13:52:12.708  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:12.712  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:14.472  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:14.472  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:14.472  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:52:14.472  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:14.472  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:14.473  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:54:02.847  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Broken pipe (os error 32); terminating
wezterm-gui-log-3506661.txt
13:52:20.691  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:20.695  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:21.808  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:21.808  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:21.808  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:52:21.809  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:21.809  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:21.809  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:54:02.827  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Broken pipe (os error 32); terminating
wezterm-gui-log-3506716.txt
13:52:20.868  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:20.873  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:21.923  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:21.923  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:21.923  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:52:21.923  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:21.923  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:21.923  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:54:02.828  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Broken pipe (os error 32); terminating
wezterm-gui-log-3506818.txt
13:52:21.052  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:21.056  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:22.120  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:22.120  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:22.120  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:52:22.121  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:22.121  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:22.121  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:54:02.828  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Broken pipe (os error 32); terminating
wezterm-gui-log-3507044.txt
13:52:27.787  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:27.791  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:28.888  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:28.888  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:28.888  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:52:28.889  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:28.889  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:28.889  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:54:02.832  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Broken pipe (os error 32); terminating
wezterm-gui-log-3507114.txt
13:52:28.019  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:28.023  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:52:29.070  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:29.070  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:29.070  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:52:29.071  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:52:29.071  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:52:29.071  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:54:02.818  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Broken pipe (os error 32); terminating
wezterm-gui-log-3507790.txt
13:53:18.387  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:53:18.391  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:53:19.480  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:53:19.480  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:53:19.480  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:53:19.481  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:53:19.481  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:53:19.481  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:54:02.835  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Broken pipe (os error 32); terminating
wezterm-gui-log-3507974.txt
13:53:25.077  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:53:25.082  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:53:26.103  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:53:26.103  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:53:26.103  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:53:26.104  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:53:26.104  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:53:26.104  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:54:02.860  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Broken pipe (os error 32); terminating
wezterm-gui-log-3513141.txt
13:56:49.869  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:56:49.873  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
13:56:50.895  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:56:50.895  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:56:50.895  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
13:56:50.895  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
13:56:50.895  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
13:56:50.895  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
17:03:49.258  ERROR  wezterm_gui                            > running message loop: error during event_q.read_events protocol_error=None: Invalid argument (os error 22); terminating
wezterm-gui-log-3548639.txt
20:30:37.316  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
20:30:37.319  WARN   wezterm_dynamic::error > `font_hinting` is not a valid Config field. Did you mean one of `font`, `font_size`, `font_dirs`, `font_shaper`, `font_locator`, `font_rules`, `font_rasterizer`? There are too many alternatives to list here; consult the documentation!
20:30:38.369  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
20:30:38.369  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
20:30:38.369  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000
20:30:38.370  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 256 #c1c1c1
20:30:38.370  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  4 257 #000000
20:30:38.370  WARN   wezterm_term::terminalstate::performer > Unhandled OSC  708 #000000

Anything else?

This started after I rebuild wayland-git, wlroots-git, sway-borders-git, and wezterm-git to see if mouse wheel support was working again after the latest patch in wayland git.

It did restore scroll wheel functionality, but now the crashes are happening.

Not sure if its related to changes in wayland or wezterm master branches.

I start wezterm with this command wezterm-gui start --always-new-process

I can rebuild from nightly again to see if this goes away, but wanted to report it first since the circumstances are unique.

ackstorm23 avatar Aug 05 '22 02:08 ackstorm23

Rebuilt with new versions. Will let it run like this for a few days and see if it goes away.

wezterm 20220804-063140-d5b910ab
sway-borders-git r7015.3890d2a2-1
sway-borders-git-debug r7015.3890d2a2-1
wayland-git 1.21.0.r5.g60827b86-1
wayland-protocols-git 1.26.r0.g83866f1-1
wezterm-git 20220804.063140.d5b910ab-1
wlroots-git 0.16.0.r5624.b24b50ec0-1
wlroots-git-debug 0.16.0.r5624.b24b50ec0-1
xorg-xwayland 22.1.3-1

ackstorm23 avatar Aug 05 '22 02:08 ackstorm23

Possibly another manifestation of https://github.com/wez/wezterm/issues/2297

wez avatar Aug 05 '22 03:08 wez

Might be helpful to run wezterm with WAYLAND_DEBUG=1 set in the environment and see if there's additional info about what's happening at the wayland level.

wez avatar Aug 05 '22 03:08 wez

Possibly another manifestation of #2297

One difference is that I am not on a laptop, and not suspending.

ackstorm23 avatar Aug 05 '22 21:08 ackstorm23

Can you try running with WAYLAND_DEBUG=1 set and report back if/when it happens again?

wez avatar Aug 06 '22 15:08 wez

I rebuilt and am testing now.

I am using a HDMI matrix to switch between many inputs which may cause the machine in question to lose it's outputs temporarily, so this would make sense.

ackstorm23 avatar Aug 12 '22 21:08 ackstorm23

No crashes.

ackstorm23 avatar Aug 15 '22 20:08 ackstorm23

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Feb 03 '23 20:02 github-actions[bot]