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
20.2k stars 858 forks source link

Hyprland randomly crashes on wakeup from lock (not suspended) #6685

Open Chais opened 3 months ago

Chais commented 3 months ago

Regression?

Yes

System Info and Version

System/Version info ```sh Hyprland, built from branch main at commit 9e781040d9067c2711ec2e9f5b47b76ef70762b3 (props: bump version to 0.41.1). Date: 2024-06-13 Tag: v0.41.1, commits: 9e781040d9067c2711ec2e9f5b47b76ef70762b3 flags: (if any) System Information: System name: Linux Node name: nufta Release: 6.9.6-zen1 Version: #1-NixOS ZEN SMP PREEMPT_DYNAMIC Tue Jan 1 00:00:00 UTC 1980 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [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.05.2028.e4509b3a560c" 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.05 (Uakari)" SUPPORT_END="2024-12-31" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.05 (Uakari)" VERSION_CODENAME=uakari VERSION_ID="24.05" plugins: ======Config-Start====== Config File: /home/chais/.config/hypr/hyprland.conf: Read Succeeded exec-once = /nix/store/nn54yahdasinv9hyk1hjwpakw8sqqyq0-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target $mod=SUPER source=/nix/store/lzd4akr846b8fk0xr2rmz0saw63xzdjm-hyprland/themes/mocha.conf animations { 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=fade, 1, 7, default animation=workspaces, 1, 6, default, slidevert } decoration { blur { enabled=true passes=2 } col.shadow=rgba($crustAlphaee) drop_shadow=true rounding=10 } dwindle { force_split=2 preserve_split=true pseudotile=true } general { col.active_border=$blue $base $base 30deg col.inactive_border=$base $mantle $mantle 30deg gaps_in=5 gaps_out=20 layout=dwindle } gestures { workspace_swipe=true } group { groupbar { height=1 render_titles=false } col.border_active=$peach $base $base 30deg col.border_inactive=$base $mantle $mantle 30deg } input { touchpad { middle_button_emulation=false natural_scroll=true tap-to-click=false } kb_options=compose:ralt,terminate:ctrl_alt_bksp mouse_refocus=false } misc { disable_splash_rendering=true no_direct_scanout=true vfr=true vrr=1 } bind=$mod, Return, exec, foot -f "Hack:size=14:antialias=true:autohint=true:rgba=true,Font Awesome 6 Brands-Regular:size=14:antialias=true:autohint=true:rgba=true,Font Awesome 6 Free-Regular:size=14:antialias=true:autohint=true:rgba=true" bind=$mod, C, killactive, bind=$mod, V, togglefloating, bind=$mod, D, exec, pkill wofi || wofi --show drun -Ii bind=$mod, P, pin, bind=$mod SHIFT, P, pseudo, bind=$mod, J, togglesplit, bind=$mod, G, togglegroup, bind=$mod, Tab, changegroupactive, f bind=$mod SHIFT, Tab, changegroupactive, b bind=$mod, F, fullscreen bind=$mod SHIFT, F, fakefullscreen bind=$mod, K, exec, keepassxc bind=$mod, W, exec, notify-send -a activewindow -i /home/chais/.config/hypr/hyprland_icon.png -t 0 "$(hyprctl activewindow)" bind=$mod SHIFT, W, exec, notify-send -a activewindow -i /home/chais/.config/hypr/hyprland_icon.png -t 0 "$(hyprctl activeworkspace)" bind=$mod, L, exec, loginctl lock-session bind=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle bind=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_SINK@ 5%- bind=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_SINK@ 5%+ bind=, XF86MonBrightnessDown, exec, light -U 5 bind=, XF86MonBrightnessUp, exec, light -A 5 bind=, Print, exec, nu -c '/home/chais/.local/bin/screenshot' bind=CTRL, Print, exec, nu -c '/home/chais/.local/bin/screenshot window' bind=SHIFT, Print, exec, nu -c '/home/chais/.local/bin/screenshot region' bind=$mod, left, movefocus, l bind=$mod, right, movefocus, r bind=$mod, up, movefocus, u bind=$mod, down, movefocus, d bind=$mod, mouse_down, workspace, e+1 bind=$mod, mouse_up, workspace, e-1 bind=$mod, 1, workspace, 1 bind=$mod SHIFT, 1, movetoworkspace, 1 bind=$mod, 2, workspace, 2 bind=$mod SHIFT, 2, movetoworkspace, 2 bind=$mod, 3, workspace, 3 bind=$mod SHIFT, 3, movetoworkspace, 3 bind=$mod, 4, workspace, 4 bind=$mod SHIFT, 4, movetoworkspace, 4 bind=$mod, 5, workspace, 5 bind=$mod SHIFT, 5, movetoworkspace, 5 bind=$mod, 6, workspace, 6 bind=$mod SHIFT, 6, movetoworkspace, 6 bind=$mod, 7, workspace, 7 bind=$mod SHIFT, 7, movetoworkspace, 7 bind=$mod, 8, workspace, 8 bind=$mod SHIFT, 8, movetoworkspace, 8 bind=$mod, 9, workspace, 9 bind=$mod SHIFT, 9, movetoworkspace, 9 bind=$mod, 0, workspace, 10 bind=$mod SHIFT, 0, movetoworkspace, 10 bindm=$mod, mouse:272, movewindow bindm=$mod, mouse:273, resizewindow env=GTK2_RC_FILES,/home/chais/.gtkrc-2.0 env=GTK_THEME,Catppuccin-Mocha-Standard-Blue-Dark env=LOCALE_ARCHIVE_2_27,/nix/store/9dij3pl4dkdxmxhasjw1pa9hzqv4rjlp-glibc-locales-2.39-52/lib/locale/locale-archive env=XDG_DESKTOP_DIR,/home/chais/Desktop env=XDG_DOCUMENTS_DIR,/home/chais/Documents env=XDG_DOWNLOAD_DIR,/home/chais/Downloads env=XDG_MUSIC_DIR,/home/chais/Music env=XDG_PICTURES_DIR,/home/chais/Pictures env=XDG_PUBLICSHARE_DIR,/home/chais/Public env=XDG_TEMPLATES_DIR,/home/chais/Templates env=XDG_VIDEOS_DIR,/home/chais/Videos exec-once=/nix/store/qq2n3hgvh4wr7mh84ilny0f1hr3lchji-polkit-gnome-0.105/libexec/polkit-gnome-authentication-agent-1 exec-once=nm-applet --indicator exec-once=corectrl exec-once=swww init exec-once=polychromatic-tray-applet monitor=,highres,0x0,1 windowrule=float,^(org.keepassxc.KeePassXC)$ windowrule=float,^(com.saivert.pwvucontrol)$ windowrule=float,title:^(Picture-in-Picture)$ windowrule=suppressevent fullscreen maximize,title:^(Picture-in-Picture)$ windowrule=idleinhibit focus,^(\.gamescope-wrapped)$ windowrule=idleinhibit fullscreen,^(firefox)$ windowrule=workspace 1,^(firefox)$ windowrule=workspace 2,^(foot)$ windowrule=workspace 3,^(discord)$ windowrule=workspace 4,^([Ss]team.*)$ windowrule=workspace 6,^(VSCodium)$ windowrule=float,^(\.polychromatic-controller-wrapped)$ windowrule=float,^(org.corectrl.CoreCtrl)$ windowrulev2=workspace 3,class:^()$,title:^(.*Discord)$ windowrulev2=float,class:^([Ss]team)$,title:^([Ss]team - Self Updater)$ windowrulev2=float,class:^([Ss]team)$,title:^([Ss]team [Ss]ettings)$ windowrulev2=float,class:^([Ss]team)$,title:^((?!Steam).+)$ windowrulev2=stayfocused, title:^()$,class:^([Ss]team)$ windowrulev2=noinitialfocus, title:(^notificationtoasts.*) windowrulev2=minsize 1 1, title:^()$,class:^([Ss]team)$ windowrulev2=workspace 4,class:^(([Ss]team)?.*)$,title:^([Ss]team.*)$ windowrulev2=size 1280 720,class:^(firefox)$,title:^(Picture-in-Picture)$ windowrulev2=move 2539 1419,class:^(firefox)$,title:^(Picture-in-Picture)$ Config File: /nix/store/lzd4akr846b8fk0xr2rmz0saw63xzdjm-hyprland/themes/mocha.conf: Read Succeeded $rosewater = rgb(f5e0dc) $rosewaterAlpha = f5e0dc $flamingo = rgb(f2cdcd) $flamingoAlpha = f2cdcd $pink = rgb(f5c2e7) $pinkAlpha = f5c2e7 $mauve = rgb(cba6f7) $mauveAlpha = cba6f7 $red = rgb(f38ba8) $redAlpha = f38ba8 $maroon = rgb(eba0ac) $maroonAlpha = eba0ac $peach = rgb(fab387) $peachAlpha = fab387 $yellow = rgb(f9e2af) $yellowAlpha = f9e2af $green = rgb(a6e3a1) $greenAlpha = a6e3a1 $teal = rgb(94e2d5) $tealAlpha = 94e2d5 $sky = rgb(89dceb) $skyAlpha = 89dceb $sapphire = rgb(74c7ec) $sapphireAlpha = 74c7ec $blue = rgb(89b4fa) $blueAlpha = 89b4fa $lavender = rgb(b4befe) $lavenderAlpha = b4befe $text = rgb(cdd6f4) $textAlpha = cdd6f4 $subtext1 = rgb(bac2de) $subtext1Alpha = bac2de $subtext0 = rgb(a6adc8) $subtext0Alpha = a6adc8 $overlay2 = rgb(9399b2) $overlay2Alpha = 9399b2 $overlay1 = rgb(7f849c) $overlay1Alpha = 7f849c $overlay0 = rgb(6c7086) $overlay0Alpha = 6c7086 $surface2 = rgb(585b70) $surface2Alpha = 585b70 $surface1 = rgb(45475a) $surface1Alpha = 45475a $surface0 = rgb(313244) $surface0Alpha = 313244 $base = rgb(1e1e2e) $baseAlpha = 1e1e2e $mantle = rgb(181825) $mantleAlpha = 181825 $crust = rgb(11111b) $crustAlpha = 11111b ======Config-End======== ```

Description

Sometimes hyprland crashes when trying to wake my machine up from screensaver. The way I read my logs is that hyprland crashes and takes hyprlock down with it, but it might be the other way around.

How to reproduce

Seems to happen randomly. I have to wait at least for the idle timer to trigger hyprlock and dpms off, but it doesn't happen every time.

Crash reports, logs, images, videos

Coredump ``` Process 2271 (.Hyprland-wrapp) of user 1000 dumped core. Module libpciaccess.so.0 without build-id. Module libncursesw.so.6 without build-id. Module libdrm_intel.so.1 without build-id. Module libdrm_nouveau.so.2 without build-id. Module libdrm_amdgpu.so.1 without build-id. Module libdrm_radeon.so.1 without build-id. Module libsensors.so.5 without build-id. Module libxshmfence.so.1 without build-id. Module libxcb-sync.so.1 without build-id. Module libxcb-present.so.0 without build-id. Module libxcb-dri3.so.0 without build-id. Module libxcb-dri2.so.0 without build-id. Module libX11-xcb.so.1 without build-id. Module libgpg-error.so.0 without build-id. Module libbrotlicommon.so.1 without build-id. Module libjpeg.so.62 without build-id. Module libxml2.so.2 without build-id. Module libzstd.so.1 without build-id. Module liblzma.so.5 without build-id. Module liblz4.so.1 without build-id. Module libgcrypt.so.20 without build-id. Module libgudev-1.0.so.0 without build-id. Module libdatrie.so.1 without build-id. Module libselinux.so.1 without build-id. Module libbrotlidec.so.1 without build-id. Module libbz2.so.1 without build-id. Module libtomlplusplus.so.3 without build-id. Module librsvg-2.so.2 without build-id. Module libzip.so.5 without build-id. Module libxcb-randr.so.0 without build-id. Module libexpat.so.1 without build-id. Module libcap.so.2 without build-id. Module libsystemd.so.0 without build-id. Module libwacom.so.9 without build-id. Module libevdev.so.2 without build-id. Module libmtdev.so.1 without build-id. Module libxcb-shm.so.0 without build-id. Module libXrender.so.1 without build-id. Module libXext.so.6 without build-id. Module libX11.so.6 without build-id. Module libpng16.so.16 without build-id. Module libz.so.1 without build-id. Module libgraphite2.so.3 without build-id. Module libfreetype.so.6 without build-id. Module libpcre2-8.so.0 without build-id. Module libthai.so.0 without build-id. Module libfribidi.so.0 without build-id. Module libfontconfig.so.1 without build-id. Module libpangoft2-1.0.so.0 without build-id. Module libffi.so.8 without build-id. Module libXdmcp.so.6 without build-id. Module libXau.so.6 without build-id. Module libGLdispatch.so.0 without build-id. Module libgcc_s.so.1 without build-id. Module libstdc++.so.6 without build-id. Module libOpenGL.so.0 without build-id. Module libGLX.so.0 without build-id. Module libGLESv2.so.2 without build-id. Module libhyprutils.so.0 without build-id. Module libhyprcursor.so.0 without build-id. Module libhyprlang.so.2 without build-id. Module libudev.so.1 without build-id. Module libliftoff.so.0 without build-id. Module libdisplay-info.so.1 without build-id. Module libseat.so.1 without build-id. Module libinput.so.10 without build-id. Module libdrm.so.2 without build-id. Module libharfbuzz.so.0 without build-id. Module libpango-1.0.so.0 without build-id. Module libpangocairo-1.0.so.0 without build-id. Module libxkbcommon.so.0 without build-id. Module libxcb.so.1 without build-id. Module libxcb-errors.so.0 without build-id. Module libxcb-ewmh.so.2 without build-id. Module libxcb-res.so.0 without build-id. Module libxcb-composite.so.0 without build-id. Module libxcb-icccm.so.4 without build-id. Module libxcb-xfixes.so.0 without build-id. Module libxcb-render.so.0 without build-id. Module libxcb-util.so.1 without build-id. Module libEGL.so.1 without build-id. Module .Hyprland-wrapped without build-id. Stack trace of thread 2271: #0 0x00007e7f0b6a2efc __pthread_kill_implementation (libc.so.6 + 0x8fefc) #1 0x00007e7f0b652e86 raise (libc.so.6 + 0x3fe86) #2 0x00007e7f0b63b935 abort (libc.so.6 + 0x28935) #3 0x00000000005be3c4 _Z25handleUnrecoverableSignali (.Hyprland-wrapped + 0x1be3c4) #4 0x00007e7f0b652f30 __restore_rt (libc.so.6 + 0x3ff30) #5 0x00000000007c4a07 _ZN24CFractionalScaleProtocol9sendScaleEN9Hyprutils6Memory14CSharedPointerI18CWLSurfaceResourceEERKf > #6 0x00000000008148fa _ZN19CSessionLockSurfaceC2EN9Hyprutils6Memory14CSharedPointerI24CExtSessionLockSurfaceV1EENS2_I18CWLS> #7 0x00000000008156bf _ZN20CSessionLockProtocol16onGetLockSurfaceEP17CExtSessionLockV1jP11wl_resourceS3_ (.Hyprland-wrapped> #8 0x000000000091de52 _ZL32_CExtSessionLockV1GetLockSurfaceP9wl_clientP11wl_resourcejS2_S2_ (.Hyprland-wrapped + 0x51de52) #9 0x00007e7f0ba7a052 ffi_call_unix64 (libffi.so.8 + 0xa052) #10 0x00007e7f0ba77ee5 ffi_call_int (libffi.so.8 + 0x7ee5) #11 0x00007e7f0ba78ad8 ffi_call (libffi.so.8 + 0x8ad8) #12 0x00007e7f0c349841 wl_closure_invoke (libwayland-server.so.0 + 0xd841) #13 0x00007e7f0c344c4b wl_client_connection_data (libwayland-server.so.0 + 0x8c4b) #14 0x00007e7f0c3478f2 wl_event_loop_dispatch (libwayland-server.so.0 + 0xb8f2) #15 0x00007e7f0c345455 wl_display_run (libwayland-server.so.0 + 0x9455) #16 0x0000000000764ad1 _ZN17CEventLoopManager9enterLoopEP10wl_displayP13wl_event_loop (.Hyprland-wrapped + 0x364ad1) #17 0x0000000000581a3d main (.Hyprland-wrapped + 0x181a3d) #18 0x00007e7f0b63d10e __libc_start_call_main (libc.so.6 + 0x2a10e) #19 0x00007e7f0b63d1c9 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a1c9) #20 0x00000000005be205 _start (.Hyprland-wrapped + 0x1be205) Stack trace of thread 2318: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00000000006e733d _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN9CWatchdogC4EvEUlvE_EEEEE6_M_runEv (.Hyprland-wrap> #3 0x00007e7f0b8e8683 execute_native_thread_routine (libstdc++.so.6 + 0xe8683) #4 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #5 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2320: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2325: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2323: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2324: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2321: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2328: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2327: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2329: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2331: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2322: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2326: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2330: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2337: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2340: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2747: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2338: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2341: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2339: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2335: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2333: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2355: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2334: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2342: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2336: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2748: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2332: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2343: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2357: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2358: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2356: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) Stack trace of thread 2359: #0 0x00007e7f0b69dc5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e) #1 0x00007e7f0b6a04c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0) #2 0x00007e7f01f175e9 cnd_wait (radeonsi_dri.so + 0x1175e9) #3 0x00007e7f01ef79db util_queue_thread_func (radeonsi_dri.so + 0xf79db) #4 0x00007e7f01f17527 impl_thrd_routine (radeonsi_dri.so + 0x117527) #5 0x00007e7f0b6a1272 start_thread (libc.so.6 + 0x8e272) #6 0x00007e7f0b71cdec __clone3 (libc.so.6 + 0x109dec) ELF object binary architecture: AMD x86-64 ``` [hyprlandCrashReport2271.txt](https://github.com/user-attachments/files/16046068/hyprlandCrashReport2271.txt)
khaneliman commented 3 months ago

Sounds similar to what I saw in https://github.com/hyprwm/Hyprland/issues/6601 I thought it stopped for me but it did happen another time after I closed that issue. It used to happen every time, now it is more random again.

maltbeverage commented 3 months ago

I'm experiencing the same issue after upgrading to v0.41.2.

maltbeverage commented 3 months ago

Just noticed OP is on 0.41.1. Around the time of installing 0.41.2, I had also moved from aur git versions of a bunch of dependencies back to arch repos, so need to narrow down some variables. I'll try moving to latest everything and see if the issue persists.

khaneliman commented 3 months ago

Just noticed OP is on 0.41.1. Around the time of installing 0.41.2, I had also moved from aur git versions of a bunch of dependencies back to arch repos, so need to narrow down some variables. I'll try moving to latest everything and see if the issue persists.

I'm on latest git and last crash was on https://github.com/hyprwm/Hyprland/commit/c338acbb7dc64a735dadd0ae54f3b17d85a2a467 and same crash log backtrace in all my logs as reported in my issue above.

faileon commented 3 months ago

edit: ignore me, all i had to do was rtfm I believe I am running into the same issue. after I suspend/sleep (s2idle or deep), then wake up and log-in back. My windows, applications etc. are not restored and journalctl has the following stack trace:

Core dump ``` systemd-coredump[9105]: [🡕] Process 4422 (Hyprland) of user 1000 dumped core. Stack trace of thread 4422: #0 0x000076c9d86a8e44 n/a (libc.so.6 + 0x94e44) #1 0x000076c9d8650a30 raise (libc.so.6 + 0x3ca30) #2 0x000076c9d86384c3 abort (libc.so.6 + 0x244c3) #3 0x000063d05c3a2f97 _Z25handleUnrecoverableSignali (Hyprland + 0x141f97) #4 0x000076c9d8650ae0 n/a (libc.so.6 + 0x3cae0) #5 0x000076c9d86a8e44 n/a (libc.so.6 + 0x94e44) #6 0x000076c9d8650a30 raise (libc.so.6 + 0x3ca30) #7 0x000063d05c60f472 _ZN15CHyprOpenGLImpl11beginSimpleEP8CMonitorRKN9Hyprutils4Math7CRegionEP13CRenderbufferP12CFramebuffer (Hyprland + 0x3ae472) #8 0x000063d05c4dd6d9 _ZN15CPointerManager20renderHWCursorBufferEN9Hyprutils6Memory14CSharedPointerINS_20SMonitorPointerStateEEENS2_I8CTextureEE (Hyprland + 0x27c6d9) #9 0x000063d05c4e0a6b _ZN15CPointerManager21attemptHardwareCursorEN9Hyprutils6Memory14CSharedPointerINS_20SMonitorPointerStateEEE (Hyprland + 0x27fa6b) #10 0x000063d05c4e10e9 _ZN15CPointerManager19updateCursorBackendEv (Hyprland + 0x2800e9) #11 0x000063d05c4e197a _ZN15CPointerManager15setCursorBufferEP10wlr_bufferRKN9Hyprutils4Math8Vector2DERKf (Hyprland + 0x28097a) #12 0x000063d05c4bc8cb _ZN14CCursorManager17setCursorFromNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE (Hyprland + 0x25b8cb) #13 0x000063d05c4bce5e _ZN14CCursorManager11updateThemeEv (Hyprland + 0x25be5e) #14 0x000063d05c4bd80c n/a (Hyprland + 0x25c80c) #15 0x000063d05c4c04e0 _ZN18CHookSystemManager4emitEPSt6vectorI14SCallbackFNPtrSaIS1_EER13SCallbackInfoSt3any (Hyprland + 0x25f4e0) #16 0x000063d05c6350b3 _ZN13CHyprRenderer16applyMonitorRuleEP8CMonitorP12SMonitorRuleb (Hyprland + 0x3d40b3) #17 0x000063d05c4767c7 _ZN6Events22listener_sessionActiveEP11wl_listenerPv (Hyprland + 0x2157c7) #18 0x000076c9d90bd42e wl_signal_emit_mutable (libwayland-server.so.0 + 0x842e) #19 0x000076c9d8d780ca n/a (libseat.so.1 + 0x30ca) #20 0x000076c9d7d86756 n/a (libsystemd.so.0 + 0x24756) #21 0x000076c9d7d8669e n/a (libsystemd.so.0 + 0x2469e) #22 0x000076c9d7d86508 n/a (libsystemd.so.0 + 0x24508) #23 0x000076c9d7d8669e n/a (libsystemd.so.0 + 0x2469e) #24 0x000076c9d7d86508 n/a (libsystemd.so.0 + 0x24508) #25 0x000076c9d7d8669e n/a (libsystemd.so.0 + 0x2469e) #26 0x000076c9d7d86508 n/a (libsystemd.so.0 + 0x24508) #27 0x000076c9d7d8669e n/a (libsystemd.so.0 + 0x2469e) #28 0x000076c9d7d86508 n/a (libsystemd.so.0 + 0x24508) #29 0x000076c9d7d8669e n/a (libsystemd.so.0 + 0x2469e) #30 0x000076c9d7d8665e n/a (libsystemd.so.0 + 0x2465e) #31 0x000076c9d7d8682f n/a (libsystemd.so.0 + 0x2482f) #32 0x000076c9d7dac7e5 n/a (libsystemd.so.0 + 0x4a7e5) #33 0x000076c9d8d786de n/a (libseat.so.1 + 0x36de) #34 0x000063d05c69373f n/a (Hyprland + 0x43273f) #35 0x000076c9d90bf0a2 wl_event_loop_dispatch (libwayland-server.so.0 + 0xa0a2) #36 0x000076c9d90c110f wl_display_run (libwayland-server.so.0 + 0xc10f) #37 0x000063d05c4fef69 _ZN17CEventLoopManager9enterLoopEP10wl_displayP13wl_event_loop (Hyprland + 0x29df69) #38 0x000063d05c366d5b main (Hyprland + 0x105d5b) #39 0x000076c9d8639c88 n/a (libc.so.6 + 0x25c88) #40 0x000076c9d8639d4c __libc_start_main (libc.so.6 + 0x25d4c) #41 0x000063d05c39fe25 _start (Hyprland + 0x13ee25) Stack trace of thread 4434: #0 0x000076c9d86a34e9 n/a (libc.so.6 + 0x8f4e9) #1 0x000076c9d86a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9) #2 0x000076c9d88d5e61 __gthread_cond_wait (libstdc++.so.6 + 0xd5e61) #3 0x000063d05c498738 n/a (Hyprland + 0x237738) #4 0x000076c9d88e0c84 execute_native_thread_routine (libstdc++.so.6 + 0xe0c84) #5 0x000076c9d86a6ded n/a (libc.so.6 + 0x92ded) #6 0x000076c9d872a0dc n/a (libc.so.6 + 0x1160dc) Stack trace of thread 4437: #0 0x000076c9d86a34e9 n/a (libc.so.6 + 0x8f4e9) #1 0x000076c9d86a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9) #2 0x000076c9c809d47e n/a (iris_dri.so + 0x9d47e) #3 0x000076c9c807b22c n/a (iris_dri.so + 0x7b22c) #4 0x000076c9c809d3ad n/a (iris_dri.so + 0x9d3ad) #5 0x000076c9d86a6ded n/a (libc.so.6 + 0x92ded) #6 0x000076c9d872a0dc n/a (libc.so.6 + 0x1160dc) Stack trace of thread 4441: #0 0x000076c9d86a34e9 n/a (libc.so.6 + 0x8f4e9) #1 0x000076c9d86a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9) #2 0x000076c9c809d47e n/a (iris_dri.so + 0x9d47e) #3 0x000076c9c807b22c n/a (iris_dri.so + 0x7b22c) #4 0x000076c9c809d3ad n/a (iris_dri.so + 0x9d3ad) #5 0x000076c9d86a6ded n/a (libc.so.6 + 0x92ded) #6 0x000076c9d872a0dc n/a (libc.so.6 + 0x1160dc) Stack trace of thread 4438: #0 0x000076c9d86a34e9 n/a (libc.so.6 + 0x8f4e9) #1 0x000076c9d86a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9) #2 0x000076c9c809d47e n/a (iris_dri.so + 0x9d47e) #3 0x000076c9c807b22c n/a (iris_dri.so + 0x7b22c) #4 0x000076c9c809d3ad n/a (iris_dri.so + 0x9d3ad) #5 0x000076c9d86a6ded n/a (libc.so.6 + 0x92ded) #6 0x000076c9d872a0dc n/a (libc.so.6 + 0x1160dc) Stack trace of thread 4439: #0 0x000076c9d86a34e9 n/a (libc.so.6 + 0x8f4e9) #1 0x000076c9d86a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9) #2 0x000076c9c809d47e n/a (iris_dri.so + 0x9d47e) #3 0x000076c9c807b22c n/a (iris_dri.so + 0x7b22c) #4 0x000076c9c809d3ad n/a (iris_dri.so + 0x9d3ad) #5 0x000076c9d86a6ded n/a (libc.so.6 + 0x92ded) #6 0x000076c9d872a0dc n/a (libc.so.6 + 0x1160dc) Stack trace of thread 4440: #0 0x000076c9d86a34e9 n/a (libc.so.6 + 0x8f4e9) #1 0x000076c9d86a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9) #2 0x000076c9c809d47e n/a (iris_dri.so + 0x9d47e) #3 0x000076c9c807b22c n/a (iris_dri.so + 0x7b22c) #4 0x000076c9c809d3ad n/a (iris_dri.so + 0x9d3ad) #5 0x000076c9d86a6ded n/a (libc.so.6 + 0x92ded) #6 0x000076c9d872a0dc n/a (libc.so.6 + 0x1160dc) Stack trace of thread 4442: #0 0x000076c9d86a34e9 n/a (libc.so.6 + 0x8f4e9) #1 0x000076c9d86a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9) #2 0x000076c9c809d47e n/a (iris_dri.so + 0x9d47e) #3 0x000076c9c807b22c n/a (iris_dri.so + 0x7b22c) #4 0x000076c9c809d3ad n/a (iris_dri.so + 0x9d3ad) #5 0x000076c9d86a6ded n/a (libc.so.6 + 0x92ded) #6 0x000076c9d872a0dc n/a (libc.so.6 + 0x1160dc) ELF object binary architecture: AMD x86-64 ```
jinnko commented 3 months ago

I'm not on nvidia and I'm a experiencing this since a few weeks. Am up to date on Arch running 0.41.2-1 currently.

crash log ``` -------------------------------------------- Hyprland Crash Report -------------------------------------------- *thud* Hyprland received signal 11(SEGV) Version: 918d8340afd652b011b937d29d5eea0be08467f5 Tag: v0.41.2 System info: System name: Linux Node name: teto Release: 6.9.6-zen1-1-zen Version: #1 ZEN SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:48:59 +0000 GPU: 08:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev d1) (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://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo Backtrace: # | Hyprland(_Z12getBacktracev+0x61) [0x5a0ded345811] getBacktrace() ??:? #1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xb49) [0x5a0ded2d8479] CrashReporter::createAndSaveCrash(int) ??:? #2 | Hyprland(_Z25handleUnrecoverableSignali+0x71) [0x5a0ded25bf91] handleUnrecoverableSignal(int) ??:? #3 | /usr/lib/libc.so.6(+0x3cae0) [0x709d82938ae0] ?? ??:0 #4 | Hyprland(+0x2f2e2b) [0x5a0ded40ce2b] CGammaControl::applyToMonitor() ??:? #5 | Hyprland(+0x3f7306) [0x5a0ded511306] CXWM::onEvent(int, unsigned int) ??:? #6 | /usr/lib/libffi.so.8(+0x7596) [0x709d82e95596] ?? ??:0 #7 | /usr/lib/libffi.so.8(+0x400e) [0x709d82e9200e] ?? ??:0 #8 | /usr/lib/libffi.so.8(ffi_call+0x123) [0x709d82e94bd3] ?? ??:0 #9 | /usr/lib/libwayland-server.so.0(+0x6e45) [0x709d83331e45] ?? ??:0 #1 | /usr/lib/libwayland-server.so.0(+0xbc42) [0x709d83336c42] ?? ??:0 #11 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x1f2) [0x709d833350a2] ?? ??:0 #12 | /usr/lib/libwayland-server.so.0(wl_display_run+0x2f) [0x709d8333710f] ?? ??:0 #13 | Hyprland(_ZN17CEventLoopManager9enterLoopEP10wl_displayP13wl_event_loop+0x59) [0x5a0ded3b7f69] CEventLoopManager::enterLoop(wl_display*, wl_event_loop*) ??:? #14 | Hyprland(main+0xa0b) [0x5a0ded21fd5b] main ??:? #15 | /usr/lib/libc.so.6(+0x25c88) [0x709d82921c88] ?? ??:0 #16 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x709d82921d4c] ?? ??:0 #17 | Hyprland(_start+0x25) [0x5a0ded258e25] _start ??:? Log tail: [LOG] [LinuxDMABUF] | plane 1: mod 144115206334822913 fd 157 stride 4096 offset 33423360 [LOG] [LinuxDMABUF] Creating a dmabuf, with id 32: size [Vector2D: x: 3840, y: 2118], fmt 875713112, planes 2 [LOG] [LinuxDMABUF] | plane 0: mod 144115206334822913 fd 143 stride 15360 offset 0 [LOG] [LinuxDMABUF] | plane 1: mod 144115206334822913 fd 147 stride 4096 offset 33423360 [LOG] [LinuxDMABUF] Creating a dmabuf, with id 40: size [Vector2D: x: 3840, y: 2118], fmt 875713112, planes 2 [LOG] [LinuxDMABUF] | plane 0: mod 144115206334822913 fd 73 stride 15360 offset 0 [LOG] [LinuxDMABUF] | plane 1: mod 144115206334822913 fd 85 stride 4096 offset 33423360 [LOG] Hiding the cursor (hl-mandated) [libseat] [libseat/backend/logind.c:199] Could not close device: Device not taken [backend/session/session.c:353] Failed to close device 47: Resource temporarily unavailable [LOG] Callback 5a0e24ba6740 -> 5a0e24ba6738, CKeyboard removed. [LOG] Callback 5a0e24ba67a8 -> 5a0e24ba67a0, CKeyboard removed. [LOG] Callback 5a0e24ba6878 -> 5a0e24ba6870, CKeyboard removed. [LOG] Callback 5a0e24ba68e0 -> 5a0e24ba68d8, CKeyboard removed. [LOG] Callback 5a0e24ba6810 -> 5a0e24ba6808, CKeyboard removed. [LOG] Destroyed keyboard 5a0e24ba64f0 [LOG] Destroy called for monitor DP-2 [LOG] onDisconnect called for DP-2 [LOG] Callback 5a0e250441a0 -> 5a0e25044198, CMonitor removed. [LOG] Callback 5a0e25044478 -> 5a0e25044470, CMonitor removed. [LOG] Callback 5a0e250442d8 -> 5a0e250442d0, CMonitor removed. [LOG] Callback 5a0e25044340 -> 5a0e25044338, CMonitor removed. [LOG] Callback 5a0e250443a8 -> 5a0e250443a0, CMonitor removed. [LOG] Callback 5a0e25044410 -> 5a0e25044408, CMonitor removed. [LOG] Removed monitor DP-2! [WARN] Unplugged last monitor, entering an unsafe state. Good luck my friend. [LOG] Entering unsafe state [LOG] Registered signal for owner 5a0e2502d0a0: 5a0e2502eac8 -> 5a0e2502d5a8 (owner: CMonitor) [LOG] Registered signal for owner 5a0e2502d0a0: 5a0e2502eb58 -> 5a0e2502d610 (owner: CMonitor) [LOG] Registered signal for owner 5a0e2502d0a0: 5a0e2502eb48 -> 5a0e2502d678 (owner: CMonitor) [LOG] Registered signal for owner 5a0e2502d0a0: 5a0e2502ead8 -> 5a0e2502d6e0 (owner: CMonitor) [LOG] Registered signal for owner 5a0e2502d0a0: 5a0e2502eae8 -> 5a0e2502d748 (owner: CMonitor) [LOG] Registered signal for owner 5a0e2502d0a0: 5a0e2502eb08 -> 5a0e2502d7b0 (owner: CMonitor) [LOG] Registered signal for owner 5a0e2502d0a0: 5a0e2502eb28 -> 5a0e2502d818 (owner: CMonitor) [LOG] Registered signal for owner 5a0e2502d0a0: 5a0e2502eb18 -> 5a0e2502d880 (owner: CMonitor) [WARN] No rule found for HEADLESS-1, trying to use the first. [LOG] Applying monitor rule for HEADLESS-1 [LOG] output HEADLESS-1 succeeded basic test on format DRM_FORMAT_XRGB8888 [LOG] Monitor HEADLESS-1 -> destroyed all render data [LOG] arrangeMonitors: 2 to arrange [LOG] arrangeMonitors: DP-2 explicit [0, 0] [LOG] arrangeMonitors: HEADLESS-1 explicit [0, 0] [LOG] arrangeMonitors: DP-2 xwayland [0, 0] [LOG] arrangeMonitors: HEADLESS-1 xwayland [3840, 0] [LOG] Monitor HEADLESS-1 data dump: res 1920x1080@60.00Hz, scale 1.00, transform 0, pos 0x0, 10b 0 [LOG] Registered signal for owner 5a0e23c404d0: 5a0e273d7c18 -> 5a0e23c40588 (owner: CPointerManager) [LOG] Registered signal for owner 5a0e249b9a20: 5a0e273071e8 -> 5a0e249b9a30 (owner: CRenderbuffer) [LOG] Callback 5a0e249b9a58 -> 5a0e249b9a50, CRenderbuffer removed. [LOG] Registered signal for owner 5a0e249b9a20: 5a0e273071e8 -> 5a0e249b9a30 (owner: CRenderbuffer) [LOG] Callback 5a0e249b9a58 -> 5a0e249b9a50, CRenderbuffer removed. [LOG] Added new monitor with name HEADLESS-1 at [0, 0] with size [1920, 1080], pointer 5a0e2502ea20 [LOG] New monitor: WORKSPACEID 1, exists: 0 [LOG] [WLOutput (HEADLESS-1)] Registered global [LOG] Callback 5a0e2528f9b8 -> 5a0e2528f9b0, CRenderbuffer removed. [LOG] Callback 5a0e24ffd4b8 -> 5a0e24ffd4b0, CRenderbuffer removed. [LOG] Removing monitor DP-2 from realMonitors [LOG] Callback 5a0e25044208 -> 5a0e25044200, CMonitor removed. [LOG] Callback 5a0e25044270 -> 5a0e25044268, CMonitor removed. ```
cjk commented 3 months ago

Also getting hyperlock-crashes on latest version and Radeon graphics after wakeup from suspend:

image

janbaer commented 3 months ago

I'm experiencing a similar problem, that after wakeup from suspend the monitor turns black after a short moment. This is on different systems the same behavior. One systems has a builtin Intel Graphic card, the other system is running with AMD builtin graphics. I have the problem since v0.40.0 and I hoped it would be fixed with v0.41.1, but unfortunately it's still happend. Downgrading to v0.39.x was fixing the problem for me, but it's just a temporary solution...

Is there any other way to revive the current Hyprland session without rebooting the system? Any ideas what could be the problem at all? It looks like not an Nvidia problem so the solutions from here doesn't help.

Chais commented 3 months ago

Downgrading to v0.39.x was fixing the problem for me, but it's just a temporary solution...

So that suggests this actually is a regression. Should probably update that in the opening post.

Filz0r commented 3 months ago

I've had similar issues with my Arch Laptop, for the past month, but in my case it also happens when I'm using Jetbrains IDE's, since the tooltips count as actual application windows in XWayland. I assumed it had something to do with the IDE as the crashes mostly happen after a wake from a suspension/swaylock that goes straight into using the IDE. I've been trying to recreate the issue without constantly suspending and waking the device but I haven't been able to, the reason why I say this feels like an IDE issue is quite simple, before having a coredump, actually an IOT instruction failed is what appears in the TTY, hyprland starts killing all XWayland windows and stops being able to launch them, the only way to fix this issue in my case is to manually close hyprland and launch it again.

I'm not the best C++ developer, but from what I understand of the language these kinds of coredumps usually happen when an thrown exception is not catched or when a double free happens. I cannot confirm from which version of Hyprland this started to happen, since I'm constantly clearing my cached apps from the AUR/pacman because of lack of space, but I can say that this issue, for me, started close to 2 months ago, and has persisted up until version 0.41.1-1, I just updated to 0.41.1-2 and I haven't found this issue yet. The reason why I feel my issue is related to this one, is because since the IDE's I use are one of the few XWayland applications I use on this computer and Hyprland starts killing the applications and stops being able to launch them, and after a couple minutes it just crashes, or it just straight up crashes a couple minutes after a suspension wake/unlock.

But with all that said, I'm not sure if my issue is 100% related to this one, the WM does crash after an unlock/wake but it mostly only happens when I have CLion/Webstorm open when I suspend/lock the computer and then start hovering variable types to look at documentation, causing the tooltips that are actually windows to constantly open and close. I would love to give more details about how to reproduce this issue more easily but I just don't have the time or the know how. But if any of the contributors have any ideas on how I can try to make it more reproducible based on my findings please let me know and I'll try to spend a day or two trying them out.

bobblkabb commented 2 months ago

Hello,

Am I in the right place with my problem? I have crashes several times a day, which lead to a restart of the hyprland session. Sometimes I also have a "red screen" where I can no longer do anything. Then only the power button works, which shuts down the machine. Yesterday and today this happened exactly at 9 a.m., just in time for the breakfast break.

How can I investigate the problem? Logs? Commands?

By the way, I use swaylock-effects on openSUSE Tumbleweed. hyprland 0.41.2 I don't use dpms, only locks. I don't have a special graphics card, only onbaord.

bobblkabb commented 2 months ago

...seems to be much better since I use hyprlock instead of swaylock-effects.

janbaer commented 2 months ago

I can confirm, that after switching from swaylock-effects to hyprlock the problem never happened again.

Chais commented 2 months ago

I am running hyprlock, so I don't think that's it.

Filz0r commented 2 months ago

From what I could tell this wasn't an issue caused by the screen locking application, from what I read a while back regarding screen locks on wayland they do have access to the window manager process, but only in order to kill it in case someone tries to manually kill the screen locking process, aka the red screen of death, the issue we were experiencing is most likely because after a system wake up, some memory address had changed/corrupted and when hyprland tried to use that address an unexpected error was not being handled correctly, aka inside a try catch block or something like that, only the maintainers/developers that are working on this issue are able to actually figure out what the actual issue is, as this is an issue that requires know-how regarding the code-base in order to properly identify/fix the issue.

It feels like the issue is related to #6601 . Because when I was having crashes every couple hours it always started when XWayland windows were constantly opening and closing, a known issue for JetBrains IDE's on Linux, this would make hyprland start closing applications on its own and eventually would stop being able to open XWayland windows, leading up to a crash, however as I stated in my first comment, sometimes this behaviour wouldn't happen and hyprland would just crash after a system wake, regardless if it had a screen locker behind it or not.

After updating to v0.41-2 I stopped having these issues, however I haven't been using a locker in a while, because that computer hasn't left the house in a while so there has been no need for me to lock the computer, I'm going to add a hook to the computer lid switch so that it calls swaylock when I close the lid of the computer to test this theory that the screen locker causes issues, and I'm also going to try and abuse this JetBrains IDE issue to see if I can get crashes again. If I'm able to reproduce this issue with screen locking tools I'll report back with the versions that are affected by it. (I'm going to try with v0.41-2 first and then update to a newer version if it exists)