Package: xwayland
Version: 2:24.1.6-1
Severity: important
X-Debbugs-Cc: ew...@ewhac.org

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

        I'm running Hyprland 0.41.2+ds-1.3, along with NVIDIA
proprietary drivers (535.216.03-3).  Prior to this point, I had noticed
that programs couldn't use Vulkan any longer (`vulkaninfo` reported
error -4 (VK_DEVICE_LOST) when calling vkCreateInstance()) and I was
looking in to possible causes.  I then upgraded several Mesa components
from 25.0.2-1 to 25.0.3-1, and now Xwayland crashes with SIGABRT when
the first client tries to connect.

        `coredumpctl debug Xwayland` with a backtrace reports as follows:

----
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal' can see all messages.
      Pass -q to turn off this notice.
           PID: 2054 (Xwayland)
           UID: 1000 (ewhac)
           GID: 1000 (ewhac)
        Signal: 6 (ABRT)
     Timestamp: Thu 2025-04-03 14:45:29 PDT (3h 29min ago)
  Command Line: Xwayland :0 -rootless -core -listenfd 41 -listenfd 42 
-displayfd 82 -wm 79
    Executable: /usr/bin/Xwayland
 Control Group: /user.slice/user-1000.slice/session-3.scope
          Unit: session-3.scope
         Slice: user-1000.slice
       Session: 3
     Owner UID: 1000 (ewhac)
       Boot ID: f5406ae02aac4e0d9f33efc46ca82bce
    Machine ID: b4b1e0a704f14d6c851e6ae4310e8d70
      Hostname: exiguous
       Storage: 
/var/lib/systemd/coredump/core.Xwayland.1000.f5406ae02aac4e0d9f33efc46ca82bce.2054.1743716729000000.zst
 (present)
  Size on Disk: 40.2M
       Message: Process 2054 (Xwayland) of user 1000 dumped core.

                Module libsystemd.so.0 from deb systemd-257.4-9.amd64
                Module libstdc++.so.6 from deb gcc-14-14.2.0-19.amd64
                Module libzstd.so.1 from deb libzstd-1.5.7+dfsg-1.amd64
                Module libgcc_s.so.1 from deb gcc-14-14.2.0-19.amd64
                Stack trace of thread 2054:
                #0  0x00007f387f36f95c __pthread_kill_implementation (libc.so.6 
+ 0x9495c)
                #1  0x00007f387f31acc2 __GI_raise (libc.so.6 + 0x3fcc2)
                #2  0x00007f387f3034ac __GI_abort (libc.so.6 + 0x284ac)
                #3  0x0000560fbd3301c0 n/a (/usr/bin/Xwayland + 0x1991c0)
                #4  0x0000560fbd3349b9 n/a (/usr/bin/Xwayland + 0x19d9b9)
                #5  0x0000560fbd335ab9 n/a (/usr/bin/Xwayland + 0x19eab9)
                #6  0x0000560fbd32d2a9 n/a (/usr/bin/Xwayland + 0x1962a9)
                #7  0x00007f387f31adf0 __restore_rt (libc.so.6 + 0x3fdf0)
                #8  0x00007f387ebe04c0 n/a (libnvidia-tls.so.535.216.03 + 
0x34c0)
                ELF object binary architecture: AMD x86-64

GNU gdb (Debian 16.2-8) 16.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/Xwayland...
(No debugging symbols found in /usr/bin/Xwayland)

warning: Can't open file /dev/shm/wlroots-LDNcje (deleted) during file-backed 
mapping note processing

warning: Can't open file /memfd:/.glXXXXXX (deleted) during file-backed mapping 
note processing

warning: Can't open file /dev/shm/b95dab66-91bb-449f-b29a-bd8300a53268 
(deleted) during file-backed mapping note processing
[New LWP 2054]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `Xwayland :0 -rootless -core -listenfd 41 -listenfd 42 
-displayfd 82 -wm 79'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, 
signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44

warning: 44     ./nptl/pthread_kill.c: No such file or directory
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, 
signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1  0x00007f387f36f9ff in __pthread_kill_internal (threadid=<optimized out>, 
signo=6) at ./nptl/pthread_kill.c:89
#2  0x00007f387f31acc2 in __GI_raise (sig=sig@entry=6) at 
../sysdeps/posix/raise.c:26
#3  0x00007f387f3034ac in __GI_abort () at ./stdlib/abort.c:73
#4  0x0000560fbd3301c0 in ?? ()
#5  0x0000560fbd3349b9 in ?? ()
#6  0x0000560fbd335ab9 in ?? ()
#7  0x0000560fbd32d2a9 in ?? ()
#8  <signal handler called>
#9  0x00007f387ebe04c0 in ?? () from 
/lib/x86_64-linux-gnu/libnvidia-tls.so.535.216.03
#10 0x00007f3878a4124c in give_pwd_free (pwd=pwd@entry=0x7ffcd98a55f0) at 
nss_compat/compat-pwd.c:106
#11 0x00007f3878a412e2 in internal_setpwent (ent=ent@entry=0x7ffcd98a55d0, 
stayopen=stayopen@entry=0, needent=needent@entry=0) at 
nss_compat/compat-pwd.c:234
#12 0x00007f3878a42a70 in _nss_compat_getpwuid_r (uid=<optimized out>, 
pwd=<optimized out>, buffer=0x560ff53bb310 "\273S\377`\005", buflen=1024, 
errnop=<optimized out>) at nss_compat/compat-pwd.c:1067
#13 0x00007f387f41d961 in __getpwuid_r (uid=uid@entry=1000, 
resbuf=resbuf@entry=0x7f387f4d0440 <resbuf>, buffer=<optimized out>, 
buflen=buflen@entry=1024, result=result@entry=0x7ffcd98a5770) at 
../nss/getXXbyYY_r.c:273
#14 0x00007f387f41d768 in getpwuid (uid=1000) at ../nss/getXXbyYY.c:140
#15 0x0000560fbd327820 in ?? ()
#16 0x0000560fbd327ad8 in ?? ()
#17 0x0000560fbd3397a7 in ?? ()
#18 0x0000560fbd329ff6 in ?? ()
#19 0x0000560fbd252cdb in ?? ()
#20 0x0000560fbd25329c in ?? ()
#21 0x0000560fbd257554 in ?? ()
#22 0x00007f387f304ca8 in __libc_start_call_main 
(main=main@entry=0x560fbd1d1c10, argc=argc@entry=12, 
argv=argv@entry=0x7ffcd98a5b68) at ../sysdeps/nptl/libc_start_call_main.h:58
#23 0x00007f387f304d65 in __libc_start_main_impl (main=0x560fbd1d1c10, argc=12, 
argv=0x7ffcd98a5b68, init=<optimized out>, fini=<optimized out>, 
rtld_fini=<optimized out>, stack_end=0x7ffcd98a5b58)
    at ../csu/libc-start.c:360
#24 0x0000560fbd1d1c41 in ?? ()
----

        To reproduce on my system:
        - Open two Wayland-compatible terminals.
        - From the first, launch `Xwayland -verbose 7`.  A window will
          appear.
        - From the second, launch an X client, such as `xterm`.

        Xwayland will crash as above and the window will close.

        To verify that it's (probably) not my janky Hyprland setup
causing problems, I rebooted and logged in to a Plasma Wayland session,
and attempted to run `xterm`.  It failed, reporting that it couldn't
connect to the DISPLAY, and `pgrep` showed that Xwayland was not
running.

        Thank you for your time.

                                        Schwab

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.21-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xwayland depends on:
ii  libc6               2.41-6
ii  libdecor-0-0        0.2.2-2
ii  libdrm2             2.4.124-2
ii  libepoxy0           1.5.10-2
ii  libgbm1             25.0.3-1
ii  libgcrypt20         1.11.0-7
ii  libgl1              1.7.0-1+b2
ii  libpixman-1-0       0.44.0-3
ii  libtirpc3t64        1.3.6+ds-1
ii  libwayland-client0  1.23.1-3
ii  libxau6             1:1.0.11-1
ii  libxcvt0            0.1.3-1
ii  libxdmcp6           1:1.1.5-1
ii  libxfont2           1:2.0.6-1+b3
ii  libxshmfence1       1.3.3-1
ii  xserver-common      2:21.1.16-1

xwayland recommends no packages.

xwayland suggests no packages.

-- no debconf information

Reply via email to