hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.09k stars 882 forks source link

Crash on Window Close #2404

Closed kabeleh closed 1 year ago

kabeleh commented 1 year ago

There was an update earlier today, since then Hyprland crashed multiple times on closing a window, usually kitty.

Steps to reproduce

Close a window with Super + C (killactive) Hyprland session closes and SDDM is there, ready for a new login.

Expected Outcome

Only the active window closes

Additional comments

  1. This only happened after today's update.
  2. I'm using the git version with the nvidia patch from the AUR (https://aur.archlinux.org/packages/hyprland-nvidia-git)
  3. My hyprland configuration

    hyprland.conf The following configuration was stable until today ``` ######################################################################################## AUTOGENERATED HYPR CONFIG. PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. ########################################################################################

#

Please note not all available settings / options are set here.

For a full list, see the wiki

#

autogenerated = 1 # remove this line to remove the warning

See https://wiki.hyprland.org/Configuring/Monitors/

monitor=,preferred,auto,auto

monitor=DP-3,1920x1080@240,0x0,1 monitor=HDMI-A-1,1920x1200@60,1920x0,1

See https://wiki.hyprland.org/Configuring/Keywords/ for more

Execute your favorite apps at launch

exec-once = hyprpaper & waybar & vivaldi-stable & kitty & kDrive & protonmail-bridge --cli exec-once = /usr/lib/polkit-kde-authentication-agent-1 exec-once = udiskie & exec-once = pypr

Source a file (multi-file configs)

source = ~/.config/hypr/myColors.conf

Some default env vars.

env = XCURSOR_SIZE,24 env = LIBVA_DRIVER_NAME,nvidia env = XDG_SESSION_TYPE,wayland env = GBM_BACKEND,nvidia-drm env = __GLX_VENDOR_LIBRARY_NAME,nvidia env = WLR_NO_HARDWARE_CURSORS,1

For all categories, see https://wiki.hyprland.org/Configuring/Variables/

input { kb_layout = eu kb_variant = kb_model = kb_options = kb_rules =

follow_mouse = 1

touchpad {
    natural_scroll = no
}

numlock_by_default = true

sensitivity = 0 # -1.0 - 1.0, 0 means no modification.

}

general {

See https://wiki.hyprland.org/Configuring/Variables/ for more

gaps_in = 5
gaps_out = 20
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)

layout = dwindle

}

decoration {

See https://wiki.hyprland.org/Configuring/Variables/ for more

rounding = 10
blur = yes
blur_size = 3
blur_passes = 1
blur_new_optimizations = on

drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)

}

animations { enabled = yes

# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

bezier = myBezier, 0.05, 0.9, 0.1, 1.05

animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default,slidevert

}

dwindle {

See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more

pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybind>
preserve_split = yes # you probably want this

}

master {

See https://wiki.hyprland.org/Configuring/Master-Layout/ for more

new_is_master = true

}

gestures {

See https://wiki.hyprland.org/Configuring/Variables/ for more

workspace_swipe = off

}

Example per-device config

See https://wiki.hyprland.org/Configuring/Keywords/#executing for more

device:epic-mouse-v1 { sensitivity = -0.5 }

Example windowrule v1

windowrule = float, ^(kitty)$

Example windowrule v2

windowrulev2 = float,class:^(kitty)$,title:^(kitty)$

See https://wiki.hyprland.org/Configuring/Window-Rules/ for more

windowrule = opacity 1.0 override 0.75 override,^(thunar)$ # set opacity to 1.0 active and 0.5 inactiv>

See https://wiki.hyprland.org/Configuring/Keywords/ for more

$mainMod = SUPER

Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more

bind = $mainMod, Q, exec, kitty bind = $mainMod, C, killactive, bind = $mainMod, M, exit, bind = $mainMod, E, exec, thunar bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, wofi --show drun bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, L, exec, swaylock bind = $mainMod, B, exec, vivaldi-stable

Screenshots with hyprshot

Screenshot a window

bind = $mainMod, PRINT, exec, hyprshot -m window -o /home/kl/Screenshots/

Screenshot a monitor

bind = , PRINT, exec, hyprshot -m output -o /home/kl/Screenshots/

Dropdown Kitty Terminal

bind = $mainMod,F12,exec,pypr toggle term $dropterm = ^(kitty-dropterm)$ windowrule = float,$dropterm windowrule = workspace special silent,$dropterm windowrule = size 75% 60%,$dropterm

Move focus with mainMod + arrow keys

bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d

Move Active Window to other monitor

bind = $mainMod, KP_End, movewindow, mon:DP-3 bind = $mainMod, KP_Next, movewindow, mon:HDMI-A-1

Switch workspaces with mainMod + [0-9]

bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 bind = $mainMod, 4, workspace, 4 bind = $mainMod, 5, workspace, 5 bind = $mainMod, 6, workspace, 6 bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 bind = $mainMod, 0, workspace, 10

Swap the workspaces of all the screens

bind = $mainMod, KP_Begin, exec, pypr shift_monitors +1

Make non-visible workspace follow the focused monitor

bind = $mainMod, KP_Insert, exec, pypr change_workspace +1 bind = $mainMod, KP_Down, exec, pypr change_workspace -1

bind = SUPER, KP_End, workspace, 1

bind = SUPER, KP_Down, workspace, 2

bind = SUPER, KP_Next, workspace, 3

bind = SUPER, KP_Left, workspace, 4

bind = SUPER, KP_Begin, workspace, 5

bind = SUPER, KP_Right, workspace, 6

bind = SUPER, KP_Home, workspace, 7

bind = SUPER, KP_Up, workspace, 8

bind = SUPER, KP_Prior, workspace, 9

bind = SUPER, KP_Insert, workspace, 10

Move active window to a workspace with mainMod + SHIFT + [0-9]

bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 4, movetoworkspace, 4 bind = $mainMod SHIFT, 5, movetoworkspace, 5 bind = $mainMod SHIFT, 6, movetoworkspace, 6 bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10

Scroll through existing workspaces with mainMod + scroll

bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1

Move/resize windows with mainMod + LMB/RMB and dragging

bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow

Multimedia Keys

bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- binde = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+


</details>

4. CrashReports
<details>
  <summary>First Crash</summary>

  First crash

Hyprland Crash Report

Sorry, didn't mean to...

Hyprland received signal 6 (Aborted)

Version: 1844e8adadb44199f6d0bf26dc7c0db80c18ddaa

System info: System name: Linux Node name: klarch Release: 6.1.31-1-lts Version: #1 SMP PREEMPT_DYNAMIC Tue, 30 May 2023 14:36:16 +0000

GPU: 0b:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106 [GeForce RTX 3060] [10de:2503] (rev a1) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo

Backtrace:

0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x78e) [0x55e78a36e63e]

    ??
    ??:0
#1 | Hyprland(_Z25handleUnrecoverableSignali+0x3c) [0x55e78a309d1c]
    ??
    ??:0
#2 | /usr/lib/libc.so.6(+0x39ab0) [0x7f4520562ab0]
    ??
    ??:0
#3 | /usr/lib/libc.so.6(+0x8926c) [0x7f45205b226c]
    ??
    ??:0
#4 | /usr/lib/libc.so.6(gsignal+0x18) [0x7f4520562a08]
    ??
    ??:0
#5 | /usr/lib/libc.so.6(abort+0xd7) [0x7f452054b538]
    ??
    ??:0
#6 | /usr/lib/libc.so.6(+0x2245c) [0x7f452054b45c]
    ??
    ??:0
#7 | /usr/lib/libc.so.6(+0x323d6) [0x7f452055b3d6]
    ??
    ??:0
#8 | /usr/lib/libwlroots.so.12032(+0x421f1) [0x7f45212271f1]
    ??
    ??:0
#9 | /usr/lib/libwlroots.so.12032(+0x40bac) [0x7f4521225bac]
    ??
    ??:0
#10 | /usr/lib/libwlroots.so.12032(wlr_render_texture_with_matrix+0x48) [0x7f4521220678]
    ??
    ??:0
#11 | /usr/lib/libwlroots.so.12032(wlr_output_render_software_cursors+0x2a3) [0x7f45212536c3]
    ??
    ??:0
#12 | Hyprland(_ZN13CHyprRenderer13renderMonitorEP8CMonitor+0x5cc) [0x55e78a42e37c]
    ??
    ??:0
#13 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x3c) [0x55e78a3aafcc]
    ??
    ??:0
#14 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7f452119c01e]
    ??
    ??:0
#15 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch_idle+0x23) [0x7f452119da23]
    ??
    ??:0
#16 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xfd) [0x7f452119db3d]
    ??
    ??:0
#17 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f452119e2d7]
    ??
    ??:0
#18 | Hyprland(main+0x4b4) [0x55e78a2fa884]
    ??
    ??:0
#19 | /usr/lib/libc.so.6(+0x23850) [0x7f452054c850]
    ??
    ??:0
#20 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f452054c90a]
    ??
    ??:0
#21 | Hyprland(_start+0x25) [0x55e78a309bc5]
    ??
    ??:0

Log tail: [LOG] Monitor HDMI-A-1 layers arranged: reserved: 0.000000 50.000000 0.000000 0.000000 [LOG] LayerSurface 55e78dd85ba0 arranged: x: 1920 y: 0 w: 1920 h: 50 with margins: t: 0 l: 0 r: 0 b: 0 [LOG] LayerSurface 55e78b421610 arranged: x: 1920 y: 0 w: 1920 h: 1200 with margins: t: 0 l: 0 r: 0 b: 0 [LOG] LayerSurface 55e78dd85ba8 arranged: x: 3520 y: 50 w: 320 h: 85 with margins: t: 0 l: 0 r: 0 b: 0 [LOG] Monitor HDMI-A-1 layers arranged: reserved: 0.000000 50.000000 0.000000 0.000000 [LOG] LayerSurface 55e78dd56500 mapped [LOG] Registered signal for owner 55e78dd78350: 55e78dd9a078 -> 55e78dd78358 (owner: CWLSurface) [LOG] CWLSurface 55e78dd78350 called init() [LOG] LayerSurface 55e78dd85ba0 arranged: x: 1920 y: 0 w: 1920 h: 50 with margins: t: 0 l: 0 r: 0 b: 0 [LOG] LayerSurface 55e78b421610 arranged: x: 1920 y: 0 w: 1920 h: 1200 with margins: t: 0 l: 0 r: 0 b: 0 [LOG] LayerSurface 55e78dd85ba8 arranged: x: 3520 y: 50 w: 320 h: 85 with margins: t: 0 l: 0 r: 0 b: 0 [LOG] Monitor HDMI-A-1 layers arranged: reserved: 0.000000 50.000000 0.000000 0.000000 [LOG] Searching for matching rules for vivaldi-stable (title: show file permissions - Google Search - Vivaldi) [LOG] Window 55e78dd983c0 set title to show file permissions - Google Search - Vivaldi [LOG] Set keyboard focus to surface 55e78dc2b6c0, with window name: kl@klarch:~ [LOG] [hookSystem] New hook event registered: mouseButton [LOG] LayerSurface 55e78dd85ba0 arranged: x: 1920 y: 0 w: 1920 h: 50 with margins: t: 0 l: 0 r: 0 b: 0 [LOG] LayerSurface 55e78b421610 arranged: x: 1920 y: 0 w: 1920 h: 1200 with margins: t: 0 l: 0 r: 0 b: 0 [LOG] LayerSurface 55e78dd85ba8 arranged: x: 3520 y: 50 w: 320 h: 143 with margins: t: 0 l: 0 r: 0 b: 0 [LOG] Monitor HDMI-A-1 layers arranged: reserved: 0.000000 50.000000 0.000000 0.000000 [LOG] Keybind triggered, calling dispatcher (64, , 99) [LOG] Window 55e78dc2e9e0 unmapped (class kitty) [LOG] [hookSystem] New hook event registered: closeWindow [LOG] Unregistered late callbacks XDG [LOG] Callback 55e78dc2ea08 -> 55e78dc2ea00, XDG Window Late removed. [LOG] Callback 55e78dc2eba8 -> 55e78dc2eba0, XDG Window Late removed. [LOG] Callback 55e78dc2ece0 -> 55e78dc2ecd8, XDG Window Late removed. [LOG] Callback 55e78dc2ee18 -> 55e78dc2ee10, XDG Window Late removed. [LOG] Callback 55e78dc2edb0 -> 55e78dc2eda8, XDG Window Late removed. [LOG] Callback 55e78dc2ed48 -> 55e78dc2ed40, XDG Window Late removed. [LOG] Callback 55e78dc2ee80 -> 55e78dc2ee78, XDG Window Late removed. [LOG] Callback 55e78dc2ec78 -> 55e78dc2ec70, XDG Window Late removed. [LOG] Framebuffer created, status 36053 [LOG] On closed window, new focused candidate is 55e78dd983c0 [LOG] Set keyboard focus to surface 55e78dd97270, with window name: show file permissions - Google Search - Vivaldi [LOG] Destroying the SubSurface tree of unmapped window 55e78dc2e9e0 [LOG] Callback 55e78dc35828 -> 55e78dc35820, SurfaceTreeNode removed. [LOG] Callback 55e78dc35890 -> 55e78dc35888, SurfaceTreeNode removed. [LOG] Callback 55e78dc357c0 -> 55e78dc357b8, SurfaceTreeNode removed. [LOG] SurfaceTree Node removed [LOG] Callback 55e78dc2f020 -> 55e78dc2f018, Toplevel removed. [LOG] Callback 55e78dc2efb8 -> 55e78dc2efb0, Toplevel removed. [LOG] Callback 55e78dc2f088 -> 55e78dc2f080, Toplevel removed. [LOG] Callback 55e78dc2f160 -> 55e78dc2f158, CWLSurface removed. [LOG] CWLSurface 55e78dc2f130 called destroy() [LOG] Callback 55e78dc2ead8 -> 55e78dc2ead0, CWindow removed. [LOG] Window 55e78dc2e9e0 destroyed, queueing. (class ) [LOG] Callback 55e78dc2ea70 -> 55e78dc2ea68, XDG Window removed. [LOG] Callback 55e78dc2eb40 -> 55e78dc2eb38, XDG Window removed. [ERR] onWindowRemovedTiling node null?


</details>

<details>
  <summary>Seconds Crash</summary>

Hyprland Crash Report

Who tried dividing by zero?!

Hyprland received signal 6 (Aborted)

Version: 1844e8adadb44199f6d0bf26dc7c0db80c18ddaa

System info: System name: Linux Node name: klarch Release: 6.1.31-1-lts Version: #1 SMP PREEMPT_DYNAMIC Tue, 30 May 2023 14:36:16 +0000

GPU: 0b:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106 [GeForce RTX 3060] [10de:2503] (rev a1) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo

Backtrace:

0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x78e) [0x55f73219963e]

    ??
    ??:0
#1 | Hyprland(_Z25handleUnrecoverableSignali+0x3c) [0x55f732134d1c]
    ??
    ??:0
#2 | /usr/lib/libc.so.6(+0x39ab0) [0x7f6172f62ab0]
    ??
    ??:0
#3 | /usr/lib/libc.so.6(+0x8926c) [0x7f6172fb226c]
    ??
    ??:0
#4 | /usr/lib/libc.so.6(gsignal+0x18) [0x7f6172f62a08]
    ??
    ??:0
#5 | /usr/lib/libc.so.6(abort+0xd7) [0x7f6172f4b538]
    ??
    ??:0
#6 | /usr/lib/libc.so.6(+0x2245c) [0x7f6172f4b45c]
    ??
    ??:0
#7 | /usr/lib/libc.so.6(+0x323d6) [0x7f6172f5b3d6]
    ??
    ??:0
#8 | /usr/lib/libwlroots.so.12032(+0x421f1) [0x7f6173c1d1f1]
    ??
    ??:0
#9 | /usr/lib/libwlroots.so.12032(+0x40bac) [0x7f6173c1bbac]
    ??
    ??:0
#10 | /usr/lib/libwlroots.so.12032(wlr_render_texture_with_matrix+0x48) [0x7f6173c16678]
    ??
    ??:0
#11 | /usr/lib/libwlroots.so.12032(wlr_output_render_software_cursors+0x2a3) [0x7f6173c496c3]
    ??
    ??:0
#12 | Hyprland(_ZN13CHyprRenderer13renderMonitorEP8CMonitor+0x5cc) [0x55f73225937c]
    ??
    ??:0
#13 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x3c) [0x55f7321d5fcc]
    ??
    ??:0
#14 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7f6173b9201e]
    ??
    ??:0
#15 | /usr/lib/libwlroots.so.12032(+0x568b8) [0x7f6173c318b8]
    ??
    ??:0
#16 | /usr/lib/libdrm.so.2(drmHandleEvent+0xff) [0x7f6173b619af]
    ??
    ??:0
#17 | /usr/lib/libwlroots.so.12032(+0x59109) [0x7f6173c34109]
    ??
    ??:0
#18 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7f6173b93ae2]
    ??
    ??:0
#19 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f6173b942d7]
    ??
    ??:0
#20 | Hyprland(main+0x4b4) [0x55f732125884]
    ??
    ??:0
#21 | /usr/lib/libc.so.6(+0x23850) [0x7f6172f4c850]
    ??
    ??:0
#22 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f6172f4c90a]
    ??
    ??:0
#23 | Hyprland(_start+0x25) [0x55f732134bc5]
    ??
    ??:0

Log tail: [LOG] CWLSurface 55f735f2d4b0 called init() [LOG] Registered signal for owner 55f735f2cd60: 55f735f2ca90 -> 55f735f2ce30 (owner: CWindow) [LOG] Searching for matching rules for thunar (title: kl - Thunar) [LOG] Window rule opacity 1.0 override 0.75 override -> ^(thunar)$ matched 55f735f2cd60 [kl - Thunar] [LOG] OPENINGON: 55f7359b4510, Workspace: 1, Monitor: 0 [LOG] Set keyboard focus to surface 55f735f24bc0, with window name: kl - Thunar [LOG] Window got assigned a surfaceTreeNode 0 [LOG] Registered signal for owner 55f735f2cd60: 55f735f24e88 -> 55f735f2cd60 (owner: XDG Window Late) [LOG] Registered signal for owner 55f735f2cd60: 55f735f2cca0 -> 55f735f2cf00 (owner: XDG Window Late) [LOG] Registered signal for owner 55f735f2cd60: 55f735f2ca70 -> 55f735f2d038 (owner: XDG Window Late) [LOG] Registered signal for owner 55f735f2cd60: 55f735f2cc30 -> 55f735f2d170 (owner: XDG Window Late) [LOG] Registered signal for owner 55f735f2cd60: 55f735f2cc50 -> 55f735f2d108 (owner: XDG Window Late) [LOG] Registered signal for owner 55f735f2cd60: 55f735f2cc60 -> 55f735f2d0a0 (owner: XDG Window Late) [LOG] Registered signal for owner 55f735f2cd60: 55f735f2cc70 -> 55f735f2d1d8 (owner: XDG Window Late) [LOG] Registered signal for owner 55f735f2cd60: 55f735f2cc40 -> 55f735f2cfd0 (owner: XDG Window Late) [LOG] Registered signal for owner 55f735f04780: 55f735f24e98 -> 55f735f047f8 (owner: SurfaceTreeNode) [LOG] Registered signal for owner 55f735f04780: 55f735f24e88 -> 55f735f04860 (owner: SurfaceTreeNode) [LOG] Registered signal for owner 55f735f04780: 55f735f24ea8 -> 55f735f048c8 (owner: SurfaceTreeNode) [LOG] Creating a surfaceTree Root! (pWindow: 55f735f2cd60) [LOG] Map request dispatched, monitor HDMI-A-1, xywh: 2887.000000 72.000000 931.000000 546.000000 [LOG] Keybind triggered, calling dispatcher (64, , 99) [LOG] Window 55f735f2cd60 unmapped (class thunar) [LOG] [hookSystem] New hook event registered: closeWindow [LOG] Unregistered late callbacks XDG [LOG] Callback 55f735f2cd88 -> 55f735f2cd80, XDG Window Late removed. [LOG] Callback 55f735f2cf28 -> 55f735f2cf20, XDG Window Late removed. [LOG] Callback 55f735f2d060 -> 55f735f2d058, XDG Window Late removed. [LOG] Callback 55f735f2d198 -> 55f735f2d190, XDG Window Late removed. [LOG] Callback 55f735f2d130 -> 55f735f2d128, XDG Window Late removed. [LOG] Callback 55f735f2d0c8 -> 55f735f2d0c0, XDG Window Late removed. [LOG] Callback 55f735f2d200 -> 55f735f2d1f8, XDG Window Late removed. [LOG] Callback 55f735f2cff8 -> 55f735f2cff0, XDG Window Late removed. [LOG] Framebuffer created, status 36053 [LOG] On closed window, new focused candidate is 55f7359af720 [LOG] Set keyboard focus to surface 55f7359aa000, with window name: kl@klarch:~ [LOG] Destroying the SubSurface tree of unmapped window 55f735f2cd60 [LOG] Callback 55f735f04888 -> 55f735f04880, SurfaceTreeNode removed. [LOG] Callback 55f735f048f0 -> 55f735f048e8, SurfaceTreeNode removed. [LOG] Callback 55f735f04820 -> 55f735f04818, SurfaceTreeNode removed. [LOG] SurfaceTree Node removed [LOG] Callback 55f735f2d3a0 -> 55f735f2d398, Toplevel removed. [LOG] Callback 55f735f2d338 -> 55f735f2d330, Toplevel removed. [LOG] Callback 55f735f2d408 -> 55f735f2d400, Toplevel removed. [LOG] Callback 55f735f2d4e0 -> 55f735f2d4d8, CWLSurface removed. [LOG] CWLSurface 55f735f2d4b0 called destroy() [LOG] Callback 55f735f2ce58 -> 55f735f2ce50, CWindow removed. [LOG] Window 55f735f2cd60 destroyed, queueing. (class ) [LOG] Callback 55f735f2cdf0 -> 55f735f2cde8, XDG Window removed. [LOG] Callback 55f735f2cec0 -> 55f735f2ceb8, XDG Window removed. [ERR] onWindowRemovedTiling node null?


</details>

<details>
  <summary>Third Crash</summary>

Hyprland Crash Report

Well this is awkward.

Hyprland received signal 6 (Aborted)

Version: 1844e8adadb44199f6d0bf26dc7c0db80c18ddaa

System info: System name: Linux Node name: klarch Release: 6.1.31-1-lts Version: #1 SMP PREEMPT_DYNAMIC Tue, 30 May 2023 14:36:16 +0000

GPU: 0b:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106 [GeForce RTX 3060] [10de:2503] (rev a1) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo

Backtrace:

0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x78e) [0x55ee292ba63e]

    ??
    ??:0
#1 | Hyprland(_Z25handleUnrecoverableSignali+0x3c) [0x55ee29255d1c]
    ??
    ??:0
#2 | /usr/lib/libc.so.6(+0x39ab0) [0x7f92cf02aab0]
    ??
    ??:0
#3 | /usr/lib/libc.so.6(+0x8926c) [0x7f92cf07a26c]
    ??
    ??:0
#4 | /usr/lib/libc.so.6(gsignal+0x18) [0x7f92cf02aa08]
    ??
    ??:0
#5 | /usr/lib/libc.so.6(abort+0xd7) [0x7f92cf013538]
    ??
    ??:0
#6 | /usr/lib/libc.so.6(+0x2245c) [0x7f92cf01345c]
    ??
    ??:0
#7 | /usr/lib/libc.so.6(+0x323d6) [0x7f92cf0233d6]
    ??
    ??:0
#8 | /usr/lib/libwlroots.so.12032(+0x3b62c) [0x7f92cfc4b62c]
    ??
    ??:0
#9 | /usr/lib/libwlroots.so.12032(wlr_render_texture_with_matrix+0x48) [0x7f92cfc4b678]
    ??
    ??:0
#10 | /usr/lib/libwlroots.so.12032(wlr_output_render_software_cursors+0x2a3) [0x7f92cfc7e6c3]
    ??
    ??:0
#11 | Hyprland(_ZN13CHyprRenderer13renderMonitorEP8CMonitor+0x5cc) [0x55ee2937a37c]
    ??
    ??:0
#12 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x3c) [0x55ee292f6fcc]
    ??
    ??:0
#13 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7f92cfbc701e]
    ??
    ??:0
#14 | /usr/lib/libwlroots.so.12032(+0x568b8) [0x7f92cfc668b8]
    ??
    ??:0
#15 | /usr/lib/libdrm.so.2(drmHandleEvent+0xff) [0x7f92cfb969af]
    ??
    ??:0
#16 | /usr/lib/libwlroots.so.12032(+0x59109) [0x7f92cfc69109]
    ??
    ??:0
#17 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7f92cfbc8ae2]
    ??
    ??:0
#18 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f92cfbc92d7]
    ??
    ??:0
#19 | Hyprland(main+0x4b4) [0x55ee29246884]
    ??
    ??:0
#20 | /usr/lib/libc.so.6(+0x23850) [0x7f92cf014850]
    ??
    ??:0
#21 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f92cf01490a]
    ??
    ??:0
#22 | Hyprland(_start+0x25) [0x55ee29255bc5]
    ??
    ??:0

Log tail: [LOG] Window 55ee2d4e1d90 set title to ~ [LOG] Searching for matching rules for kitty (title: kl@klarch:~) [LOG] Window 55ee2d4e1d90 set title to kl@klarch:~ [LOG] Searching for matching rules for kitty (title: systemctl status wallpaper.timer) [LOG] Window 55ee2d4e1d90 set title to systemctl status wallpaper.timer [LOG] Searching for matching rules for kitty (title: ~) [LOG] Window 55ee2d4e1d90 set title to ~ [LOG] Searching for matching rules for kitty (title: kl@klarch:~) [LOG] Window 55ee2d4e1d90 set title to kl@klarch:~ [LOG] Searching for matching rules for kitty (title: /usr/local/bin/bg) [LOG] Window 55ee2d4e1d90 set title to /usr/local/bin/bg [LOG] Searching for matching rules for kitty (title: ~) [LOG] Window 55ee2d4e1d90 set title to ~ [LOG] Searching for matching rules for kitty (title: kl@klarch:~) [LOG] Window 55ee2d4e1d90 set title to kl@klarch:~ [LOG] Searching for matching rules for kitty (title: nano /usr/local/bin/bg) [LOG] Window 55ee2d4e1d90 set title to nano /usr/local/bin/bg [LOG] Searching for matching rules for kitty (title: ~) [LOG] Window 55ee2d4e1d90 set title to ~ [LOG] Searching for matching rules for kitty (title: kl@klarch:~) [LOG] Window 55ee2d4e1d90 set title to kl@klarch:~ [LOG] Window 55ee2d4e1d90 unmapped (class kitty) [LOG] [hookSystem] New hook event registered: closeWindow [LOG] Unregistered late callbacks XDG [LOG] Callback 55ee2d4e1db8 -> 55ee2d4e1db0, XDG Window Late removed. [LOG] Callback 55ee2d4e1f58 -> 55ee2d4e1f50, XDG Window Late removed. [LOG] Callback 55ee2d4e2090 -> 55ee2d4e2088, XDG Window Late removed. [LOG] Callback 55ee2d4e21c8 -> 55ee2d4e21c0, XDG Window Late removed. [LOG] Callback 55ee2d4e2160 -> 55ee2d4e2158, XDG Window Late removed. [LOG] Callback 55ee2d4e20f8 -> 55ee2d4e20f0, XDG Window Late removed. [LOG] Callback 55ee2d4e2230 -> 55ee2d4e2228, XDG Window Late removed. [LOG] Callback 55ee2d4e2028 -> 55ee2d4e2020, XDG Window Late removed. [LOG] Framebuffer created, status 36053 [LOG] On closed window, new focused candidate is 55ee2d5f1310 [LOG] Set keyboard focus to surface 55ee2d5e4a80, with window name: 2305.17173.pdf - Vivaldi [LOG] Destroying the SubSurface tree of unmapped window 55ee2d4e1d90 [LOG] Callback 55ee2d5c78b8 -> 55ee2d5c78b0, SurfaceTreeNode removed. [LOG] Callback 55ee2d5c7920 -> 55ee2d5c7918, SurfaceTreeNode removed. [LOG] Callback 55ee2d5c7850 -> 55ee2d5c7848, SurfaceTreeNode removed. [LOG] SurfaceTree Node removed [LOG] Callback 55ee2d4e23d0 -> 55ee2d4e23c8, Toplevel removed. [LOG] Callback 55ee2d4e2368 -> 55ee2d4e2360, Toplevel removed. [LOG] Callback 55ee2d4e2438 -> 55ee2d4e2430, Toplevel removed. [LOG] Callback 55ee2d4e2510 -> 55ee2d4e2508, CWLSurface removed. [LOG] CWLSurface 55ee2d4e24e0 called destroy() [LOG] Callback 55ee2d4e1e88 -> 55ee2d4e1e80, CWindow removed. [LOG] Window 55ee2d4e1d90 destroyed, queueing. (class ) [LOG] Callback 55ee2d4e1e20 -> 55ee2d4e1e18, XDG Window removed. [LOG] Callback 55ee2d4e1ef0 -> 55ee2d4e1ee8, XDG Window removed. [ERR] onWindowRemovedTiling node null?


</details>

<details>
  <summary>Fourth Crash</summary>

Hyprland Crash Report

Well this is awkward.

Hyprland received signal 6 (Aborted)

Version: 1844e8adadb44199f6d0bf26dc7c0db80c18ddaa

System info: System name: Linux Node name: klarch Release: 6.1.31-1-lts Version: #1 SMP PREEMPT_DYNAMIC Tue, 30 May 2023 14:36:16 +0000

GPU: 0b:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106 [GeForce RTX 3060] [10de:2503] (rev a1) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo

Backtrace:

0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x78e) [0x560094fa263e]

    ??
    ??:0
#1 | Hyprland(_Z25handleUnrecoverableSignali+0x3c) [0x560094f3dd1c]
    ??
    ??:0
#2 | /usr/lib/libc.so.6(+0x39ab0) [0x7fa40d04fab0]
    ??
    ??:0
#3 | /usr/lib/libc.so.6(+0x8926c) [0x7fa40d09f26c]
    ??
    ??:0
#4 | /usr/lib/libc.so.6(gsignal+0x18) [0x7fa40d04fa08]
    ??
    ??:0
#5 | /usr/lib/libc.so.6(abort+0xd7) [0x7fa40d038538]
    ??
    ??:0
#6 | /usr/lib/libc.so.6(+0x2245c) [0x7fa40d03845c]
    ??
    ??:0
#7 | /usr/lib/libc.so.6(+0x323d6) [0x7fa40d0483d6]
    ??
    ??:0
#8 | /usr/lib/libwlroots.so.12032(+0x3b62c) [0x7fa40dcdc62c]
    ??
    ??:0
#9 | /usr/lib/libwlroots.so.12032(wlr_render_texture_with_matrix+0x48) [0x7fa40dcdc678]
    ??
    ??:0
#10 | /usr/lib/libwlroots.so.12032(wlr_output_render_software_cursors+0x2a3) [0x7fa40dd0f6c3]
    ??
    ??:0
#11 | Hyprland(_ZN13CHyprRenderer13renderMonitorEP8CMonitor+0x5cc) [0x56009506237c]
    ??
    ??:0
#12 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x3c) [0x560094fdefcc]
    ??
    ??:0
#13 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7fa40dc5801e]
    ??
    ??:0
#14 | /usr/lib/libwlroots.so.12032(+0x568b8) [0x7fa40dcf78b8]
    ??
    ??:0
#15 | /usr/lib/libdrm.so.2(drmHandleEvent+0xff) [0x7fa40dc279af]
    ??
    ??:0
#16 | /usr/lib/libwlroots.so.12032(+0x59109) [0x7fa40dcfa109]
    ??
    ??:0
#17 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7fa40dc59ae2]
    ??
    ??:0
#18 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7fa40dc5a2d7]
    ??
    ??:0
#19 | Hyprland(main+0x4b4) [0x560094f2e884]
    ??
    ??:0
#20 | /usr/lib/libc.so.6(+0x23850) [0x7fa40d039850]
    ??
    ??:0
#21 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7fa40d03990a]
    ??
    ??:0
#22 | Hyprland(_start+0x25) [0x560094f3dbc5]
    ??
    ??:0

Log tail: [LOG] Registered signal for owner 56009991ef90: 56009991eb50 -> 56009991f060 (owner: CWindow) [LOG] Searching for matching rules for org.kde.okular (title: img.jpg — Okular) [LOG] OPENINGON: 5600997bea60, Workspace: 2, Monitor: 1 [LOG] Set keyboard focus to surface 56009991e660, with window name: img.jpg — Okular [LOG] Window got assigned a surfaceTreeNode 0 [LOG] Registered signal for owner 56009991ef90: 56009991e928 -> 56009991ef90 (owner: XDG Window Late) [LOG] Registered signal for owner 56009991ef90: 56009991ed60 -> 56009991f130 (owner: XDG Window Late) [LOG] Registered signal for owner 56009991ef90: 56009991eb30 -> 56009991f268 (owner: XDG Window Late) [LOG] Registered signal for owner 56009991ef90: 56009991ecf0 -> 56009991f3a0 (owner: XDG Window Late) [LOG] Registered signal for owner 56009991ef90: 56009991ed10 -> 56009991f338 (owner: XDG Window Late) [LOG] Registered signal for owner 56009991ef90: 56009991ed20 -> 56009991f2d0 (owner: XDG Window Late) [LOG] Registered signal for owner 56009991ef90: 56009991ed30 -> 56009991f408 (owner: XDG Window Late) [LOG] Registered signal for owner 56009991ef90: 56009991ed00 -> 56009991f200 (owner: XDG Window Late) [LOG] Registered signal for owner 5600998fd870: 56009991e938 -> 5600998fd8e8 (owner: SurfaceTreeNode) [LOG] Registered signal for owner 5600998fd870: 56009991e928 -> 5600998fd950 (owner: SurfaceTreeNode) [LOG] Registered signal for owner 5600998fd870: 56009991e948 -> 5600998fd9b8 (owner: SurfaceTreeNode) [LOG] Creating a surfaceTree Root! (pWindow: 56009991ef90) [LOG] Map request dispatched, monitor DP-3, xywh: 22.000000 72.000000 931.000000 986.000000 [LOG] Set keyboard focus to surface 5600997cc9e0, with window name: bg - Thunar [LOG] Set keyboard focus to surface 56009991e660, with window name: img.jpg — Okular [LOG] Keybind triggered, calling dispatcher (64, , 99) [LOG] Window 56009991ef90 unmapped (class org.kde.okular) [LOG] [hookSystem] New hook event registered: closeWindow [LOG] Unregistered late callbacks XDG [LOG] Callback 56009991efb8 -> 56009991efb0, XDG Window Late removed. [LOG] Callback 56009991f158 -> 56009991f150, XDG Window Late removed. [LOG] Callback 56009991f290 -> 56009991f288, XDG Window Late removed. [LOG] Callback 56009991f3c8 -> 56009991f3c0, XDG Window Late removed. [LOG] Callback 56009991f360 -> 56009991f358, XDG Window Late removed. [LOG] Callback 56009991f2f8 -> 56009991f2f0, XDG Window Late removed. [LOG] Callback 56009991f430 -> 56009991f428, XDG Window Late removed. [LOG] Callback 56009991f228 -> 56009991f220, XDG Window Late removed. [LOG] Framebuffer created, status 36053 [LOG] On closed window, new focused candidate is 5600997cd5a0 [LOG] Set keyboard focus to surface 5600997cc9e0, with window name: bg - Thunar [LOG] Destroying the SubSurface tree of unmapped window 56009991ef90 [LOG] Callback 5600998fd978 -> 5600998fd970, SurfaceTreeNode removed. [LOG] Callback 5600998fd9e0 -> 5600998fd9d8, SurfaceTreeNode removed. [LOG] Callback 5600998fd910 -> 5600998fd908, SurfaceTreeNode removed. [LOG] SurfaceTree Node removed [LOG] Callback 56009991f5d0 -> 56009991f5c8, Toplevel removed. [LOG] Callback 56009991f568 -> 56009991f560, Toplevel removed. [LOG] Callback 56009991f638 -> 56009991f630, Toplevel removed. [LOG] Callback 56009991f710 -> 56009991f708, CWLSurface removed. [LOG] CWLSurface 56009991f6e0 called destroy() [LOG] Callback 56009991f088 -> 56009991f080, CWindow removed. [LOG] Window 56009991ef90 destroyed, queueing. (class ) [LOG] Callback 56009991f020 -> 56009991f018, XDG Window removed. [LOG] Callback 56009991f0f0 -> 56009991f0e8, XDG Window removed. [ERR] onWindowRemovedTiling node null?


</details>
<details>
  <summary>Fifth Crash</summary>

Hyprland Crash Report

Maybe you should try dusting your PC in the meantime?

Hyprland received signal 6 (Aborted)

Version: 1844e8adadb44199f6d0bf26dc7c0db80c18ddaa

System info: System name: Linux Node name: klarch Release: 6.1.31-1-lts Version: #1 SMP PREEMPT_DYNAMIC Tue, 30 May 2023 14:36:16 +0000

GPU: 0b:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106 [GeForce RTX 3060] [10de:2503] (rev a1) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo

Backtrace:

0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x78e) [0x563357e5d63e]

    ??
    ??:0
#1 | Hyprland(_Z25handleUnrecoverableSignali+0x3c) [0x563357df8d1c]
    ??
    ??:0
#2 | /usr/lib/libc.so.6(+0x39ab0) [0x7f952c24fab0]
    ??
    ??:0
#3 | /usr/lib/libc.so.6(+0x8926c) [0x7f952c29f26c]
    ??
    ??:0
#4 | /usr/lib/libc.so.6(gsignal+0x18) [0x7f952c24fa08]
    ??
    ??:0
#5 | /usr/lib/libc.so.6(abort+0xd7) [0x7f952c238538]
    ??
    ??:0
#6 | /usr/lib/libc.so.6(+0x2245c) [0x7f952c23845c]
    ??
    ??:0
#7 | /usr/lib/libc.so.6(+0x323d6) [0x7f952c2483d6]
    ??
    ??:0
#8 | /usr/lib/libwlroots.so.12032(+0x421f1) [0x7f952ce831f1]
    ??
    ??:0
#9 | /usr/lib/libwlroots.so.12032(+0x40bac) [0x7f952ce81bac]
    ??
    ??:0
#10 | /usr/lib/libwlroots.so.12032(wlr_render_texture_with_matrix+0x48) [0x7f952ce7c678]
    ??
    ??:0
#11 | /usr/lib/libwlroots.so.12032(wlr_output_render_software_cursors+0x2a3) [0x7f952ceaf6c3]
    ??
    ??:0
#12 | Hyprland(_ZN13CHyprRenderer13renderMonitorEP8CMonitor+0x5cc) [0x563357f1d37c]
    ??
    ??:0
#13 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x3c) [0x563357e99fcc]
    ??
    ??:0
#14 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7f952cdf801e]
    ??
    ??:0
#15 | /usr/lib/libwlroots.so.12032(+0x568b8) [0x7f952ce978b8]
    ??
    ??:0
#16 | /usr/lib/libdrm.so.2(drmHandleEvent+0xff) [0x7f952cdc79af]
    ??
    ??:0
#17 | /usr/lib/libwlroots.so.12032(+0x59109) [0x7f952ce9a109]
    ??
    ??:0
#18 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7f952cdf9ae2]
    ??
    ??:0
#19 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f952cdfa2d7]
    ??
    ??:0
#20 | Hyprland(main+0x4b4) [0x563357de9884]
    ??
    ??:0
#21 | /usr/lib/libc.so.6(+0x23850) [0x7f952c239850]
    ??
    ??:0
#22 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f952c23990a]
    ??
    ??:0
#23 | Hyprland(_start+0x25) [0x563357df8bc5]
    ??
    ??:0

Log tail: [LOG] Registered signal for owner 56335bbd1df0: 56335bbccba0 -> 56335bbd23a0 (owner: Toplevel) [LOG] Registered signal for owner 56335bbd2540: 56335bbcb4e8 -> 56335bbd2548 (owner: CWLSurface) [LOG] CWLSurface 56335bbd2540 called init() [LOG] Registered signal for owner 56335bbd1df0: 56335bbcb870 -> 56335bbd1ec0 (owner: CWindow) [LOG] Searching for matching rules for org.kde.okular (title: img.jpg — Okular) [LOG] OPENINGON: 56335bbe3a00, Workspace: 2, Monitor: 1 [LOG] Set keyboard focus to surface 56335bbcb200, with window name: img.jpg — Okular [LOG] Window got assigned a surfaceTreeNode 0 [LOG] Registered signal for owner 56335bbd1df0: 56335bbcb4c8 -> 56335bbd1df0 (owner: XDG Window Late) [LOG] Registered signal for owner 56335bbd1df0: 56335bbd1bc0 -> 56335bbd1f90 (owner: XDG Window Late) [LOG] Registered signal for owner 56335bbd1df0: 56335bbcb850 -> 56335bbd20c8 (owner: XDG Window Late) [LOG] Registered signal for owner 56335bbd1df0: 56335bbd1b50 -> 56335bbd2200 (owner: XDG Window Late) [LOG] Registered signal for owner 56335bbd1df0: 56335bbd1b70 -> 56335bbd2198 (owner: XDG Window Late) [LOG] Registered signal for owner 56335bbd1df0: 56335bbd1b80 -> 56335bbd2130 (owner: XDG Window Late) [LOG] Registered signal for owner 56335bbd1df0: 56335bbd1b90 -> 56335bbd2268 (owner: XDG Window Late) [LOG] Registered signal for owner 56335bbd1df0: 56335bbd1b60 -> 56335bbd2060 (owner: XDG Window Late) [LOG] Registered signal for owner 56335bbccf00: 56335bbcb4d8 -> 56335bbccf78 (owner: SurfaceTreeNode) [LOG] Registered signal for owner 56335bbccf00: 56335bbcb4c8 -> 56335bbccfe0 (owner: SurfaceTreeNode) [LOG] Registered signal for owner 56335bbccf00: 56335bbcb4e8 -> 56335bbcd048 (owner: SurfaceTreeNode) [LOG] Creating a surfaceTree Root! (pWindow: 56335bbd1df0) [LOG] Map request dispatched, monitor DP-3, xywh: 22.000000 72.000000 931.000000 486.000000 [LOG] Keybind triggered, calling dispatcher (64, , 99) [LOG] Window 56335bbd1df0 unmapped (class org.kde.okular) [LOG] Unregistered late callbacks XDG [LOG] Callback 56335bbd1e18 -> 56335bbd1e10, XDG Window Late removed. [LOG] Callback 56335bbd1fb8 -> 56335bbd1fb0, XDG Window Late removed. [LOG] Callback 56335bbd20f0 -> 56335bbd20e8, XDG Window Late removed. [LOG] Callback 56335bbd2228 -> 56335bbd2220, XDG Window Late removed. [LOG] Callback 56335bbd21c0 -> 56335bbd21b8, XDG Window Late removed. [LOG] Callback 56335bbd2158 -> 56335bbd2150, XDG Window Late removed. [LOG] Callback 56335bbd2290 -> 56335bbd2288, XDG Window Late removed. [LOG] Callback 56335bbd2088 -> 56335bbd2080, XDG Window Late removed. [LOG] Framebuffer created, status 36053 [LOG] On closed window, new focused candidate is 56335bc14bb0 [LOG] Set keyboard focus to surface 56335bc13ff0, with window name: bg - Thunar [LOG] Destroying the SubSurface tree of unmapped window 56335bbd1df0 [LOG] Callback 56335bbcd008 -> 56335bbcd000, SurfaceTreeNode removed. [LOG] Callback 56335bbcd070 -> 56335bbcd068, SurfaceTreeNode removed. [LOG] Callback 56335bbccfa0 -> 56335bbccf98, SurfaceTreeNode removed. [LOG] SurfaceTree Node removed [LOG] Callback 56335bbd2430 -> 56335bbd2428, Toplevel removed. [LOG] Callback 56335bbd23c8 -> 56335bbd23c0, Toplevel removed. [LOG] Callback 56335bbd2498 -> 56335bbd2490, Toplevel removed. [LOG] Callback 56335bbd2570 -> 56335bbd2568, CWLSurface removed. [LOG] CWLSurface 56335bbd2540 called destroy() [LOG] Callback 56335bbd1ee8 -> 56335bbd1ee0, CWindow removed. [LOG] Window 56335bbd1df0 destroyed, queueing. (class ) [LOG] Callback 56335bbd1e80 -> 56335bbd1e78, XDG Window removed. [LOG] Callback 56335bbd1f50 -> 56335bbd1f48, XDG Window removed. [ERR] onWindowRemovedTiling node null?



</details>
Fxzzi commented 1 year ago

also getting this, just switch to hyprland-nvidia for now whilst you wait for a fix. This is very likely caused by the wlroots version bump

vaxerski commented 1 year ago

can't repro, can you get me a crash report with hl launched with HYPRLAND_LOG_WLR=1?

kabeleh commented 1 year ago

Sure:

--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
*thud*

Hyprland received signal 6 (Aborted)

Version: 1844e8adadb44199f6d0bf26dc7c0db80c18ddaa

System info:
    System name: Linux
    Node name: klarch
    Release: 6.1.31-1-lts
    Version: #1 SMP PREEMPT_DYNAMIC Tue, 30 May 2023 14:36:16 +0000

GPU:
    0b:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106 [GeForce RTX 3060] [10de:2503] (rev a1) (prog-if 00 [VGA controller])

os-release:
    NAME="Arch Linux"
    PRETTY_NAME="Arch Linux"
    ID=arch
    BUILD_ID=rolling
    ANSI_COLOR="38;2;23;147;209"
    HOME_URL="https://archlinux.org/"
    DOCUMENTATION_URL="https://wiki.archlinux.org/"
    SUPPORT_URL="https://bbs.archlinux.org/"
    BUG_REPORT_URL="https://bugs.archlinux.org/"
    PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
    LOGO=archlinux-logo

Backtrace:
    #0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x78e) [0x556b2e92263e]
        ??
        ??:0
    #1 | Hyprland(_Z25handleUnrecoverableSignali+0x3c) [0x556b2e8bdd1c]
        ??
        ??:0
    #2 | /usr/lib/libc.so.6(+0x39ab0) [0x7fe40082aab0]
        ??
        ??:0
    #3 | /usr/lib/libc.so.6(+0x8926c) [0x7fe40087a26c]
        ??
        ??:0
    #4 | /usr/lib/libc.so.6(gsignal+0x18) [0x7fe40082aa08]
        ??
        ??:0
    #5 | /usr/lib/libc.so.6(abort+0xd7) [0x7fe400813538]
        ??
        ??:0
    #6 | /usr/lib/libc.so.6(+0x2245c) [0x7fe40081345c]
        ??
        ??:0
    #7 | /usr/lib/libc.so.6(+0x323d6) [0x7fe4008233d6]
        ??
        ??:0
    #8 | /usr/lib/libwlroots.so.12032(+0x421f1) [0x7fe4014331f1]
        ??
        ??:0
    #9 | /usr/lib/libwlroots.so.12032(+0x40bac) [0x7fe401431bac]
        ??
        ??:0
    #10 | /usr/lib/libwlroots.so.12032(wlr_render_texture_with_matrix+0x48) [0x7fe40142c678]
        ??
        ??:0
    #11 | /usr/lib/libwlroots.so.12032(wlr_output_render_software_cursors+0x2a3) [0x7fe40145f6c3]
        ??
        ??:0
    #12 | Hyprland(_ZN13CHyprRenderer13renderMonitorEP8CMonitor+0x5cc) [0x556b2e9e237c]
        ??
        ??:0
    #13 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x3c) [0x556b2e95efcc]
        ??
        ??:0
    #14 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7fe4013a801e]
        ??
        ??:0
    #15 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch_idle+0x23) [0x7fe4013a9a23]
        ??
        ??:0
    #16 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xfd) [0x7fe4013a9b3d]
        ??
        ??:0
    #17 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7fe4013aa2d7]
        ??
        ??:0
    #18 | Hyprland(main+0x4b4) [0x556b2e8ae884]
        ??
        ??:0
    #19 | /usr/lib/libc.so.6(+0x23850) [0x7fe400814850]
        ??
        ??:0
    #20 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7fe40081490a]
        ??
        ??:0
    #21 | Hyprland(_start+0x25) [0x556b2e8bdbc5]
        ??
        ??:0

Log tail:
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'HDMI-A-1'
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'DP-3'
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'HDMI-A-1'
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'DP-3'
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'HDMI-A-1'
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'DP-3'
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'HDMI-A-1'
[wlr] [types/wlr_text_input_v3.c:185] Text input commit received without focus
[wlr] [types/wlr_text_input_v3.c:185] Text input commit received without focus
[wlr] [types/wlr_text_input_v3.c:185] Text input commit received without focus
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'DP-3'
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'HDMI-A-1'
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'DP-3'
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'HDMI-A-1'
[wlr] [types/wlr_text_input_v3.c:185] Text input commit received without focus
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'DP-3'
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'HDMI-A-1'
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'DP-3'
[wlr] [types/output/cursor.c:464] Falling back to software cursor on output 'HDMI-A-1'
[LOG] Keybind triggered, calling dispatcher (64, , 99)
[LOG] Window 556b331358a0 unmapped (class kitty)
[LOG]  [hookSystem] New hook event registered: closeWindow
[LOG] Unregistered late callbacks XDG
[LOG] Callback 556b331358c8 -> 556b331358c0, XDG Window Late removed.
[LOG] Callback 556b33135a68 -> 556b33135a60, XDG Window Late removed.
[LOG] Callback 556b33135ba0 -> 556b33135b98, XDG Window Late removed.
[LOG] Callback 556b33135cd8 -> 556b33135cd0, XDG Window Late removed.
[LOG] Callback 556b33135c70 -> 556b33135c68, XDG Window Late removed.
[LOG] Callback 556b33135c08 -> 556b33135c00, XDG Window Late removed.
[LOG] Callback 556b33135d40 -> 556b33135d38, XDG Window Late removed.
[LOG] Callback 556b33135b38 -> 556b33135b30, XDG Window Late removed.
[LOG] Framebuffer created, status 36053
[LOG] On closed window, new focused candidate is 556b33227ae0
[LOG] Set keyboard focus to surface 556b33225740, with window name: Crash on Window Close · Issue #2404 · hyprwm/Hyprland - Vivaldi
[LOG] Destroying the SubSurface tree of unmapped window 556b331358a0
[LOG] Callback 556b332013b8 -> 556b332013b0, SurfaceTreeNode removed.
[LOG] Callback 556b33201420 -> 556b33201418, SurfaceTreeNode removed.
[LOG] Callback 556b33201350 -> 556b33201348, SurfaceTreeNode removed.
[LOG] SurfaceTree Node removed
[LOG] Callback 556b33135ee0 -> 556b33135ed8, Toplevel removed.
[LOG] Callback 556b33135e78 -> 556b33135e70, Toplevel removed.
[LOG] Callback 556b33135f48 -> 556b33135f40, Toplevel removed.
[LOG] Callback 556b33136020 -> 556b33136018, CWLSurface removed.
[LOG] CWLSurface 556b33135ff0 called destroy()
[LOG] Callback 556b33135998 -> 556b33135990, CWindow removed.
[LOG] Window 556b331358a0 destroyed, queueing. (class )
[LOG] Callback 556b33135930 -> 556b33135928, XDG Window removed.
[LOG] Callback 556b33135a00 -> 556b331359f8, XDG Window removed.
[ERR] onWindowRemovedTiling node null?
[wlr] [GLES2] Program/shader state performance warning: Vertex shader in program 16 is being recompiled based on GL state.
vaxerski commented 1 year ago

can you force wlroots to 95062904c7acc38d2175744ceda399c5b5a12adf and try that?

vaxerski commented 1 year ago

also worth trying regular hyprland without the nvidia patches, so far both of you seem to be using them. Patches prevent flashing and allow screencopy, and running hl without them should work in general, it might be the patches.

Fxzzi commented 1 year ago

force wlroots to 95062904c7acc38d2175744ceda399c5b5a12adf

tried adding git reset --hard 95062904c7acc38d2175744ceda399c5b5a12adf to the PKGBUILD, but I'm retarded and did it wrong lol

regular hyprland without the nvidia patches

just tried hyprland-git, and it seems the same issue occurs there too

vaxerski commented 1 year ago

cd subprojects/wlroots && git reset --hard 95062904c7acc38d2175744ceda399c5b5a12adf && cd ../.. before any make cmds and it should work

Fxzzi commented 1 year ago

cd subprojects/wlroots && git reset --hard 95062904c7acc38d2175744ceda399c5b5a12adf && cd ../.. before any make cmds and it should work

ah yea, I forgot to cd back LOL

Just tried it, sadly it's still happening. I can grab another log for you if you need?

edit: here's the log https://paste.rs/R2CZG

vaxerski commented 1 year ago

try b03f71fe5f65c57827bf01b90217879dc2779a5e for wlr then

Fxzzi commented 1 year ago

try b03f71fe5f65c57827bf01b90217879dc2779a5e

that seems to have worked, guess it's something in a later commit then.

skulwicki commented 1 year ago

@vaxerski Not sure if you've already bisected this or not but I found this issue starts at wlroots hash 47a250ae12008035ee42008b3a8b426e9b96fe11.

skulwicki commented 1 year ago

I should also mention that I've been most successful with reproducing this when either trying to use rofi by causing the rofi launcher to disappear either by dismissing it outright or launching a program to dismiss it. I've also gotten it to happen with kitty only when multiple instances are open and the cursor is hovering over the active instance window.

vaxerski commented 1 year ago

looks like a wlr issue tbf, should open an issue there

vaxerski commented 1 year ago

if someone can open an issue there for me and attach the crash report and info it'd be great I can't atm. Link it here and I'll be following it over there.

kabeleh commented 1 year ago

https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3652

vaxerski commented 1 year ago

simon asked you for a debug build, here's how to do that:

git clone https://github.com/hyprwm/hyprland --recursive
cd hyprland
sudo make configdebug
make debug

run output binary in ./build/Hyprland

Fxzzi commented 1 year ago

I'm getting a ninja: error: '~/.local/packages/hyprland/subprojects/udis86/build/libudis86/liblibudis86.a', needed by 'Hyprland', missing and no known rule to make it on the make debug command.

edit: figured it out: https://paste.rs/9mAFm

vaxerski commented 1 year ago

still stripped, you dont seem to have ran sudo make configdebug

As long as there are ??:0 ?? everywhere you have not done it right

Also remember make debug doesnt install, only builds to build/

Fxzzi commented 1 year ago

I think I've got it now:
Screenshot from 01 06 23 15:49:05

However no log is being made in ~/.cache/hyprland. I guess I did do it right but the log just didn't produce so I sent the wrong one

Is it supposed to use ~/.config/hypr/hyprlandd.conf?

vaxerski commented 1 year ago

oh, uhm... Yes, generally, yeah. Also yes, hyprlandd.conf

Uhm, see the issue guidelines page, there is an ASAN envvar there. Launch hl with it, it might produce a file called asan.log.xxxx with xxxx being some number in the cwd, if that happens, send that

vaxerski commented 1 year ago

ASAN_OPTIONS="log_path=asan.log"

vaxerski commented 1 year ago

Okay, I've made ASan optional in debug. Pull and recompile in debug (with make configdebug), and hl should provide a crash report.

Fxzzi commented 1 year ago

ASAN_OPTIONS="log_path=asan.log"

how's this? https://paste.rs/ILcmn

Pull and recompile in debug (with make configdebug), and hl should provide a crash report

now that I've gotten it I shouldn't need to do this, right?

vaxerski commented 1 year ago

this paste should be of great help for simon, post it there

Fxzzi commented 1 year ago

this paste should be of great help for simon, post it there

done :) thanks for the help vax

Fxzzi commented 1 year ago

Also, another update, I tested the commit just before @skulwicki said it started happening (e6fc5d1e499e7bfd8862f06583aee6323574f957)

It seems Hyprland does not crash when closing rofi, however it still crashes when having more than one kitty window open, and closing the active one whilst hovering over it. This leads me to believe these may be two separate issues that just happened to coincide.

vaxerski commented 1 year ago

cursor size tracked @ https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3653

vaxerski commented 1 year ago

fixed crash with 6ba8310c136e775683703196d62444dab430cf45

vaxerski commented 1 year ago

cursor fixed with 147e962370069e6e3ec8054ef4243fc3fd69c9e8