Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
Aleksandr Lisianoichanged title from Xorg {--}21.1.10-1{--} crashes after update to (lib32-)mesa {--}1:23.3.2-1{--} to Xorg 21.1.10-1 crashes after update to (lib32-)mesa 1:23.3.2-1
changed title from Xorg {--}21.1.10-1{--} crashes after update to (lib32-)mesa {--}1:23.3.2-1{--} to Xorg 21.1.10-1 crashes after update to (lib32-)mesa 1:23.3.2-1
❯ sudo coredumpctl debug 1143 PID: 1143 (Xorg) UID: 0 (root) GID: 0 (root) Signal: 6 (ABRT) Timestamp: Sun 2023-12-31 11:55:46 PST (18min ago) Command Line: /usr/lib/Xorg -dpi 216 -background none -seat seat0 vt2 -auth /run/sddm/xauth_BdMHfK -noreset -displayfd 16 Executable: /usr/lib/Xorg Control Group: /system.slice/sddm.service Unit: sddm.service Slice: system.slice Boot ID: eb8679fccf694e7290c232846d528390 Machine ID: ad314d5345f240edb01acc4849676791 Hostname: tyche Storage: /var/lib/systemd/coredump/core.Xorg.0.eb8679fccf694e7290c232846d528390.1143.1704052546000000.zst (present) Size on Disk: 1.5M Message: Process 1143 (Xorg) of user 0 dumped core. Stack trace of thread 1143: #0 0x00007f3ad2cb583c n/a (libc.so.6 + 0x8e83c) #1 0x00007f3ad2c65668 raise (libc.so.6 + 0x3e668) #2 0x00007f3ad2c4d4b8 abort (libc.so.6 + 0x264b8) #3 0x0000564251c6da00 OsAbort (Xorg + 0x159a00) #4 0x0000564251c6dd3b FatalError (Xorg + 0x159d3b) #5 0x0000564251c65cb6 n/a (Xorg + 0x151cb6) #6 0x00007f3ad2c65710 n/a (libc.so.6 + 0x3e710) #7 0x000056425344cb30 n/a (n/a + 0x0) ELF object binary architecture: AMD x86-64GNU gdb (GDB) 13.2Copyright (C) 2023 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-pc-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/lib/Xorg...(No debugging symbols found in /usr/lib/Xorg)warning: Can't open file /i915 (deleted) during file-backed mapping note processing[New LWP 1143][New LWP 1144][New LWP 1145][New LWP 1146]warning: .dynamic section for "/usr/lib/dri/swrast_dri.so" is not at the expected address (wrong library or version mismatch?)[Thread debugging using libthread_db enabled]Using host libthread_db library "/usr/lib/libthread_db.so.1".Core was generated by `/usr/lib/Xorg -dpi 216 -background none -seat seat0 vt2 -auth /run/sddm/xauth_B'.Program terminated with signal SIGABRT, Aborted.#0 0x00007f3ad2cb583c in ?? () from /usr/lib/libc.so.6[Current thread is 1 (Thread 0x7f3ad23435c0 (LWP 1143))](gdb) bt#0 0x00007f3ad2cb583c in ?? () from /usr/lib/libc.so.6#1 0x00007f3ad2c65668 in raise () from /usr/lib/libc.so.6#2 0x00007f3ad2c4d4b8 in abort () from /usr/lib/libc.so.6#3 0x0000564251c6da00 in OsAbort ()#4 0x0000564251c6dd3b in FatalError ()#5 0x0000564251c65cb6 in ?? ()#6 <signal handler called>#7 0x000056425344cb30 in ?? ()#8 0x00007f3ace953bbf in ?? () from /usr/lib/dri/swrast_dri.so#9 0x000056425344eed0 in ?? ()#10 0x0000000000000074 in ?? ()#11 0x0000000000000001 in ?? ()#12 0x00007f3ace34ea90 in ?? () from /usr/lib/dri/swrast_dri.so#13 0x0000000000000001 in ?? ()#14 0x1000000000000000 in ?? ()#15 0x0008000000201818 in ?? ()#16 0xfffffffffffffd08 in ?? ()#17 0x0000000000000002 in ?? ()#18 0x00007f3ad0241240 in ?? ()#19 0x00007f3ad2cc4353 in free () from /usr/lib/libc.so.6#20 0x00007f3ad0241240 in ?? ()#21 0x00007f3ad023aec0 in ?? () from /usr/lib/dri/swrast_dri.so#22 0x000056425344a700 in ?? ()#23 0x00007f3ad22b3420 in ?? () from /usr/lib/xorg/modules/extensions/libglx.so#24 0x00007f3ace34edde in ?? () from /usr/lib/dri/swrast_dri.so#25 0x00007f3ace34f6b5 in ?? () from /usr/lib/dri/swrast_dri.so#26 0x0000000000000000 in ?? ()(gdb)
I am seeing same issue, it not related to xorg version but just mesa update from 1:23.2.1-2 => 1:23.3.2-1, my machine has intel graphics
Logfile:
447.485] (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[ 447.485] (EE) AIGLX error: unable to load driver i965
I cannot confirm officially (away on hols, on mobile, no access to a computer).
Seems like an upstream regression. Someone needs to perform a git bisection to identity the offending commit and report it upstream. Someone also needs to provide a proper backtrace with debug symbols from debuginfod.
And please remember folks, empty "me too" posts are completely worthless. If you have nothing useful to add, hitting the "thumbs up" icon to indicate you are affected is enough.
Bisecting done, it appears that the "offending" commit is:
684d11421c30c0f8230ccbcc8dcc94a457eb5f44 is the first bad commitcommit 684d11421c30c0f8230ccbcc8dcc94a457eb5f44Author: Jesse Natalie <jenatali@microsoft.com>Date: Mon Dec 18 10:44:25 2023 -0800 d3d12: Only destroy the winsys during screen destruction, not reset Fixes: 81c8e89f ("d3d12: Fix screen->winsys leak in d3d12_screen") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26744> (cherry picked from commit 325fb6e26b62326c86514d263ffedd241fd36865) .pick_status.json | 2 +- src/gallium/drivers/d3d12/d3d12_screen.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
$ git bisect loggit bisect start# status: waiting for both good and bad commits# good: [6cdc2b044d5cbf094540cbb562a32ecbe339fcc2] VERSION: bump for 23.3.1git bisect good 6cdc2b044d5cbf094540cbb562a32ecbe339fcc2# status: waiting for bad commit, 1 good commit known# bad: [527d45230f712e6d23c10c574b8f7a7a2f123604] VERSION: bump for 23.3.2git bisect bad 527d45230f712e6d23c10c574b8f7a7a2f123604# good: [25f02192a5ef95985dcf08a62bff8d6c56df3755] vulkan/wsi/wayland: ensure drm modifiers stored in chain are immutablegit bisect good 25f02192a5ef95985dcf08a62bff8d6c56df3755# bad: [4425ef5653565c1361b15fdf80cb00946af87bc1] radeonsi/sqtt: clear record_counts variablegit bisect bad 4425ef5653565c1361b15fdf80cb00946af87bc1# bad: [ab4a2e97a9ae8340f755193f8d0b4f8cfa929b23] egl/glx: fallback to software when Zink is forced and failsgit bisect bad ab4a2e97a9ae8340f755193f8d0b4f8cfa929b23# good: [ead6751f58c016f53fbb2793fe69b9e3e53a4dbb] iris: use intel_needs_workaround with 14015055625git bisect good ead6751f58c016f53fbb2793fe69b9e3e53a4dbb# good: [0bbbc9e7102594590afa33e7a73d4e8a55af459e] glx: Handle IGNORE_GLX_SWAP_METHOD_OML regardless of GLX_USE_APPLEGLgit bisect good 0bbbc9e7102594590afa33e7a73d4e8a55af459e# bad: [684d11421c30c0f8230ccbcc8dcc94a457eb5f44] d3d12: Only destroy the winsys during screen destruction, not resetgit bisect bad 684d11421c30c0f8230ccbcc8dcc94a457eb5f44# first bad commit: [684d11421c30c0f8230ccbcc8dcc94a457eb5f44] d3d12: Only destroy the winsys during screen destruction, not reset
$ sudo env DEBUGINFOD_URLS=https://debuginfod.archlinux.org coredumpctl debug 922 PID: 922 (Xorg) UID: 1000 (antiz) GID: 1000 (antiz) Signal: 6 (ABRT) Timestamp: Mon 2024-01-01 16:20:38 CET (1h 3min ago) Command Line: /usr/lib/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.BWfWD7eZp8 Executable: /usr/lib/Xorg Control Group: /user.slice/user-1000.slice/session-1.scope Unit: session-1.scope Slice: user-1000.slice Session: 1 Owner UID: 1000 (antiz) Boot ID: 235d15a320664656a6447548e74923ac Machine ID: 3b76e1395cc8432a965167e92733a634 Hostname: Arch-Desktop Storage: /var/lib/systemd/coredump/core.Xorg.1000.235d15a320664656a6447548e74923ac.922.1704122438000000.zst (present) Size on Disk: 2.4M Message: Process 922 (Xorg) of user 1000 dumped core. Stack trace of thread 922: #0 0x00007f6b0596883c n/a (libc.so.6 + 0x8e83c) #1 0x00007f6b05918668 raise (libc.so.6 + 0x3e668) #2 0x00007f6b059004b8 abort (libc.so.6 + 0x264b8) #3 0x0000562405309a00 OsAbort (Xorg + 0x159a00) #4 0x0000562405309d3b FatalError (Xorg + 0x159d3b) #5 0x0000562405301cb6 n/a (Xorg + 0x151cb6) #6 0x00007f6b05918710 n/a (libc.so.6 + 0x3e710) #7 0x00007f6afceb3324 n/a (kms_swrast_dri.so + 0x6b3324) #8 0x00007f6afd3acd94 n/a (kms_swrast_dri.so + 0xbacd94) #9 0x00007f6afc8ba376 n/a (kms_swrast_dri.so + 0xba376) #10 0x00007f6afc8c70f4 n/a (kms_swrast_dri.so + 0xc70f4) #11 0x00007f6afc8c76b5 n/a (kms_swrast_dri.so + 0xc76b5) #12 0x00007f6b04bf8bc7 n/a (libgbm.so.1 + 0x6bc7) #13 0x00007f6b04bf8d91 n/a (libgbm.so.1 + 0x6d91) #14 0x00007f6b04bfb09d n/a (libgbm.so.1 + 0x909d) #15 0x00007f6b04bf88dc n/a (libgbm.so.1 + 0x68dc) #16 0x00007f6b04bf8a19 gbm_create_device (libgbm.so.1 + 0x6a19) #17 0x00007f6b043d06d5 glamor_egl_init (libglamoregl.so + 0x96d5) #18 0x00007f6b04c12e39 n/a (modesetting_drv.so + 0x10e39) #19 0x0000562405326ce5 InitOutput (Xorg + 0x176ce5) #20 0x00005624051edf73 n/a (Xorg + 0x3df73) #21 0x00007f6b05901cd0 n/a (libc.so.6 + 0x27cd0) #22 0x00007f6b05901d8a __libc_start_main (libc.so.6 + 0x27d8a) #23 0x00005624051ef565 _start (Xorg + 0x3f565) ELF object binary architecture: AMD x86-64GNU gdb (GDB) 13.2Copyright (C) 2023 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-pc-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/lib/Xorg...This GDB supports auto-downloading debuginfo from the following URLs: <https://debuginfod.archlinux.org>Enable debuginfod for this session? (y or [n]) yDebuginfod has been enabled.To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.Downloading separate debug info for /usr/lib/XorgReading symbols from /root/.cache/debuginfod_client/6a83c68031a60f03b959b5b1f0282a264a8f4588/debuginfo...[New LWP 922]Downloading separate debug info for /usr/lib/libpixman-1.so.0Downloading separate debug info for /usr/lib/libm.so.6Downloading separate debug info for /usr/lib/libpciaccess.so.0Downloading separate debug info for /usr/lib/libnettle.so.8Downloading separate debug info for /usr/lib/libXau.so.6Downloading separate debug info for /usr/lib/libXdmcp.so.6Downloading separate debug info for /usr/lib/libXfont2.so.2Downloading separate debug info for /usr/lib/libxshmfence.so.1Downloading separate debug info for /usr/lib/libsystemd.so.0Downloading separate debug info for /usr/lib/libunwind.so.8Downloading separate debug info for /usr/lib/libdbus-1.so.3Downloading separate debug info for /usr/lib/libudev.so.1Downloading separate debug info for /usr/lib/libdrm.so.2Downloading separate debug info for /usr/lib/libtirpc.so.3 --Type <RET> for more, q to quit, c to continue without paging--Downloading separate debug info for /usr/lib/libxcvt.so.0Downloading separate debug info for /usr/lib/libc.so.6Downloading separate debug info for /lib64/ld-linux-x86-64.so.2Downloading separate debug info for /usr/lib/libz.so.1Downloading separate debug info for /usr/lib/libfontenc.so.1Downloading separate debug info for /usr/lib/libfreetype.so.6Downloading separate debug info for /usr/lib/libcap.so.2Downloading separate debug info for /usr/lib/libgcrypt.so.20Downloading separate debug info for /usr/lib/liblz4.so.1Downloading separate debug info for /usr/lib/liblzma.so.5Downloading separate debug info for /usr/lib/libzstd.so.1Downloading separate debug info for /usr/lib/libgssapi_krb5.so.2Downloading separate debug info for /usr/lib/libbz2.so.1.0Downloading separate debug info for /usr/lib/libpng16.so.16Downloading separate debug info for /usr/lib/libharfbuzz.so.0Downloading separate debug info for /usr/lib/libbrotlidec.so.1Downloading separate debug info for /usr/lib/libgpg-error.so.0Downloading separate debug info for /usr/lib/libkrb5.so.3Downloading separate debug info for /usr/lib/libk5crypto.so.3Downloading separate debug info for /usr/lib/libcom_err.so.2Downloading separate debug info for /usr/lib/libkrb5support.so.0Downloading separate debug info for /usr/lib/libkeyutils.so.1Downloading separate debug info for /usr/lib/libresolv.so.2Downloading separate debug info for /usr/lib/libglib-2.0.so.0Downloading separate debug info for /usr/lib/libgraphite2.so.3Downloading separate debug info for /usr/lib/libbrotlicommon.so.1Downloading separate debug info for /usr/lib/libpcre2-8.so.0--Type <RET> for more, q to quit, c to continue without paging--Downloading separate debug info for /usr/lib/xorg/modules/extensions/libglx.soDownloading separate debug info for /usr/lib/libGL.so.1Downloading separate debug info for /usr/lib/libGLdispatch.so.0Downloading separate debug info for /usr/lib/libGLX.so.0Downloading separate debug info for /usr/lib/libX11.so.6Downloading separate debug info for /usr/lib/libxcb.so.1Downloading separate debug info for /usr/lib/xorg/modules/drivers/nvidia_drv.soDownloading separate debug info for /usr/lib/librt.so.1Downloading separate debug info for /usr/lib/libdl.so.2Downloading separate debug info for /usr/lib/xorg/modules/drivers/modesetting_drv.soDownloading separate debug info for /usr/lib/libgbm.so.1Downloading separate debug info for /usr/lib/libwayland-server.so.0Downloading separate debug info for /usr/lib/libexpat.so.1Downloading separate debug info for /usr/lib/libxcb-randr.so.0Downloading separate debug info for /usr/lib/libffi.so.8Downloading separate debug info for /usr/lib/xorg/modules/libwfb.soDownloading separate debug info for /usr/lib/nvidia/xorg/libglxserver_nvidia.soDownloading separate debug info for /usr/lib/libnvidia-tls.so.545.29.06Downloading separate debug info for /usr/lib/libnvidia-glcore.so.545.29.06Downloading separate debug info for /usr/lib/libnvidia-gpucomp.so.545.29.06Downloading separate debug info for /usr/lib/libpthread.so.0Downloading separate debug info for /usr/lib/xorg/modules/libglamoregl.soDownloading separate debug info for /usr/lib/libepoxy.so.0Downloading separate debug info for /usr/lib/libglapi.so.0Downloading separate debug info for /usr/lib/dri/kms_swrast_dri.soDownloading separate debug info for /usr/lib/libLLVM-16.so --Type <RET> for more, q to quit, c to continue without paging--Downloading separate debug info for /usr/lib/libxcb-dri3.so.0Downloading separate debug info for /usr/lib/libsensors.so.5Downloading separate debug info for /usr/lib/libdrm_radeon.so.1Downloading separate debug info for /usr/lib/libelf.so.1Downloading separate debug info for /usr/lib/libdrm_amdgpu.so.1Downloading separate debug info for /usr/lib/libdrm_nouveau.so.2Downloading separate debug info for /usr/lib/libdrm_intel.so.1Downloading separate debug info for /usr/lib/libedit.so.0Downloading separate debug info for /usr/lib/libncursesw.so.6Downloading separate debug info for /usr/lib/libxml2.so.2Downloading separate debug info for /usr/lib/libicuuc.so.74Downloading separate debug info for /usr/lib/libicudata.so.74Downloading separate debug info for system-supplied DSO at 0x7ffd2f759000[Thread debugging using libthread_db enabled]Using host libthread_db library "/usr/lib/libthread_db.so.1".Core was generated by `/usr/lib/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.BWfWD7eZp8'.Program terminated with signal SIGABRT, Aborted.#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;(gdb) bt#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44#1 0x00007f6b059688a3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78#2 0x00007f6b05918668 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26#3 0x00007f6b059004b8 in __GI_abort () at abort.c:79#4 0x0000562405309a00 in OsAbort () at ../xorg-server-21.1.10/os/utils.c:1352#5 0x0000562405309d3b in AbortServer () at ../xorg-server-21.1.10/os/log.c:879#6 FatalError (f=<optimized out>) at ../xorg-server-21.1.10/os/log.c:1017#7 0x0000562405301cb6 in OsSigHandler (unused=<optimized out>, sip=<optimized out>, signo=11) at ../xorg-server-21.1.10/os/osinit.c:156#8 OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at ../xorg-server-21.1.10/os/osinit.c:110#9 <signal handler called>#10 0x00007f6afceb3324 in ?? () from /usr/lib/dri/kms_swrast_dri.so#11 0x00007f6afd3acd94 in ?? () from /usr/lib/dri/kms_swrast_dri.so#12 0x00007f6afc8ba376 in ?? () from /usr/lib/dri/kms_swrast_dri.so#13 0x00007f6afc8c70f4 in ?? () from /usr/lib/dri/kms_swrast_dri.so#14 0x00007f6afc8c76b5 in ?? () from /usr/lib/dri/kms_swrast_dri.so#15 0x00007f6b04bf8bc7 in dri_screen_create_for_driver () at ../mesa-23.3.2/src/gbm/backends/dri/gbm_dri.c:318#16 0x00007f6b04bf8d91 in dri_screen_create_sw () at ../mesa-23.3.2/src/gbm/backends/dri/gbm_dri.c:372#17 0x00007f6b04bfb09d in dri_device_create () at ../mesa-23.3.2/src/gbm/backends/dri/gbm_dri.c:1296#18 0x00007f6b04bf88dc in backend_create_device () at ../mesa-23.3.2/src/gbm/main/backend.c:105#19 find_backend () at ../mesa-23.3.2/src/gbm/main/backend.c:163#20 0x00007f6b04bf8a19 in _gbm_create_device () at ../mesa-23.3.2/src/gbm/main/backend.c:229#21 _gbm_create_device () at ../mesa-23.3.2/src/gbm/main/backend.c:219#22 gbm_create_device () at ../mesa-23.3.2/src/gbm/main/gbm.c:138#23 0x00007f6b043d06d5 in glamor_egl_init (scrn=0x56240748d6e0, fd=21) at ../xorg-server-21.1.10/glamor/glamor_egl.c:947#24 0x00007f6b04c12e39 in try_enable_glamor (pScrn=<optimized out>) at ../xorg-server-21.1.10/hw/xfree86/drivers/modesetting/driver.c:945#25 PreInit (pScrn=<optimized out>, flags=<optimized out>) at ../xorg-server-21.1.10/hw/xfree86/drivers/modesetting/driver.c:1172#26 0x0000562405326ce5 in InitOutput (pScreenInfo=<optimized out>, argc=8, argv=<optimized out>) at ../xorg-server-21.1.10/hw/xfree86/common/xf86Init.c:490#27 0x00005624051edf73 in dix_main (envp=<optimized out>, argv=0x7ffd2f6ea898, argc=8) at ../xorg-server-21.1.10/dix/main.c:190#28 main (argc=8, argv=0x7ffd2f6ea898, envp=<optimized out>) at ../xorg-server-21.1.10/dix/stubmain.c:34
For those seeing this on Intel, this is happening because your setup is broken and falling back to software rendering. If you have a very old system, you can use the intel ddx along with mesa-amber (NOT mesa!), for setups less than 10 years old, you should be using the modesetting ddx with mesa.
Sorry to borther you, but as simple user, I've no idea what you just say....My laptop is 2 years old with intel chips and I'using archlinux up2date. You say "your setup is broken", which setup do you talking about.
I almost don't have any setup about xorg. Inside my /etc/X11/xorg.conf.d I've just a keyboard and synaptics configuration.
You're hitting this because your video setup is falling back to software rendering. Very, very few people should be hitting swrast (on bare metal, VMs can be another story). Either you've got an invalid intel driver setup or you need to configure an nvidia setup.
Thanks a lot.
So I find out the problem was the presence of xf86-video-intel, after removing it it's working (even after update to the last version of mesa & Cie).
I'm just a user so I'm unable to say if it's really a bug (the original post) or just a misconfiguration for me it's working.
I was affected because I had to disable the DRM kernel mode setting on my NVidia card due to race conditions with multiple monitors. However, it appears an NVidia developer debugged it and released a patch for testing. So hopefully that will be integrated into the official driver soon.