hyprwm / Hyprland

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

Hyprland crash: events/Windows.cpp #6601

Closed khaneliman closed 4 days ago

khaneliman commented 1 week ago

Regression?

No

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit c1e21719a2fff2fa9549f00053ac40173da54af9 (). Date: 2024-06-19 Tag: , commits: c1e21719a2fff2fa9549f00053ac40173da54af9 flags: (if any) System Information: System name: Linux Node name: khanelinix Release: 6.9.4 Version: #1-NixOS SMP PREEMPT_DYNAMIC Wed Jun 12 09:39:59 UTC 2024 GPU information: 05:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3080] [10de:2206] (rev a1) (prog-if 00 [VGA controller]) 0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:744c] (rev c8) (prog-if 00 [VGA controller]) os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.11.20240616.b60ebf5" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos IMAGE_ID="" IMAGE_VERSION="" LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.11 (Vicuna)" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.11 (Vicuna)" VERSION_CODENAME=vicuna VERSION_ID="24.11" plugins: ======Config-Start====== Config File: /home/khaneliman/.config/hypr/hyprlandd.conf: Read Succeeded exec-once = /nix/store/y29cbwfiwb9nyi4db4apk9dgylzdjm1v-dbus-1.14.10/bin/dbus-update-activation-environment --systemd --all && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target source=/nix/store/8a39xfxfq78r0fsq34cda4l522gwpmdb-source/themes/macchiato.conf source=/nix/store/f3pglvgsrhv4wljsrjn6v8rjai000xpb-hyprland-blue-accent.conf source=/nix/store/aan4vsxbqpg5y6l6nyqw91hk217sbnpq-hyprland-cursors.conf exec=/nix/store/w141cbf1p9mcyp7vqv6a4fw4hm093qb5-libnotify-0.8.3/bin/notify-send --icon ~/.face -u normal "Hello $(whoami)" exec-once=/nix/store/b1vavi2larbky6ca2bmvbka8j4grsz0l-firefox-127.0/bin/firefox exec-once=/nix/store/ynpvzqdm6qdq8r943yhj5vw83jxl9cvx-steam/bin/steam exec-once=/nix/store/z9gx0adcc0wa4bwdy1cifn7i0vvnxarc-discord-0.0.56/bin/Discord exec-once=/nix/store/c8yp6mxpc10jpbvd057v8k6rhc1klwwk-thunderbird-115.12.0/bin/thunderbird exec-once=/nix/store/0sh7fc1vcffyxvcy05z2pqrpqaws7sfp-openrgb-0.9/bin/openrgb --startminimized --profile default exec-once=/nix/store/58yl6f5j694yzsv8kaz6p8k8zjdk9xwa-1password-8.10.33/bin/1password --silent exec-once = hyprctl setcursor catppuccin-macchiato-blue-cursors 32 $ALT-HYPER=SHIFT_ALT_CTRL $HYPER=SUPER_SHIFT_CTRL $LHYPER=SUPER_ALT_L_CTRL_L $RHYPER=SUPER_ALT_R_CTRL_R $browser=/nix/store/b1vavi2larbky6ca2bmvbka8j4grsz0l-firefox-127.0/bin/firefox $cliphist=/nix/store/8z6fgys3nzsq1frkwla7ih02dymamvkg-cliphist-0.5.0/bin/cliphist list | anyrun --show-results-immediately true | /nix/store/8z6fgys3nzsq1frkwla7ih02dymamvkg-cliphist-0.5.0/bin/cliphist decode | /nix/store/rz3aa1rdbfqd4dhhrib3hs2kkmnk5cjw-wl-clipboard-+4f20741/bin/wl-copy $color_picker=/nix/store/77x3q864sp34kdk5pj029l6jgc2k4xp0-hyprpicker-0.3.0/bin/hyprpicker -a && (/nix/store/24z8y0s57hq6wa1903a8vmb8zq078glp-imagemagick-7.1.1-32/bin/convert -size 32x32 xc:$(/nix/store/rz3aa1rdbfqd4dhhrib3hs2kkmnk5cjw-wl-clipboard-+4f20741/bin/wl-paste) /tmp/color.png && /nix/store/w141cbf1p9mcyp7vqv6a4fw4hm093qb5-libnotify-0.8.3/bin/notify-send "Color Code:" "$(/nix/store/rz3aa1rdbfqd4dhhrib3hs2kkmnk5cjw-wl-clipboard-+4f20741/bin/wl-paste)" -h "string:bgcolor:$(/nix/store/rz3aa1rdbfqd4dhhrib3hs2kkmnk5cjw-wl-clipboard-+4f20741/bin/wl-paste)" --icon /tmp/color.png -u critical -t 4000) $editor=/nix/store/wv8sifkxz08klx563vsyqfm000gsk34i-neovim-0.10.0/bin/nvim $explorer=/nix/store/g49gxnr7jjyfday4r8d6szlqcna753b4-thunar-4.18.10/bin/thunar $grimblast_active_clipboard=/nix/store/3rr72j7yi1fqqdjk29jwhrhnmrb9f0nv-grimblast-0.1/bin/grimblast --notify copy active $grimblast_active_file=file="/home/khaneliman/Pictures/screenshots/$(/nix/store/6ihrva79zhgxh7zsqhs5wkvsj9n4ka7q-getDateTime/bin/getDateTime).png" && /nix/store/3rr72j7yi1fqqdjk29jwhrhnmrb9f0nv-grimblast-0.1/bin/grimblast --notify save active "$file" $grimblast_active_swappy=/nix/store/3rr72j7yi1fqqdjk29jwhrhnmrb9f0nv-grimblast-0.1/bin/grimblast save active - | /nix/store/dzv5jyddb365g7xm32cdcvd64kw9b4p1-swappy-1.5.1/bin/swappy -f - $grimblast_area_clipboard=/nix/store/3rr72j7yi1fqqdjk29jwhrhnmrb9f0nv-grimblast-0.1/bin/grimblast --freeze --notify copy area $grimblast_area_file=file="/home/khaneliman/Pictures/screenshots/$(/nix/store/6ihrva79zhgxh7zsqhs5wkvsj9n4ka7q-getDateTime/bin/getDateTime).png" && /nix/store/3rr72j7yi1fqqdjk29jwhrhnmrb9f0nv-grimblast-0.1/bin/grimblast --freeze --notify save area "$file" $grimblast_area_swappy=/nix/store/3rr72j7yi1fqqdjk29jwhrhnmrb9f0nv-grimblast-0.1/bin/grimblast --freeze save area - | /nix/store/dzv5jyddb365g7xm32cdcvd64kw9b4p1-swappy-1.5.1/bin/swappy -f - $grimblast_screen_clipboard=/nix/store/3rr72j7yi1fqqdjk29jwhrhnmrb9f0nv-grimblast-0.1/bin/grimblast --notify copy screen $grimblast_screen_file=file="/home/khaneliman/Pictures/screenshots/$(/nix/store/6ihrva79zhgxh7zsqhs5wkvsj9n4ka7q-getDateTime/bin/getDateTime).png" && /nix/store/3rr72j7yi1fqqdjk29jwhrhnmrb9f0nv-grimblast-0.1/bin/grimblast --notify save screen "$file" $grimblast_screen_swappy=/nix/store/3rr72j7yi1fqqdjk29jwhrhnmrb9f0nv-grimblast-0.1/bin/grimblast save screen - | /nix/store/dzv5jyddb365g7xm32cdcvd64kw9b4p1-swappy-1.5.1/bin/swappy -f - $launcher=anyrun $looking-glass=/nix/store/jacm5shl97xzsq5iah0n82ynyim24i8n-looking-glass-client-B7-rc1/bin/looking-glass-client $mail=/nix/store/c8yp6mxpc10jpbvd057v8k6rhc1klwwk-thunderbird-115.12.0/bin/thunderbird $mainMod=SUPER $music=/nix/store/g19dxknibhvkbaglbjw5m5g3ci7sh8w4-spotify-1.2.31.1205.g4d59ad7c/bin/spotify $notification_center=/nix/store/rmkpfkc2s3l91kn9xk42znb4yysfr3ip-SwayNotificationCenter-0.10.1/bin/swaync-client $notify-screenshot=/nix/store/w141cbf1p9mcyp7vqv6a4fw4hm093qb5-libnotify-0.8.3/bin/notify-send --icon "$file" "Screenshot Saved" $screen-locker=/nix/store/98609xwf6xh2kmqsqmr3nv339bfc3xyz-hyprlock-0.pre+date=2024-06-08_c5b8ad0/bin/hyprlock $screen-recorder=/nix/store/b0sv25n3z1mj23fwc886vgqmp3rwrz14-record_screen/bin/record_screen $screenshot-path=/home/khaneliman/Pictures/screenshots $term=/nix/store/2bgpizcvw1fnvrb9zrmkznkh56jvlw0s-kitty-0.35.1/bin/kitty $window-inspector=/nix/store/m71jr1bq2s56wcx2504kknpqv08v1clw-hyprprop-0.1/bin/hyprprop animations { bezier=easein, 0.47, 0, 0.745, 0.715 bezier=myBezier, 0.05, 0.9, 0.1, 1.05 bezier=overshot, 0.13, 0.99, 0.29, 1.1 bezier=scurve, 0.98, 0.01, 0.02, 0.98 animation=border, 1, 10, default animation=fade, 1, 10, default animation=windows, 1, 5, overshot, popin 10% animation=windowsOut, 1, 7, default, popin 10% animation=workspaces, 1, 6, overshot, slide enabled=yes first_launch_animation=true } debug { colored_stdout_logs=true disable_logs=false enable_stdout_logs=true } decoration { blur { enabled=yes passes=4 size=5 } active_opacity=0.950000 col.shadow=0x55161925 col.shadow_inactive=0x22161925 drop_shadow=true fullscreen_opacity=1.000000 inactive_opacity=0.900000 rounding=10 shadow_ignore_window=true shadow_range=20 shadow_render_power=3 } dwindle { no_gaps_when_only=false preserve_split=true pseudotile=false special_scale_factor=0.900000 } general { allow_tearing=true border_size=2 col.active_border=rgba(7793D1FF) col.inactive_border=rgb(5e6798) gaps_in=5 gaps_out=20 layout=dwindle } gestures { workspace_swipe=true workspace_swipe_fingers=3 workspace_swipe_invert=false } group { groupbar { font_size=14 gradients=false render_titles=false scrolling=true } col.border_active=rgba(88888888) col.border_inactive=rgba(00000088) focus_removed_window=true insert_after_current=true } input { touchpad { disable_while_typing=true natural_scroll=no tap-to-click=true } follow_mouse=1 kb_layout=us numlock_by_default=true scroll_factor=1.000000 sensitivity=0 } master { new_status=master } misc { allow_session_lock_restore=true disable_hyprland_logo=true enable_swallow=true key_press_enables_dpms=true mouse_move_enables_dpms=true swallow_regex=foot|thunar|nemo|wezterm vrr=2 } xwayland { force_zero_scaling=true } bind=$mainMod, SPACE, exec, run-as-service $($launcher) bind=CTRL, SPACE, exec, run-as-service $($launcher) bind=$mainMod, RETURN, exec, $term bind=SUPER_SHIFT, RETURN, exec, $term zellij bind=SUPER_SHIFT, P, exec, $color_picker bind=$mainMod, B, exec, $browser bind=SUPER_SHIFT, E, exec, $explorer bind=$mainMod, E, exec, $term yazi bind=$mainMod, L, exec, $screen-locker --immediate bind=$mainMod, T, exec, $term btop bind=$mainMod, N, exec, $notification_center -t -sw bind=$mainMod, V, exec, $cliphist bind=$mainMod, W, exec, $looking-glass bind=$mainMod, I, exec, /nix/store/w141cbf1p9mcyp7vqv6a4fw4hm093qb5-libnotify-0.8.3/bin/notify-send "$($window-inspector)" bind=$mainMod, Q, killactive, bind=CTRL_SHIFT, Q, killactive, bind=, Print, exec, $grimblast_active_file bind=SHIFT, Print, exec, $grimblast_area_file bind=SUPER, Print, exec, $grimblast_screen_file bind=ALT, Print, exec, $grimblast_active_swappy bind=ALT_CTRL, Print, exec, $grimblast_area_swappy bind=ALT_SUPER, Print, exec, $grimblast_screen_swappy bind=CTRL, Print, exec, $grimblast_active_clipboard bind=CTRL_SHIFT, Print, exec, $grimblast_area_clipboard bind=SUPER_CTRL, Print, exec, $grimblast_screen_clipboard bind=SUPER_CTRLALT, Print, exec, $screen-recorder screen bind=SUPER_CTRLALTSHIFT, Print, exec, $screen-recorder area bind=SUPER_ALT, V, togglefloating, bind=$mainMod, P, pseudo, # dwindle bind=$mainMod, J, togglesplit, # dwindle bind=$mainMod, F, fullscreen bind=ALT,left,movefocus,l bind=ALT,right,movefocus,r bind=ALT,up,movefocus,u bind=ALT,down,movefocus,d bind=SUPER,left,movewindow,l bind=SUPER,right,movewindow,r bind=SUPER,up,movewindow,u bind=SUPER,down,movewindow,d bind=CTRL_SHIFT,h,resizeactive,-10% 0 bind=CTRL_SHIFT,l,resizeactive,10% 0 bind=CTRL_ALT, right, workspace, +1 bind=CTRL_ALT, l, workspace, +1 bind=CTRL_ALT, left, workspace, -1 bind=CTRL_ALT, h, workspace, -1 bind=CTRL_ALT, mouse_down, workspace, e+1 bind=CTRL_ALT, mouse_up, workspace, e-1 bind=$ALT-HYPER, right, movetoworkspace, +1 bind=$ALT-HYPER, l, movetoworkspace, +1 bind=$ALT-HYPER, left, movetoworkspace, -1 bind=$ALT-HYPER, h, movetoworkspace, -1 bind=SUPER_SHIFT, right, movetoworkspacesilent, +1 bind=SUPER_SHIFT, l, movetoworkspacesilent, +1 bind=SUPER_SHIFT, left, movetoworkspacesilent, -1 bind=SUPER_SHIFT, h, movetoworkspacesilent, -1 bind=SUPER_SHIFT,grave,movetoworkspace,special:scratchpad bind=SUPER,grave,togglespecialworkspace,scratchpad bind=ALT_SHIFT,grave,movetoworkspace,special:inactive bind=ALT,grave,togglespecialworkspace,inactive bind=SUPER_ALT, up, focusmonitor, u bind=SUPER_ALT, k, focusmonitor, u bind=SUPER_ALT, down, focusmonitor, d bind=SUPER_ALT, j, focusmonitor, d bind=SUPER_ALT, left, focusmonitor, l bind=SUPER_ALT, h, focusmonitor, l bind=SUPER_ALT, right, focusmonitor, r bind=SUPER_ALT, l, focusmonitor, r bind=$HYPER,down,movecurrentworkspacetomonitor,d bind=$HYPER,j,movecurrentworkspacetomonitor,d bind=$HYPER,up,movecurrentworkspacetomonitor,u bind=$HYPER,k,movecurrentworkspacetomonitor,u bind=$HYPER,left,movecurrentworkspacetomonitor,l bind=$HYPER,h,movecurrentworkspacetomonitor,l bind=$HYPER,right,movecurrentworkspacetomonitor,r bind=$HYPER,l,movecurrentworkspacetomonitor,r bind=$CTRL_ALT, 1, workspace, 1 bind=$CTRL_ALT_SUPER, 1, movetoworkspace, 1 bind=$SUPER_SHIFT, 1, movetoworkspacesilent, 1 bind=$CTRL_ALT, 2, workspace, 2 bind=$CTRL_ALT_SUPER, 2, movetoworkspace, 2 bind=$SUPER_SHIFT, 2, movetoworkspacesilent, 2 bind=$CTRL_ALT, 3, workspace, 3 bind=$CTRL_ALT_SUPER, 3, movetoworkspace, 3 bind=$SUPER_SHIFT, 3, movetoworkspacesilent, 3 bind=$CTRL_ALT, 4, workspace, 4 bind=$CTRL_ALT_SUPER, 4, movetoworkspace, 4 bind=$SUPER_SHIFT, 4, movetoworkspacesilent, 4 bind=$CTRL_ALT, 5, workspace, 5 bind=$CTRL_ALT_SUPER, 5, movetoworkspace, 5 bind=$SUPER_SHIFT, 5, movetoworkspacesilent, 5 bind=$CTRL_ALT, 6, workspace, 6 bind=$CTRL_ALT_SUPER, 6, movetoworkspace, 6 bind=$SUPER_SHIFT, 6, movetoworkspacesilent, 6 bind=$CTRL_ALT, 7, workspace, 7 bind=$CTRL_ALT_SUPER, 7, movetoworkspace, 7 bind=$SUPER_SHIFT, 7, movetoworkspacesilent, 7 bind=$CTRL_ALT, 8, workspace, 8 bind=$CTRL_ALT_SUPER, 8, movetoworkspace, 8 bind=$SUPER_SHIFT, 8, movetoworkspacesilent, 8 bind=$CTRL_ALT, 9, workspace, 9 bind=$CTRL_ALT_SUPER, 9, movetoworkspace, 9 bind=$SUPER_SHIFT, 9, movetoworkspacesilent, 9 bind=$CTRL_ALT, 0, workspace, 10 bind=$CTRL_ALT_SUPER, 0, movetoworkspace, 10 bind=$SUPER_SHIFT, 0, movetoworkspacesilent, 10 bindl=$mainMod, BackSpace, exec, pkill -SIGUSR1 hyprlock || WAYLAND_DISPLAY=wayland-1 $screen-locker --immediate bindl=$LHYPER, L, exec, systemctl --user exit bindl=$LHYPER, L, exit, bindl=$RHYPER, R, exec, reboot bindl=$RHYPER, P, exec, shutdown bindl=,XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 2.5%+ bindl=,XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 2.5%- bindl=,XF86AudioMute,exec,wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bindl=,XF86MonBrightnessUp,exec,light -A 5 bindl=,XF86MonBrightnessDown,exec,light -U 5 bindl=,XF86AudioMedia,exec,/nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl play-pause bindl=,XF86AudioPlay,exec,/nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl play-pause bindl=,XF86AudioStop,exec,/nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl stop bindl=,XF86AudioPrev,exec,/nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl previous bindl=,XF86AudioNext,exec,/nix/store/gwq9wkd1fd0srg1xchffg0h6zd7ga0qk-playerctl-2.4.1/bin/playerctl next bindm=$mainMod, mouse:272, movewindow #left click bindm=CTRL_SHIFT, mouse:272, movewindow #left click bindm=$mainMod, mouse:273, resizewindow #right click bindm=CTRL_SHIFT, mouse:273, resizewindow #right click windowrulev2=float, class:Rofi windowrulev2=float, class:viewnior windowrulev2=float, class:feh windowrulev2=float, class:wlogout windowrulev2=float, class:file_progress windowrulev2=float, class:confirm windowrulev2=float, class:dialog windowrulev2=float, class:download windowrulev2=float, class:notification windowrulev2=float, class:error windowrulev2=float, class:splash windowrulev2=float, class:confirmreset windowrulev2=float, class:org.kde.polkit-kde-authentication-agent-1 windowrulev2=float, class:^(wdisplays)$ windowrulev2=size 1100 600, class:^(wdisplays)$ windowrulev2=float, class:^(blueman-manager)$ windowrulev2=float, class:^(nm-connection-editor)$ windowrulev2=float, title:^(floatterm)$ windowrulev2=size 1100 600, title:^(floatterm)$ windowrulev2=move center, title:^(floatterm)$ windowrulev2=animation slide, title:^(floatterm)$ windowrulev2=float, class:^(thunderbird)$,title:.*(Reminders)$ windowrulev2=size 1100 600, class:^(thunderbird)$,title:.*(Reminders)$ windowrulev2=move 78% 6%, class:^(thunderbird)$,title:.*(Reminders)$ windowrulev2=pin, class:^(thunderbird)$,title:.*(Reminders)$ windowrulev2=float, class:^(thunar)$,title:^(File Operation Progress)$ windowrulev2=size 800 600, class:^(thunar)$,title:^(File Operation Progress)$ windowrulev2=move 78% 6%, class:^(thunar)$,title:^(File Operation Progress)$ windowrulev2=pin, class:^(thunar)$,title:^(File Operation Progress)$ windowrulev2=size 1000 1330, class:^(virt-manager)$, title:^(Virtual Machine Manager)$ windowrulev2=float, class:^(virt-manager)$, title:^(Virtual Machine Manager)$ windowrulev2=move 80% 6%, class:^(virt-manager)$, title:^(Virtual Machine Manager)$ windowrulev2=float, class:^(looking-glass-client)$ windowrulev2=size 2360 1330, class:^(looking-glass-client)$ windowrulev2=move 25% 6%, class:^(looking-glass-client)$ windowrulev2=float, class:^(virt-manager)$, title:^.*(on QEMU/KVM)$ windowrulev2=size 2360 1330, class:^(virt-manager)$, title:^.*(on QEMU/KVM)$ windowrulev2=move 25% 6%, class:^(virt-manager)$, title:^.*(on QEMU/KVM)$ windowrulev2=float, class:^(qemu)$ windowrulev2=size 2360 1330, class:^(qemu)$ windowrulev2=move 25% 6%, class:^(qemu)$ windowrulev2=float, title:^(Picture-in-Picture)$ windowrulev2=pin, title:^(Picture-in-Picture)$ windowrulev2=rounding 0, xwayland:1, floating:1 windowrulev2=center, class:^(.*jetbrains.*)$, title:^(Confirm Exit|Open Project|win424|win201|splash)$ windowrulev2=size 640 400, class:^(.*jetbrains.*)$, title:^(splash)$ windowrulev2=opaque, class:^(virt-manager)$,title:.*(on QEMU).* windowrulev2=opaque, class:^(looking-glass-client)$ windowrulev2=opaque, title:^(.*(Twitch|TNTdrama|YouTube|Bally Sports|Video Entertainment|Plex)).*(Firefox).*$ windowrulev2=dimaround, class:^(gcr-prompter)$ windowrulev2=bordercolor rgba(ed8796FF), class:org.kde.polkit-kde-authentication-agent-1 windowrulev2=dimaround, class:org.kde.polkit-kde-authentication-agent-1 windowrulev2=stayfocused, class:org.kde.polkit-kde-authentication-agent-1 windowrulev2=stayfocused, class:Rofi windowrulev2=nofocus, class:^(steam)$, title:^()$ windowrulev2=idleinhibit focus, class:^(steam_app).* windowrulev2=idleinhibit focus, class:^(gamescope).* windowrulev2=idleinhibit focus, class:.*(cemu|yuzu|Ryujinx|emulationstation|retroarch).* windowrulev2=idleinhibit fullscreen, title:.*(cemu|yuzu|Ryujinx|emulationstation|retroarch).* windowrulev2=idleinhibit fullscreen, title:^(.*(Twitch|TNTdrama|YouTube|Bally Sports|Video Entertainment|Plex)).*(Firefox).*$ windowrulev2=idleinhibit focus, title:^(.*(Twitch|TNTdrama|YouTube|Bally Sports|Video Entertainment|Plex)).*(Firefox).*$ windowrulev2=idleinhibit focus, class:^(mpv|.+exe)$ windowrulev2=immediate, class:^(gamescope|steam_app).* windowrulev2=opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ windowrulev2=noanim,class:^(xwaylandvideobridge)$ windowrulev2=noinitialfocus,class:^(xwaylandvideobridge)$ windowrulev2=maxsize 1 1,class:^(xwaylandvideobridge)$ windowrulev2=noblur,class:^(xwaylandvideobridge)$ windowrulev2=workspace 1, title:^(.*(Twitch|TNTdrama|YouTube|Bally Sports|Video Entertainment|Plex)).*(Firefox).*$ windowrulev2=workspace 2, title:^(?!.*(Twitch|TNTdrama|YouTube|Bally Sports|Video Entertainment|Plex)).*(Firefox).*$ windowrulev2=workspace special:inactive, title:^(.*(hidden tabs - Workona)).*(Firefox).*$ windowrulev2=workspace 3, class:^(Code)$ windowrulev2=workspace 3, class:^(neovide)$ windowrulev2=workspace 3, class:^(GitHub Desktop)$ windowrulev2=workspace 3, class:^(GitKraken)$ windowrulev2=workspace 4 silent, class:^(Steam|steam)$ windowrulev2=workspace 4 silent, class:^(Steam|steam)., title:^(Steam|steam)$ windowrulev2=workspace 4 silent, class:^(gamescope|steam_app).* windowrulev2=workspace 4, class:^(heroic)$ windowrulev2=workspace 4, class:^(lutris)$ windowrulev2=workspace 4, class:.*(cemu|yuzu|Ryujinx|emulationstation|retroarch).* windowrulev2=workspace 4, title:.*(cemu|yuzu|Ryujinx|emulationstation|retroarch).* windowrulev2=workspace 5 silent, class:^(Slack)$ windowrulev2=workspace 5 silent, class:^(Caprine)$ windowrulev2=workspace 5 silent, class:^(org.telegram.desktop)$ windowrulev2=workspace 5 silent, class:^(discord)$ windowrulev2=workspace 5 silent, class:^(zoom)$ windowrulev2=workspace 5 silent, class:^(Element)$ windowrulev2=workspace 5 silent, class:^(teams-for-linux)$ windowrulev2=workspace 6 silent, class:^(thunderbird)$ windowrulev2=workspace 6 silent, class:^(Mailspring)$ windowrulev2=workspace 7, class:^(mpv|vlc|mpdevil)$ windowrulev2=workspace 7 silent, class:^(Spotify)$ windowrulev2=workspace 7 silent, title:^(Spotify)$ windowrulev2=workspace 7 silent, title:^(Spotify Free)$ windowrulev2=tile, class:^(Spotify)$ windowrulev2=tile, class:^(Spotify Free)$ windowrulev2=workspace 7 silent, class:^(elisa)$ windowrulev2=workspace 8 silent, class:^(virt-manager|qemu)$ windowrulev2=workspace 8 silent, class:^(gnome-connections)$ windowrulev2=workspace 8, class:^(looking-glass-client)$ workspace=3, on-created-empty:$term zellij workspace=4, on-created-empty:steam workspace=5, on-created-empty:discord workspace=6, on-created-empty:thunderbird workspace=8, on-created-empty:virt-manager workspace=special:scratchpad, on-created-empty:$term # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=DP-3, 3840x2160@60, 1420x0, 2 monitor=DP-1, 5120x1440@120, 0x1080, 1 exec-once = /nix/store/2fps0b1favr56c8ff0phvyxkw365rwkl-xrandr-1.5.2/bin/xrandr --output XWAYLAND0 --primary --mode 1920x1080 --pos 1420x0 --rotate normal--output XWAYLAND1 --mode 5120x1440 --pos 0x1080 --rotate normal workspace = 1, monitor:DP-3, persistent:true, default:true workspace = 2, monitor:DP-1, persistent:true, default:true workspace = 3, monitor:DP-1, persistent:true workspace = 4, monitor:DP-1, persistent:true workspace = 5, monitor:DP-1, persistent:true workspace = 6, monitor:DP-1, persistent:true workspace = 7, monitor:DP-1, persistent:true workspace = 8, monitor:DP-1, persistent:true workspace = 9, monitor:DP-1, persistent:true Config File: /nix/store/8a39xfxfq78r0fsq34cda4l522gwpmdb-source/themes/macchiato.conf: Read Succeeded $rosewater = rgb(f4dbd6) $rosewaterAlpha = f4dbd6 $flamingo = rgb(f0c6c6) $flamingoAlpha = f0c6c6 $pink = rgb(f5bde6) $pinkAlpha = f5bde6 $mauve = rgb(c6a0f6) $mauveAlpha = c6a0f6 $red = rgb(ed8796) $redAlpha = ed8796 $maroon = rgb(ee99a0) $maroonAlpha = ee99a0 $peach = rgb(f5a97f) $peachAlpha = f5a97f $yellow = rgb(eed49f) $yellowAlpha = eed49f $green = rgb(a6da95) $greenAlpha = a6da95 $teal = rgb(8bd5ca) $tealAlpha = 8bd5ca $sky = rgb(91d7e3) $skyAlpha = 91d7e3 $sapphire = rgb(7dc4e4) $sapphireAlpha = 7dc4e4 $blue = rgb(8aadf4) $blueAlpha = 8aadf4 $lavender = rgb(b7bdf8) $lavenderAlpha = b7bdf8 $text = rgb(cad3f5) $textAlpha = cad3f5 $subtext1 = rgb(b8c0e0) $subtext1Alpha = b8c0e0 $subtext0 = rgb(a5adcb) $subtext0Alpha = a5adcb $overlay2 = rgb(939ab7) $overlay2Alpha = 939ab7 $overlay1 = rgb(8087a2) $overlay1Alpha = 8087a2 $overlay0 = rgb(6e738d) $overlay0Alpha = 6e738d $surface2 = rgb(5b6078) $surface2Alpha = 5b6078 $surface1 = rgb(494d64) $surface1Alpha = 494d64 $surface0 = rgb(363a4f) $surface0Alpha = 363a4f $base = rgb(24273a) $baseAlpha = 24273a $mantle = rgb(1e2030) $mantleAlpha = 1e2030 $crust = rgb(181926) $crustAlpha = 181926 Config File: /nix/store/f3pglvgsrhv4wljsrjn6v8rjai000xpb-hyprland-blue-accent.conf: Read Succeeded $accent=$blue $accentAlpha=$blueAlpha Config File: /nix/store/aan4vsxbqpg5y6l6nyqw91hk217sbnpq-hyprland-cursors.conf: Read Succeeded env = HYPRCURSOR_THEME,MyCursor env = HYPRCURSOR_SIZE,24 ======Config-End======== ```

Description

Hyprland crash after coming back to computer. From other crashes I've seen while trying to test some things, it's when it wakes back up and each monitor is waking up. This is the first debug log i have that pointed to the line it crashed on.

Looks like it's crashing on

if (g_pCompositor->getMonitorFromID(PWINDOW->m_iMonitorID)->activeSpecialWorkspace && !pWorkspace->m_bIsSpecialWorkspace)

How to reproduce

For me it's been happening whenever DPMS triggers and I come back to my computer. I think I was able to do it with just unplugging and plugging in monitors, too.

Crash reports, logs, images, videos

--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
I tried so hard, and got so far...

Hyprland received signal 11(SEGV)
Version: c1e21719a2fff2fa9549f00053ac40173da54af9
Tag: 

System info:
    System name: Linux
    Node name: khanelinix
    Release: 6.9.4
    Version: #1-NixOS SMP PREEMPT_DYNAMIC Wed Jun 12 09:39:59 UTC 2024

GPU:
    05:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3080] [10de:2206] (rev a1) (prog-if 00 [VGA controller])
0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:744c] (rev c8) (prog-if 00 [VGA controller])

os-release:
    ANSI_COLOR="1;34"
    BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
    BUILD_ID="24.11.20240616.b60ebf5"
    DOCUMENTATION_URL="https://nixos.org/learn.html"
    HOME_URL="https://nixos.org/"
    ID=nixos
    IMAGE_ID=""
    IMAGE_VERSION=""
    LOGO="nix-snowflake"
    NAME=NixOS
    PRETTY_NAME="NixOS 24.11 (Vicuna)"
    SUPPORT_URL="https://nixos.org/community.html"
    VERSION="24.11 (Vicuna)"
    VERSION_CODENAME=vicuna
    VERSION_ID="24.11"
Backtrace:
    # | /etc/profiles/per-user/khaneliman/bin/Hyprland(_Z12getBacktracev+0x48) [0x6bbbc8]
        getBacktrace()
        /build/source/src/helpers/MiscFunctions.cpp:792
    #1 | /etc/profiles/per-user/khaneliman/bin/Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x998) [0x633be8]
        std::filesystem::__cxx11::path::path<char [15], std::filesystem::__cxx11::path>(char const (&) [15], std::filesystem::__cxx11::path::format)
        /nix/store/hdhz1am7jpgkh3sq7sfqwz041pf01mnd-gcc-13.3.0/include/c++/13.3.0/bits/fs_path.h:331 (discriminator 1)
    #2 | /etc/profiles/per-user/khaneliman/bin/Hyprland(_Z25handleUnrecoverableSignali+0x5f) [0x5b724f]
        handleUnrecoverableSignal(int)
        /build/source/src/Compositor.cpp:64
    #3 | /nix/store/dbwp0scbb0rk78m636sb7cvycz8xzgyh-glibc-2.39-52/lib/libc.so.6(+0x3ff40) [0x7eff11e2cf40]
        ??
        ??:0
    #4 | /etc/profiles/per-user/khaneliman/bin/Hyprland(_ZN6Events18listener_mapWindowEPvS0_+0x3933) [0x6b1213]
        Events::listener_mapWindow(void*, void*)
        /build/source/src/events/Windows.cpp:310 (discriminator 2)
    #5 | /etc/profiles/per-user/khaneliman/bin/Hyprland() [0x672419]
        std::any::has_value() const
        /nix/store/hdhz1am7jpgkh3sq7sfqwz041pf01mnd-gcc-13.3.0/include/c++/13.3.0/any:328
    #6 | /nix/store/4m85mfkmipl0lg77ajddp3n7rrpq49rf-hyprutils-0.pre+date=2024-06-19_4f13512/lib/libhyprutils.so.0(_ZN9Hyprutils6Signal15CSignalListener4emitESt3any+0x57) [0x7eff123d8077]
        ??
        ??:0
    #7 | /nix/store/4m85mfkmipl0lg77ajddp3n7rrpq49rf-hyprutils-0.pre+date=2024-06-19_4f13512/lib/libhyprutils.so.0(_ZN9Hyprutils6Signal7CSignal4emitESt3any+0x34e) [0x7eff123d8afe]
        ??
        ??:0
    #8 | /etc/profiles/per-user/khaneliman/bin/Hyprland() [0x819f48]
        std::_Function_handler<void (std::any), CXDGSurfaceResource::CXDGSurfaceResource(Hyprutils::Memory::CSharedPointer<CXdgSurface>, Hyprutils::Memory::CSharedPointer<CXDGWMBase>, Hyprutils::Memory::CSharedPointer<CWLSurfaceResource>)::{lambda(std::any)#2}>::_M_invoke(std::_Any_data const&, std::any&&)
        /build/source/src/protocols/XDGShell.cpp:347 (discriminator 1)
    #9 | /nix/store/4m85mfkmipl0lg77ajddp3n7rrpq49rf-hyprutils-0.pre+date=2024-06-19_4f13512/lib/libhyprutils.so.0(_ZN9Hyprutils6Signal15CSignalListener4emitESt3any+0x57) [0x7eff123d8077]
        ??
        ??:0
    #1 | /nix/store/4m85mfkmipl0lg77ajddp3n7rrpq49rf-hyprutils-0.pre+date=2024-06-19_4f13512/lib/libhyprutils.so.0(_ZN9Hyprutils6Signal7CSignal4emitESt3any+0x34e) [0x7eff123d8afe]
        ??
        ??:0
    #11 | /etc/profiles/per-user/khaneliman/bin/Hyprland() [0x82bc44]
        std::any::has_value() const
        /nix/store/hdhz1am7jpgkh3sq7sfqwz041pf01mnd-gcc-13.3.0/include/c++/13.3.0/any:328
    #12 | /etc/profiles/per-user/khaneliman/bin/Hyprland(_ZN18CWLSurfaceResource8bfHelperESt6vectorIN9Hyprutils6Memory14CSharedPointerIS_EESaIS4_EESt8functionIFvS4_RKNS1_4Math8Vector2DEPvEESC_+0x5d3) [0x82f893]
        Hyprutils::Memory::CSharedPointer<CWLSurfaceResource>::~CSharedPointer()
        /nix/store/kjb5fd1dji0525qwwx1givh879acpclx-hyprutils-0.pre+date=2024-06-19_4f13512-dev/include/hyprutils/memory/SharedPtr.hpp:172
    #13 | /etc/profiles/per-user/khaneliman/bin/Hyprland(_ZN18CWLSurfaceResource12breadthfirstESt8functionIFvN9Hyprutils6Memory14CSharedPointerIS_EERKNS1_4Math8Vector2DEPvEES9_+0x135) [0x830205]
        std::vector<Hyprutils::Memory::CSharedPointer<CWLSurfaceResource>, std::allocator<Hyprutils::Memory::CSharedPointer<CWLSurfaceResource> > >::~vector()
        /nix/store/hdhz1am7jpgkh3sq7sfqwz041pf01mnd-gcc-13.3.0/include/c++/13.3.0/bits/stl_vector.h:735
    #14 | /etc/profiles/per-user/khaneliman/bin/Hyprland() [0x830d49]
        std::function<void (Hyprutils::Memory::CSharedPointer<CWLSurfaceResource>, Hyprutils::Math::Vector2D const&, void*)>::~function()
        /nix/store/hdhz1am7jpgkh3sq7sfqwz041pf01mnd-gcc-13.3.0/include/c++/13.3.0/bits/std_function.h:334
    #15 | /etc/profiles/per-user/khaneliman/bin/Hyprland() [0x8f2cdf]
        _CWlSurfaceCommit(wl_client*, wl_resource*)
        /build/source/protocols/wayland.cpp:1786
    #16 | /nix/store/nj9g42fdsm8l2z43kfcahch3px2q209a-libffi-3.4.6/lib/libffi.so.8(+0xa052) [0x7eff11d2d052]
        ??
        ??:0
    #17 | /nix/store/nj9g42fdsm8l2z43kfcahch3px2q209a-libffi-3.4.6/lib/libffi.so.8(+0x7ee5) [0x7eff11d2aee5]
        ??
        ??:0
    #18 | /nix/store/nj9g42fdsm8l2z43kfcahch3px2q209a-libffi-3.4.6/lib/libffi.so.8(ffi_call+0xd8) [0x7eff11d2bad8]
        ??
        ??:0
    #19 | /nix/store/p70yz972riakl5l0k7nzakyybi5r8481-wayland-1.22.0/lib/libwayland-server.so.0(+0xd841) [0x7eff12b0c841]
        ??
        ??:0
    #2 | /nix/store/p70yz972riakl5l0k7nzakyybi5r8481-wayland-1.22.0/lib/libwayland-server.so.0(+0x8c4b) [0x7eff12b07c4b]
        ??
        ??:0
    #21 | /nix/store/p70yz972riakl5l0k7nzakyybi5r8481-wayland-1.22.0/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7eff12b0a8f2]
        ??
        ??:0
    #22 | /nix/store/p70yz972riakl5l0k7nzakyybi5r8481-wayland-1.22.0/lib/libwayland-server.so.0(wl_display_run+0x25) [0x7eff12b08455]
        ??
        ??:0
    #23 | /etc/profiles/per-user/khaneliman/bin/Hyprland(_ZN17CEventLoopManager9enterLoopEP10wl_displayP13wl_event_loop+0x51) [0x7479e1]
        std::__new_allocator<char>::allocate(unsigned long, void const*)
        /nix/store/hdhz1am7jpgkh3sq7sfqwz041pf01mnd-gcc-13.3.0/include/c++/13.3.0/bits/new_allocator.h:151
    #24 | /etc/profiles/per-user/khaneliman/bin/Hyprland(main+0x81d) [0x57b05d]
        main
        /build/source/src/main.cpp:118 (discriminator 1)
    #25 | /nix/store/dbwp0scbb0rk78m636sb7cvycz8xzgyh-glibc-2.39-52/lib/libc.so.6(+0x2a10e) [0x7eff11e1710e]
        ??
        ??:0
    #26 | /nix/store/dbwp0scbb0rk78m636sb7cvycz8xzgyh-glibc-2.39-52/lib/libc.so.6(__libc_start_main+0x89) [0x7eff11e171c9]
        ??
        ??:0
    #27 | /etc/profiles/per-user/khaneliman/bin/Hyprland(_start+0x25) [0x5b70f5]
        _start
        ??:?

Log tail:
[LOG] Window 423bec60 set title to (2) Chat | Garrett Stewart, Jacob Barclay, +1 | Microsoft Teams
[LOG] Searching for matching rules for teams-for-linux (title: (2) Chat | Garrett Stewart, Jacob Barclay, +1 | Microsoft Teams)
[LOG] Window rule workspace 5 silent ->  class:^(teams-for-linux)$ matched [Window 423bec60: title: "(2) Chat | Garrett Stewart, Jacob Barclay, +1 | Microsoft Teams"]
[LOG] [XDGShell] New xdg_wm_base at 427f1c10
[LOG] [WLCompositor] New wl_surface with id 28 at 42403640
[LOG] [XDGShell] New xdg_surface at 4232ebd0
[LOG] [XDGShell] xdg_surface 427f1c10 gets a toplevel 42346180
[LOG] CWLSurface 427d6c80 called init()
[LOG] [XDGShell] Toplevel 42346180 sets parent to 0
[LOG] Window 42c1a390 set title to Virtual Machine Manager
[LOG] Searching for matching rules for  (title: Virtual Machine Manager)
[LOG] Window 42c1a390 set class to virt-manager
[LOG] Searching for matching rules for virt-manager (title: Virtual Machine Manager)
[LOG] Window rule size 1000 1330 ->  class:^(virt-manager)$, title:^(Virtual Machine Manager)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Window rule float ->  class:^(virt-manager)$, title:^(Virtual Machine Manager)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Window rule move 80% 6% ->  class:^(virt-manager)$, title:^(Virtual Machine Manager)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Window rule workspace 8 silent ->  class:^(virt-manager|qemu)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Searching for matching rules for virt-manager (title: Virtual Machine Manager)
[LOG] Window rule size 1000 1330 ->  class:^(virt-manager)$, title:^(Virtual Machine Manager)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Window rule float ->  class:^(virt-manager)$, title:^(Virtual Machine Manager)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Window rule move 80% 6% ->  class:^(virt-manager)$, title:^(Virtual Machine Manager)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Window rule workspace 8 silent ->  class:^(virt-manager|qemu)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Searching for matching rules for virt-manager (title: Virtual Machine Manager)
[LOG] Window rule size 1000 1330 ->  class:^(virt-manager)$, title:^(Virtual Machine Manager)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Window rule float ->  class:^(virt-manager)$, title:^(Virtual Machine Manager)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Window rule move 80% 6% ->  class:^(virt-manager)$, title:^(Virtual Machine Manager)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Window rule workspace 8 silent ->  class:^(virt-manager|qemu)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Layout predicts size [Vector2D: x: 1000, y: 1330] for [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] [XDGShell] xdg_surface 4232ebd0 requests geometry 0x0 1000x1330
[LOG] [WLCompositor] New wl_region with id 34 at 4237c8f0
[LOG] New window contains HL_INITIAL_WORKSPACE_TOKEN: c732eab2-a598-4182-b1bb-2ba54cfe3306
[LOG] HL_INITIAL_WORKSPACE_TOKEN c732eab2-a598-4182-b1bb-2ba54cfe3306 -> 5
[LOG] Searching for matching rules for virt-manager (title: Virtual Machine Manager)
[LOG] Window rule size 1000 1330 ->  class:^(virt-manager)$, title:^(Virtual Machine Manager)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Window rule float ->  class:^(virt-manager)$, title:^(Virtual Machine Manager)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Window rule move 80% 6% ->  class:^(virt-manager)$, title:^(Virtual Machine Manager)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Window rule workspace 8 silent ->  class:^(virt-manager|qemu)$ matched [Window 42c1a390: title: "Virtual Machine Manager"]
[LOG] Rule workspace matched by [Window 42c1a390: title: "Virtual Machine Manager"],  class:^(virt-manager|qemu)$ applied.
vaxerski commented 1 week ago

does adding a nullcheck fix it?

khaneliman commented 4 days ago

Gonna close for now, hasn't crashed last couple times coming back and I think I saw a couple commits that might have protected against it. I'll reopen if I see it again.