Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyprland crashes for some reason #6163

Closed
enk-it opened this issue May 20, 2024 · 7 comments
Closed

Hyprland crashes for some reason #6163

enk-it opened this issue May 20, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@enk-it
Copy link

enk-it commented May 20, 2024

Hyprland Version

System/Version info
Hyprland, built from branch main at commit 7c3bd4c19fe47f2d92463b81d9b38651b7a1a268  (workspace: Add fullscreen workspace selector (5640)).
Date: Sun Apr 21 02:50:08 2024
Tag: v0.39.1-21-g7c3bd4c1, commits: 4481

flags: (if any)


System Information:
System name: Linux
Node name: silencer-a320mh
Release: 6.9.1-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 17 May 2024 16:56:38 +0000


GPU information: 
10:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117 [GeForce GTX 1650] [10de:1f82] (rev a1) (prog-if 00 [VGA controller])


os-release: NAME=ArcoLinux
ID=arcolinux
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://arcolinux.info/"
SUPPORT_URL="https://arcolinuxforum.com/"
BUG_REPORT_URL="https://github.com/arcolinux"
LOGO=arcolinux-hello


plugins:

Bug or Regression?

Bug

Description

Suddenly, while using using hyprland, monitor blacked and then Hyprland session stopped, then sddm login manager appeared.

How to reproduce

Just using pc.

Crash reports, logs, images, videos

journalctl has this in the moment of crashing.
`мая 20 14:18:45 silencer-a320mh systemd-coredump[70985]: Process 60237 (Hyprland) of user 1000 dumped core.

                                                        Stack trace of thread 60237:
                                                        #0  0x0000701620dbde44 n/a (libc.so.6 + 0x94e44)
                                                        #1  0x0000701620d65a30 raise (libc.so.6 + 0x3ca30)
                                                        #2  0x0000701620d4d4c3 abort (libc.so.6 + 0x244c3)
                                                        #3  0x0000572c0f85c116 _Z25handleUnrecoverableSignali (Hyprland + 0xbb116)
                                                        #4  0x0000701620d65ae0 n/a (libc.so.6 + 0x3cae0)
                                                        #5  0x0000572c0f97366a n/a (Hyprland + 0x1d266a)
                                                        #6  0x0000572c0f92122b _ZN15CSignalListener4emitESt3any (Hyprland + 0x18022b)
                                                        #7  0x0000572c0f92135c _ZN7CSignal4emitESt3any (Hyprland + 0x18035c)
                                                        #8  0x0000572c0f989c3d _ZN20CCursorShapeProtocol10onSetShapeEP22CWpCursorShapeDeviceV1j26wpCursorShapeDeviceV1Shape (Hyprland + 0x1e8c3d)
                                                        #9  0x0000572c0f858411 n/a (Hyprland + 0xb7411)
                                                        #10 0x0000701620d25596 n/a (libffi.so.8 + 0x7596)
                                                        #11 0x0000701620d2200e n/a (libffi.so.8 + 0x400e)
                                                        #12 0x0000701620d24bd3 ffi_call (libffi.so.8 + 0x6bd3)
                                                        #13 0x000070162181bada n/a (libwayland-server.so.0 + 0x8ada)
                                                        #14 0x0000701621820180 n/a (libwayland-server.so.0 + 0xd180)
                                                        #15 0x000070162181eae2 wl_event_loop_dispatch (libwayland-server.so.0 + 0xbae2)
                                                        #16 0x000070162181f2d7 wl_display_run (libwayland-server.so.0 + 0xc2d7)
                                                        #17 0x0000572c0f85eff7 _ZN11CCompositor15startCompositorEv (Hyprland + 0xbdff7)
                                                        #18 0x0000572c0f830005 main (Hyprland + 0x8f005)
                                                        #19 0x0000701620d4ec88 n/a (libc.so.6 + 0x25c88)
                                                        #20 0x0000701620d4ed4c __libc_start_main (libc.so.6 + 0x25d4c)
                                                        #21 0x0000572c0f84a3e5 _start (Hyprland + 0xa93e5)
                                                        
                                                        Stack trace of thread 60242:
                                                        #0  0x0000701620db84e9 n/a (libc.so.6 + 0x8f4e9)
                                                        #1  0x0000701620dbaed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                        #2  0x00007016210d5e61 __gthread_cond_wait (libstdc++.so.6 + 0xd5e61)
                                                        #3  0x0000572c0f926738 n/a (Hyprland + 0x185738)
                                                        #4  0x00007016210e0c84 execute_native_thread_routine (libstdc++.so.6 + 0xe0c84)
                                                        #5  0x0000701620dbbded n/a (libc.so.6 + 0x92ded)
                                                        #6  0x0000701620e3f0dc n/a (libc.so.6 + 0x1160dc)
                                                        ELF object binary architecture: AMD x86-64`
@enk-it enk-it added the bug Something isn't working label May 20, 2024
@alllexey123
Copy link

Had the same issue. Downgrading to the latest non-git version (0.40.1) solves it.

@alllexey123
Copy link

The crashes seemed to happen randomly

@enk-it
Copy link
Author

enk-it commented May 20, 2024

The crashes seemed to happen randomly

I'll try it thanks!
By the way have you experienced absolute system freezing? Like nothing can unfreeze it, not even switching tty (ctrrl+alt+ f*) works.

@alllexey123
Copy link

No, Hyprland would usually freeze for <10 seconds and sddm would open right after that.

@DADA30000
Copy link

The crashes seemed to happen randomly

I'll try it thanks! By the way have you experienced absolute system freezing? Like nothing can unfreeze it, not even switching tty (ctrrl+alt+ f*) works.

yep, sometimes I can get that, but very rarely and often because of high system load

@EmteZogaf
Copy link

Same behavior (suddenly freezes for <10s and then sddm shows with login screen) happens sometimes (once per day) for me too.

> hyprctl version
Hyprland, built from branch  at commit fe7b748eb668136dd0558b7c8279bfcd7ab4d759  (props: bump version to 0.39.1).
Date: Tue Apr 16 16:01:03 2024
Tag: v0.39.1, commits: 4460

flags: (if any)
> sudo journalctl -r

May 20 21:18:26 UEBNCG8 sddm[1016]: Auth: sddm-helper exited with 6
May 20 21:18:26 UEBNCG8 sddm-helper[570851]: [PAM] Ended.
May 20 21:18:26 UEBNCG8 sddm-helper[570851]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
May 20 21:18:26 UEBNCG8 systemd[1286]: app-okular@1e489a29cbf14c73beded5253be7cdca.service: Consumed 7.415s CPU time, 776.0K memory peak, 0B memory swap peak.
May 20 21:18:26 UEBNCG8 systemd[1286]: app-okular@1e489a29cbf14c73beded5253be7cdca.service: Failed with result 'exit-code'.
May 20 21:18:26 UEBNCG8 systemd[1286]: app-okular@1e489a29cbf14c73beded5253be7cdca.service: Main process exited, code=exited, status=255/EXCEPTION
May 20 21:18:26 UEBNCG8 systemd[1286]: plasma-kactivitymanagerd.service: Failed with result 'exit-code'.
May 20 21:18:26 UEBNCG8 systemd[1286]: plasma-kactivitymanagerd.service: Main process exited, code=exited, status=255/EXCEPTION
May 20 21:18:26 UEBNCG8 kernel: pcieport 0000:00:08.1: PME: Spurious native interrupt!
May 20 21:18:25 UEBNCG8 sddm-helper[570851]: pam_unix(sddm:session): session closed for user dummy
May 20 21:18:25 UEBNCG8 sddm-helper[570851]: [PAM] Closing session
May 20 21:18:25 UEBNCG8 systemd[1286]: dbus-:1.2-org.kde.kded6@1.service: Failed with result 'exit-code'.
May 20 21:18:25 UEBNCG8 systemd[1286]: dbus-:1.2-org.kde.kded6@1.service: Main process exited, code=exited, status=255/EXCEPTION
May 20 21:18:25 UEBNCG8 kded6[603704]: The Wayland connection broke. Did the Wayland compositor die?
May 20 21:18:25 UEBNCG8 kactivitymanagerd[603580]: The Wayland connection broke. Did the Wayland compositor die?
May 20 21:18:25 UEBNCG8 okular[828747]: The Wayland connection broke. Did the Wayland compositor die?
May 20 21:18:25 UEBNCG8 systemd[1]: systemd-coredump@8-847045-0.service: Consumed 22.422s CPU time.
May 20 21:18:25 UEBNCG8 systemd[1]: systemd-coredump@8-847045-0.service: Deactivated successfully.
May 20 21:18:24 UEBNCG8 systemd-coredump[847046]: [🡕] Process 570863 (Hyprland) of user 1000 dumped core.

                                                       Stack trace of thread 570863:
                                                       #0  0x00007f891e3c1194 n/a (libc.so.6 + 0x90194)
                                                       #1  0x00007f891e36dd70 raise (libc.so.6 + 0x3cd70)
                                                       #2  0x00007f891e3554c0 abort (libc.so.6 + 0x244c0)
                                                       #3  0x000055f05ab150e2 _Z25handleUnrecoverableSignali (Hyprland + 0xa80e2)
                                                       #4  0x00007f891e36de20 n/a (libc.so.6 + 0x3ce20)
                                                       #5  0x00007f891e3c1194 n/a (libc.so.6 + 0x90194)
                                                       #6  0x00007f891e36dd70 raise (libc.so.6 + 0x3cd70)
                                                       #7  0x00007f891e3554c0 abort (libc.so.6 + 0x244c0)
                                                       #8  0x00007f891e3563c2 n/a (libc.so.6 + 0x253c2)
                                                       #9  0x00007f891e44c619 __fortify_fail (libc.so.6 + 0x11b619)
                                                       #10 0x00007f891e44c0f5 __fdelt_warn (libc.so.6 + 0x11b0f5)
                                                       #11 0x000055f05abac65e _Z13hyprCtlFDTickijPv (Hyprland + 0x13f65e)
                                                       #12 0x00007f891ed49ae2 wl_event_loop_dispatch (libwayland-server.so.0 + 0xbae2)
                                                       #13 0x00007f891ed4a2d7 wl_display_run (libwayland-server.so.0 + 0xc2d7)
                                                       #14 0x000055f05ab16fe3 _ZN11CCompositor15startCompositorEv (Hyprland + 0xa9fe3)
                                                       #15 0x000055f05aaf9892 main (Hyprland + 0x8c892)
                                                       #16 0x00007f891e356d4a n/a (libc.so.6 + 0x25d4a)
                                                       #17 0x00007f891e356e0c __libc_start_main (libc.so.6 + 0x25e0c)
                                                       #18 0x000055f05ab12635 _start (Hyprland + 0xa5635)

different from OP's log my dump also contains this stack trace mentioning radeonsi_dri:

                                                       Stack trace of thread 570881:
                                                       #0  0x00007f891e3bb8d9 n/a (libc.so.6 + 0x8a8d9)
                                                       #1  0x00007f891e3be299 pthread_cond_wait (libc.so.6 + 0x8d299)
                                                       #2  0x00007f8911c96b7c n/a (radeonsi_dri.so + 0x96b7c)
                                                       #3  0x00007f8911c8d8dd n/a (radeonsi_dri.so + 0x8d8dd)
                                                       #4  0x00007f891e3bf1cf n/a (libc.so.6 + 0x8e1cf)
                                                       #5  0x00007f891e4406ec n/a (libc.so.6 + 0x10f6ec)

it is repeated 25 times exactly the same with just different thread pid ending the core dump with the last one:

                                                       Stack trace of thread 570884:
                                                       #0  0x00007f891e3bb8d9 n/a (libc.so.6 + 0x8a8d9)
                                                       #1  0x00007f891e3be299 pthread_cond_wait (libc.so.6 + 0x8d299)
                                                       #2  0x00007f8911c96b7c n/a (radeonsi_dri.so + 0x96b7c)
                                                       #3  0x00007f8911c8d8dd n/a (radeonsi_dri.so + 0x8d8dd)
                                                       #4  0x00007f891e3bf1cf n/a (libc.so.6 + 0x8e1cf)
                                                       #5  0x00007f891e4406ec n/a (libc.so.6 + 0x10f6ec)
                                                       ELF object binary architecture: AMD x86-64

@vaxerski
Copy link
Member

likely #6133

@vaxerski vaxerski closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants