Hyprland: XWayland connection permanently dies at random occasions

Hyprland Version

hyprland 0.35.0-2
hyprland, built from branch main at commit b9c1414f25bfe6972d1996b79566f63c215ec78a dirty (border: fix missed translate by offset).
Date: Sat Dec 23 10:11:26 2023
Tag: v0.33.1-79-gb9c1414f

flags: (if any)
debug

Bug or Regression?

Bug

Description

Hello, I’ve encountered an unusual problem, and I’m not sure if it’s related to Hyprland or EndeavourOS. My setup includes an NVIDIA RTX 4090 and I’m running Hyprland on EndeavourOS. I can open applications and they work normally, but specific actions cause issues. For example, in Opera, when I attempt to open a file selection dialog or use drag-and-drop features, the application unexpectedly closes. This issue isn’t limited to Opera; it also affects other applications like Google Chrome and Java apps, but not my terminal windows or Firefox. Additionally, when I try to open virtual machines in VirtualBox, it triggers a stack trace. Here are the details of the stack trace.

To open again all the applications, I need reboot the system.

How to reproduce

For example, in Opera, when I attempt to open a file selection dialog or use drag-and-drop features, the application unexpectedly closes. This issue isn’t limited to Opera; it also affects other applications like Google Chrome and Java apps, but not my terminal windows or Firefox. Additionally, when I try to open virtual machines in VirtualBox, it triggers a stack trace. Here are the details of the stack trace.

Crash reports, logs, images, videos

journalctl -b -1

                                                 
                                                 Stack trace of thread 1962:
                                                 #0  0x000075d60582df9e n/a (libsdbus-c++.so.1 + 0x19f9e)
                                                 #1  0x000075d60583887e n/a (libsdbus-c++.so.1 + 0x2487e)
                                                 #2  0x000075d605838d8a n/a (libsdbus-c++.so.1 + 0x24d8a)
                                                 #3  0x00005e7e2f7e6840 n/a (xdg-desktop-portal-hyprland + 0x1f840)
                                                 #4  0x00005e7e2f7e6a35 n/a (xdg-desktop-portal-hyprland + 0x1fa35)
                                                 #5  0x000075d605170b36 n/a (libc.so.6 + 0x3eb36)
                                                 #6  0x000075d605170c80 exit (libc.so.6 + 0x3ec80)
                                                 #7  0x000075d605157cd7 n/a (libc.so.6 + 0x25cd7)
                                                 #8  0x000075d605157d8a __libc_start_main (libc.so.6 + 0x25d8a)
                                                 #9  0x00005e7e2f7d8f25 n/a (xdg-desktop-portal-hyprland + 0x11f25)
                                                 ELF object binary architecture: AMD x86-64
feb 18 17:09:54 pois0n systemd[1]: systemd-coredump@3-257023-0.service: Deactivated successfully.
feb 18 17:09:54 pois0n systemd-coredump[257059]: [🡕] Process 250952 (electron) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 250952:
                                                 #0  0x00007701532ab002 n/a (libc.so.6 + 0x8d002)
                                                 #1  0x000059920d4b517f uv_thread_join (electron + 0x214517f)
                                                 #2  0x000059920d65d4c8 n/a (electron + 0x22ed4c8)
                                                 #3  0x000059920d6995bf n/a (electron + 0x23295bf)
                                                 #4  0x000059920d5ad1c9 n/a (electron + 0x223d1c9)
                                                 #5  0x000059920d5ad2ae n/a (electron + 0x223d2ae)
                                                 #6  0x000059920fb8c6ee n/a (electron + 0x481c6ee)
                                                 #7  0x000059920fb8c86e n/a (electron + 0x481c86e)
                                                 #8  0x000059920fb90c35 n/a (electron + 0x4820c35)
                                                 #9  0x000059920fb90778 n/a (electron + 0x4820778)
                                                 #10 0x000059920fb8c2ba n/a (electron + 0x481c2ba)
                                                 #11 0x000059920d7f439a n/a (electron + 0x248439a)
                                                 #12 0x000059920d7f5ab0 n/a (electron + 0x2485ab0)
                                                 #13 0x000059920d7f5901 n/a (electron + 0x2485901)
                                                 #14 0x000059920d7f3080 n/a (electron + 0x2483080)
                                                 #15 0x000059920d7f35ac n/a (electron + 0x24835ac)
                                                 #16 0x000059920d4bb7a6 n/a (electron + 0x214b7a6)
                                                 #17 0x0000770153243cd0 n/a (libc.so.6 + 0x25cd0)
                                                 #18 0x0000770153243d8a __libc_start_main (libc.so.6 + 0x25d8a)
                                                 #19 0x000059920d1e2025 _start (electron + 0x1e72025)
                                                 
                                                 Stack trace of thread 251021:
                                                 #0  0x00007701532a5ebe n/a (libc.so.6 + 0x87ebe)
                                                 #1  0x00007701532a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                                                 #2  0x0000599210d6690e n/a (electron + 0x59f690e)
                                                 #3  0x0000599210d8c3ff n/a (electron + 0x5a1c3ff)
                                                 #4  0x0000599210d1e03c n/a (electron + 0x59ae03c)
                                                 #5  0x0000599210d4e00e n/a (electron + 0x59de00e)
                                                 #6  0x0000599210d4eced n/a (electron + 0x59deced)
                                                 #7  0x0000599210d4e92a n/a (electron + 0x59de92a)
                                                 #8  0x0000599210d4e782 n/a (electron + 0x59de782)
                                                 #9  0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #10 0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #11 0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251017:
                                                 #0  0x000077015330fec7 wait4 (libc.so.6 + 0xf1ec7)
                                                 #1  0x0000599210d81d5b n/a (electron + 0x5a11d5b)
                                                 #2  0x0000599210d82814 n/a (electron + 0x5a12814)
                                                 #3  0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #4  0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #5  0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251018:
                                                 #0  0x0000770153326e66 epoll_wait (libc.so.6 + 0x108e66)
                                                 #1  0x0000599210eb8d5c n/a (electron + 0x5b48d5c)
                                                 #2  0x0000599210eb652c n/a (electron + 0x5b4652c)
                                                 #3  0x0000599210d8756c n/a (electron + 0x5a1756c)
                                                 #4  0x0000599210d38647 n/a (electron + 0x59c8647)
                                                 #5  0x0000599210d04385 n/a (electron + 0x5994385)
                                                 #6  0x0000599210d54547 n/a (electron + 0x59e4547)
                                                 #7  0x0000599210d430cb n/a (electron + 0x59d30cb)
                                                 #8  0x0000599210d5473c n/a (electron + 0x59e473c)
                                                 #9  0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #10 0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #11 0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251011:
                                                 #0  0x00007701533190bf __poll (libc.so.6 + 0xfb0bf)
                                                 #1  0x00005992102f2912 n/a (electron + 0x4f82912)
                                                 #2  0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #3  0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #4  0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251028:
                                                 #0  0x00007701532a5ebe n/a (libc.so.6 + 0x87ebe)
                                                 #1  0x00007701532b1470 n/a (libc.so.6 + 0x93470)
                                                 #2  0x000059920d4b5656 uv_sem_wait (electron + 0x2145656)
                                                 #3  0x000059921501e0ac n/a (electron + 0x9cae0ac)
                                                 #4  0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #5  0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251019:
                                                 #0  0x00007701532a5ebe n/a (libc.so.6 + 0x87ebe)
                                                 #1  0x00007701532a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                                                 #2  0x0000599210d6690e n/a (electron + 0x59f690e)
                                                 #3  0x0000599210d8c3ff n/a (electron + 0x5a1c3ff)
                                                 #4  0x0000599210d1e03c n/a (electron + 0x59ae03c)
                                                 #5  0x0000599210d4e00e n/a (electron + 0x59de00e)
                                                 #6  0x0000599210d4eced n/a (electron + 0x59deced)
                                                 #7  0x0000599210d4e8da n/a (electron + 0x59de8da)
                                                 #8  0x0000599210d4e756 n/a (electron + 0x59de756)
                                                 #9  0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #10 0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #11 0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251023:
                                                 #0  0x00007701532a5ebe n/a (libc.so.6 + 0x87ebe)
                                                 #1  0x00007701532a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                                                 #2  0x0000599210d6690e n/a (electron + 0x59f690e)
                                                 #3  0x0000599210d8c3ff n/a (electron + 0x5a1c3ff)
                                                 #4  0x0000599210d1e03c n/a (electron + 0x59ae03c)
                                                 #5  0x0000599210d1df93 n/a (electron + 0x59adf93)
                                                 #6  0x0000599210ce470d n/a (electron + 0x597470d)
                                                 #7  0x0000599210d38647 n/a (electron + 0x59c8647)
                                                 #8  0x0000599210d04385 n/a (electron + 0x5994385)
                                                 #9  0x0000599210d54547 n/a (electron + 0x59e4547)
                                                 #10 0x0000599210d5473c n/a (electron + 0x59e473c)
                                                 #11 0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #12 0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #13 0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 
                                                 Stack trace of thread 251020:
                                                 #0  0x00007701532a5ebe n/a (libc.so.6 + 0x87ebe)
                                                 #1  0x00007701532a8750 pthread_cond_wait (libc.so.6 + 0x8a750)
                                                 #2  0x0000599210d6690e n/a (electron + 0x59f690e)
                                                 #3  0x0000599210d8c3ff n/a (electron + 0x5a1c3ff)
                                                 #4  0x0000599210d1e03c n/a (electron + 0x59ae03c)
                                                 #5  0x0000599210d4e00e n/a (electron + 0x59de00e)
                                                 #6  0x0000599210d4ea86 n/a (electron + 0x59dea86)
                                                 #7  0x0000599210d4e8da n/a (electron + 0x59de8da)
                                                 #8  0x0000599210d4e756 n/a (electron + 0x59de756)
                                                 #9  0x0000599210d6724c n/a (electron + 0x59f724c)
                                                 #10 0x00007701532a955a n/a (libc.so.6 + 0x8b55a)
                                                 #11 0x0000770153326a3c n/a (libc.so.6 + 0x108a3c)
                                                 ELF object binary architecture: AMD x86-64
feb 18 17:09:54 pois0n systemd[1]: systemd-coredump@6-257038-0.service: Deactivated successfully.
feb 18 17:09:55 pois0n systemd-coredump[257058]: [🡕] Process 254300 (code) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 254300:
                                                 #0  0x000077546428c32c n/a (libc.so.6 + 0x8d32c)
                                                 #1  0x000077546423b6c8 raise (libc.so.6 + 0x3c6c8)
                                                 #2  0x00007754642234b8 abort (libc.so.6 + 0x244b8)
                                                 #3  0x0000775464224395 n/a (libc.so.6 + 0x25395)
                                                 #4  0x000077546427fc7b __libc_fatal (libc.so.6 + 0x80c7b)
                                                 #5  0x0000775464291d5d sem_post (libc.so.6 + 0x92d5d)
                                                 #6  0x00005ffe207aa4a7 uv_sem_post (code + 0x201c4a7)
                                                 #7  0x00005ffe209138e7 n/a (code + 0x21858e7)
                                                 #8  0x00005ffe20949f9e n/a (code + 0x21bbf9e)
                                                 #9  0x00005ffe20882c1d n/a (code + 0x20f4c1d)
                                                 #10 0x00005ffe20882cde n/a (code + 0x20f4cde)
                                                 #11 0x00005ffe22903fcb n/a (code + 0x4175fcb)
                                                 #12 0x00005ffe2290410e n/a (code + 0x417610e)
                                                 #13 0x00005ffe22908359 n/a (code + 0x417a359)
                                                 #14 0x00005ffe22907eb8 n/a (code + 0x4179eb8)
                                                 #15 0x00005ffe22903c0e n/a (code + 0x4175c0e)
                                                 #16 0x00005ffe20a6d244 n/a (code + 0x22df244)
                                                 #17 0x00005ffe20a6e990 n/a (code + 0x22e0990)
                                                 #18 0x00005ffe20a6e79c n/a (code + 0x22e079c)

coredumpctl

Tue 2024-01-23 08:36:29 -05   35242 1000 1000 SIGSEGV missing   /opt/visual-studio-code/code              -
Mon 2024-01-29 15:54:36 -05  248790 1000 1000 SIGSEGV missing   /opt/visual-studio-code/code              -
Tue 2024-01-30 13:37:10 -05   82918 1000 1000 SIGILL  missing   /opt/google/chrome/chrome                 -
Tue 2024-01-30 13:37:44 -05   83808 1000 1000 SIGILL  missing   /opt/google/chrome/chrome                 -
Tue 2024-01-30 13:39:11 -05   85080 1000 1000 SIGILL  missing   /opt/google/chrome/chrome                 -
Tue 2024-01-30 13:40:13 -05   87722 1000 1000 SIGILL  missing   /opt/google/chrome/chrome                 -
Tue 2024-01-30 13:41:42 -05   88873 1000 1000 SIGILL  missing   /opt/google/chrome/chrome                 -
Tue 2024-01-30 14:00:02 -05   88404 1000 1000 SIGILL  missing   /opt/google/chrome/chrome                 -
Thu 2024-02-01 22:48:42 -05    1968 1000 1000 SIGSEGV missing   /usr/lib/xdg-desktop-portal-hyprland      -
Sat 2024-02-03 12:34:03 -05    1738 1000 1000 SIGABRT missing   /usr/bin/Hyprland                         -
Sat 2024-02-03 12:34:04 -05  533313 1000 1000 SIGSEGV missing   /usr/bin/zsh                              -
Sat 2024-02-03 12:34:05 -05   16797 1000 1000 SIGSEGV missing   /opt/visual-studio-code/code              -
Sat 2024-02-03 12:34:05 -05    3092 1000 1000 SIGABRT missing   /usr/bin/Xwayland                         -
Sat 2024-02-03 12:34:06 -05   52950 1000 1000 SIGSEGV missing   /opt/visual-studio-code/code              -
Sat 2024-02-03 12:34:07 -05    3378 1000 1000 SIGTRAP missing   /usr/lib/electron27/electron              -
Tue 2024-02-06 06:25:44 -05  907724 1000 1000 SIGSEGV present   /usr/bin/krita                        35.1M
Tue 2024-02-06 06:25:45 -05    7201 1000 1000 SIGSEGV present   /opt/google/chrome/chrome             46.9M
Tue 2024-02-06 15:39:27 -05  284829 1000 1000 SIGSEGV present   /usr/bin/krita                        35.3M
Fri 2024-02-09 09:50:27 -05 1502200 1000 1000 SIGABRT present   /usr/bin/zsh                           1.1M
Fri 2024-02-09 09:54:21 -05 1503236 1000 1000 SIGABRT present   /usr/bin/zsh                           1.1M
Fri 2024-02-09 22:08:44 -05  241474 1000 1000 SIGSEGV present   /opt/google/chrome/chrome             29.2M
Fri 2024-02-09 22:10:24 -05 1812912 1000 1000 SIGSEGV present   /opt/google/chrome/chrome             12.5M
Fri 2024-02-09 23:17:21 -05 1852389 1000 1000 SIGABRT present   /usr/bin/netcat                       23.4K
Sat 2024-02-10 00:25:04 -05 1454358 1000 1000 SIGSEGV truncated /usr/bin/kitty                         2.4M
Sat 2024-02-10 03:39:11 -05 1849406 1000 1000 SIGABRT present   /usr/bin/zsh                           1.0M
Sat 2024-02-10 14:29:18 -05 2218103 1000 1000 SIGSEGV present   /usr/lib/firefox/firefox               1.3G
Tue 2024-02-13 22:06:40 -05  655453 1000 1000 SIGSEGV present   /usr/bin/krita                        35.3M
Wed 2024-02-14 15:33:06 -05  200686 1000 1000 SIGSEGV present   /opt/visual-studio-code/code          17.1M
Sun 2024-02-18 17:09:54 -05    1962 1000 1000 SIGSEGV present   /usr/lib/xdg-desktop-portal-hyprland 191.7K
Sun 2024-02-18 17:09:55 -05  250952 1000 1000 SIGSEGV present   /usr/lib/electron27/electron           4.1M
Sun 2024-02-18 17:09:55 -05  254300 1000 1000 SIGABRT present   /opt/visual-studio-code/code           2.1M
Sun 2024-02-18 17:09:55 -05  251154 1000 1000 SIGABRT present   /opt/visual-studio-code/code           2.1M
Sun 2024-02-18 17:09:55 -05  253214 1000 1000 SIGABRT present   /usr/lib/virtualbox/VirtualBox         1.7M
Sun 2024-02-18 17:09:55 -05  197973 1000 1000 SIGABRT present   /usr/lib/virtualbox/VirtualBox         1.7M
Sun 2024-02-18 17:09:55 -05  256091 1000 1000 SIGABRT present   /usr/lib/virtualbox/VirtualBox         1.7M
Sun 2024-02-18 17:09:56 -05  256513 1000 1000 SIGSEGV present   /usr/lib/slack/slack                   3.6M

coredumpctl info 253214

           UID: 1000 (pois0n)
           GID: 1000 (pois0n)
        Signal: 6 (ABRT)
     Timestamp: Sun 2024-02-18 17:09:54 -05 (1h 29min ago)
  Command Line: /usr/lib/virtualbox/VirtualBox
    Executable: /usr/lib/virtualbox/VirtualBox
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (pois0n)
       Boot ID: 60de7b7e910e45dd9e236d2cb88f59c4
    Machine ID: 1a3542789b7249db9d2f9774b6a62a4b
      Hostname: pois0n
       Storage: /var/lib/systemd/coredump/core.VirtualBox.1000.60de7b7e910e45dd9e236d2cb88f59c4.253214.1708294194000000.zs>
  Size on Disk: 1.7M
       Message: Process 253214 (VirtualBox) of user 1000 dumped core.
                
                Stack trace of thread 253214:
                #0  0x00007d7033eab32c n/a (libc.so.6 + 0x8d32c)
                #1  0x00007d7033e5a6c8 raise (libc.so.6 + 0x3c6c8)
                #2  0x00007d7033e424b8 abort (libc.so.6 + 0x244b8)
                #3  0x00007d70354a00c2 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0xa00c2)
                #4  0x00007d7034d3f402 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x13f402)
                #5  0x00007d7034d3fa99 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13fa99)
                #6  0x00007d703569b995 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29b995)
                #7  0x00007d7034d3fb46 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13fb46)
                #8  0x00007d7034575b9e _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x175b9e)
                #9  0x0000602fe92301c3 n/a (VirtualBox + 0xac1c3)
                #10 0x0000602fe922b9f7 n/a (VirtualBox + 0xa79f7)
                #11 0x00007d7033e43cd0 n/a (libc.so.6 + 0x25cd0)
                #12 0x00007d7033e43d8a __libc_start_main (libc.so.6 + 0x25d8a)
                #13 0x0000602fe922f735 n/a (VirtualBox + 0xab735)
                
                Stack trace of thread 253231:
                #0  0x00007d7033f190bf __poll (libc.so.6 + 0xfb0bf)
                #1  0x00007d703316c2f6 n/a (libglib-2.0.so.0 + 0xb82f6)
                #2  0x00007d703310c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                #3  0x00007d70356ead0c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE>
                #4  0x00007d703569ac04 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29ac04)
                #5  0x00007d70354f7576 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf7576)
                #6  0x00007d7035f7aa9a n/a (libQt5DBus.so.5 + 0x18a9a)
                #7  0x00007d70354f379a n/a (libQt5Core.so.5 + 0xf379a)
                #8  0x00007d7033ea955a n/a (libc.so.6 + 0x8b55a)
                #9  0x00007d7033f26a3c n/a (libc.so.6 + 0x108a3c)
                ELF object binary architecture: AMD x86-64```

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Reactions: 1
  • Comments: 45 (22 by maintainers)

Commits related to this issue

Most upvoted comments

oh, that sounds great. I’ll close then. Cheers.

I’ll leave it open as the issue isn’t fixed technically, I’ll just rename it more specific

aw fuck yea I see it, it’s a typical oopsie from me.

hell yea thats a proper log, thanks. Will fix in a sec.