Closed NTMan closed 3 months ago
Hello @NTMan, it might be worthwhile to also mention this issue to your video driver vendor. Also, please copy your system information from Steam (Steam
-> Help
-> System Information
) and put it in a gist, then include a link to the gist in this issue report.
Also, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist
Added
Thanks, skimming over your system information, your system looks healthy enough with no immediate indicator of an OpenGL issue. That said, the crash is clearly in LLVM 15 as part of mesa/radeonsi's shader compiler.
The end of the stack trace is
#27 0x00007ffff690cd03 in eglMakeCurrent (dpy=<optimized out>, draw=<optimized out>, read=<optimized out>, ctx=<optimized out>) at ../src/egl/main/eglapi.c:991
#28 0x00007ffff69492bc in InternalLoseCurrent () at /usr/src/debug/libglvnd-1.5.0-1.fc37.x86_64/src/EGL/libegl.c:551
#29 0x00007ffff7e9556f in SDL_EGL_MakeCurrent (_this=0x555555623fd0, egl_surface=0x0, context=0x0) at /usr/src/debug/SDL2-2.26.0-1.fc37.x86_64/src/video/SDL_egl.c:1124
#30 0x00007ffff7ee28ec in Wayland_GLES_MakeCurrent (_this=0x555555623fd0, window=<optimized out>, context=<optimized out>)
at /usr/src/debug/SDL2-2.26.0-1.fc37.x86_64/src/video/wayland/SDL_waylandopengles.c:190
#31 0x00007ffff7ea468c in SDL_GL_MakeCurrent_REAL (window=0x0, ctx=0x0) at /usr/src/debug/SDL2-2.26.0-1.fc37.x86_64/src/video/SDL_video.c:4118
#32 0x00007ffff7eaa895 in SDL_DestroyWindow_REAL (window=0x5555557ee820) at /usr/src/debug/SDL2-2.26.0-1.fc37.x86_64/src/video/SDL_video.c:3292
#33 0x00007ffff7eaa991 in SDL_DestroyWindow_REAL (window=<optimized out>) at /usr/src/debug/SDL2-2.26.0-1.fc37.x86_64/src/video/SDL_video.c:3268
--Type <RET> for more, q to quit, c to continue without paging--
#34 SDL_VideoQuit_REAL () at /usr/src/debug/SDL2-2.26.0-1.fc37.x86_64/src/video/SDL_video.c:3408
#35 0x00007ffff7df860d in SDL_VideoQuit_REAL () at /usr/src/debug/SDL2-2.26.0-1.fc37.x86_64/src/video/SDL_video.c:3394
#36 SDL_QuitSubSystem_REAL (flags=flags@entry=62001) at /usr/src/debug/SDL2-2.26.0-1.fc37.x86_64/src/SDL.c:428
#37 0x00007ffff7df8b86 in SDL_Quit_REAL () at /usr/src/debug/SDL2-2.26.0-1.fc37.x86_64/src/SDL.c:493
#38 0x00007ffff7c2d0e5 in __run_exit_handlers (status=0, listp=0x7ffff7dc1840 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:113
#39 0x00007ffff7c2d260 in __GI_exit (status=<optimized out>) at exit.c:143
#40 0x00007ffff7c15517 in __libc_start_call_main (main=main@entry=0x55555540fafd <main>, argc=argc@entry=1, argv=argv@entry=0x7fffffffdd48) at ../sysdeps/nptl/libc_start_call_main.h:74
#41 0x00007ffff7c155c9 in __libc_start_main_impl
(main=0x55555540fafd <main>, argc=1, argv=0x7fffffffdd48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdd38) at ../csu/libc-start.c:381
#42 0x000055555540b5ba in _start ()
i.e. eglMakeCurrent is getting called from an atexit() handler.
Running gldriverquery under valgrind gives loads of use-after-free errors related to static global C++ objects in the Mesa radeon driver.
Looking at gldriverquery in ghidra shows it registering SDL_Quit with atexit() before loading libGL.
What's happening is:
1) gldriverquery registers SDL_Quit with atexit() 2) gldriverquery loads libGL, which loads the radeon driver 3) glidriverquery returns from main() 4) registered atexit functions start getting run in reverse order 5) all of the radeon driver's C++ destructors run 6) SDL_Quit gets called 7) it calls eglMakeCurrent 8) the shader compiler explodes somewhere in LLVM because all of its global objects are dead
Seeing this as well. Fedora KDE 37, Wayland. System Information gist gldriverquery-backtrace.txt
Having the same issue on Fedora 37 (Gnome). My Steam client build date is Dec 15 2022, 21:27:25
I have the same problem on fedora 37 flatpak version with a new AMD 7900 XTX GPU: https://github.com/flathub/com.valvesoftware.Steam/issues/1037
I spent the weekend bisecting this puzzle. I saw two problems with the flatpak mesa, one was the corrupted rendering the other was the crashing. I thought potentially they were related, while I haven't been able to conclude on that I have found the potential source of the crashing. I'll attach all of the debug notes fully: mesa_debug.txt
I bisected both mesa and llvm, but I stopped bisecting the mesa side once I saw that all of the mesa attempts I did had the same crashing behavior. So I continued only bisecting the llvm side against mesa-22.3.3.
I found the following commit to be the first bad https://github.com/llvm/llvm-project/commit/e6f1f062457c928c18a88c612f39d9e168f65a85 I started the bisecting essentially from the last llvm 14 tag.
It didn't revert cleanly but essentially a full revert of this, it doesn't crash anymore running llvmorg-15.0.7 with the revert. Then I continued basically bisecting the failing commit to figure out exactly which changes in it that are needed to avoid the crashing, and I ended up with the following reversions: 0001-Revert-changes-causing-ctor-dtor-issues.txt
I think I'm going to assume that whatever the mesa people found out about the graphics corruptions are correct and not related, that way I can end my debugging here :)
same here fedora 37 flatpak
I forgot about this and apparently stopped getting them for a while, but now I'm getting them again. Seems to have started on December 14th according to my journal.
Dec 19 05:51:57 system steam-runtime-launcher-service[4747]: bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
Dec 19 05:51:58 system systemd-coredump[4775]: [🡕] Process 4748 (gldriverquery) of user 1000 dumped core.
Fedora 39 KDE, Wayland Steam RPM, opted in to beta.
It is the same problem as it has always been, gldriverquery calls SDL_Quit from an atexit handler and you cannot safely call SDL_Quit from an atexit handler.
Can confirm that this happens on ArchLinux as well, not just Fedora. This has been an issue for more than a year and it will inevitably always coredump on launch of steam. Every single time. It doesn't appear to be affecting the function of Steam, at least not for me. I've not noticed anything out of the ordinary.
System
ArchLinux 6.6.8-arch1-1
mesa 1:23.3.1-1
wlroots 0.17.0-1
sway 1:1.8.1-4
wayland 1.22.0-1
steam 1.0.0.78-2
proton-ge-custom-bin 1:GE_Proton8_25-1
journalctl output:
dec 29 12:36:15 Void kernel: gldriverquery[2093]: segfault at 28 ip 00007f1ebcfed3b4 sp 00007fff4dd502e8 error 4 in libLLVM-16.so[7f1ebcb4d000+4363000] likely on CPU 23 (core 14, socket 0)
dec 29 12:36:15 Void kernel: Code: 8d 5f f8 48 83 c7 20 48 39 f8 74 09 48 89 c7 ff 15 21 43 31 07 48 89 df be e8 01 00 00 5b ff 25 7a 04 31 07 66 90 f3 0f 1e fa <80> 7e 28 00 75 06 c3 0f 1f 44 00 00 55 53 48 8>
dec 29 12:36:15 Void systemd[1]: Created slice Slice /system/systemd-coredump.
dec 29 12:36:15 Void systemd[1]: Started Process Core Dump (PID 2111/UID 0).
dec 29 12:36:16 Void systemd-coredump[2112]: [🡕] Process 2093 (gldriverquery) of user 1000 dumped core.
Stack trace of thread 2093:
#0 0x00007f1ebcfed3b4 n/a (libLLVM-16.so + 0xfed3b4)
#1 0x00007f1ebcffd63f _ZN4llvm12PassRegistry13enumerateWithEPNS_24PassRegistrationListenerE (libLLVM-16.so + 0xffd63f)
#2 0x00007f1ebcfee19c _ZN4llvm13AnalysisUsage15setPreservesCFGEv (libLLVM-16.so + 0xfee19c)
...skipping...
#3 0x00007f1ebcfa7a10 _ZN4llvm17PMTopLevelManager17findAnalysisUsageEPNS_4PassE (libLLVM-16.so + 0xfa7a10)
#4 0x00007f1ebcfacafd _ZN4llvm17PMTopLevelManager12schedulePassEPNS_4PassE (libLLVM-16.so + 0xfacafd)
#5 0x00007f1ec4bf4fb7 n/a (radeonsi_dri.so + 0x7f4fb7)
#6 0x00007f1ec4c48806 n/a (radeonsi_dri.so + 0x848806)
#7 0x00007f1ec50e06ab n/a (radeonsi_dri.so + 0xce06ab)
#8 0x00007f1ec50f159d n/a (radeonsi_dri.so + 0xcf159d)
#9 0x00007f1ec4f97735 n/a (radeonsi_dri.so + 0xb97735)
#10 0x00007f1ec576174e n/a (radeonsi_dri.so + 0x136174e)
#11 0x00007f1ec4c9ef43 n/a (radeonsi_dri.so + 0x89ef43)
#12 0x00007f1ec4a0bfe3 n/a (radeonsi_dri.so + 0x60bfe3)
#13 0x00007f1ec49ebde9 n/a (radeonsi_dri.so + 0x5ebde9)
#14 0x00007f1ec5890c7a n/a (radeonsi_dri.so + 0x1490c7a)
#15 0x00007f1ec4a10b31 n/a (radeonsi_dri.so + 0x610b31)
#16 0x00007f1ec46c1555 n/a (radeonsi_dri.so + 0x2c1555)
#17 0x00007f1ec44c7d37 n/a (radeonsi_dri.so + 0xc7d37)
#18 0x00007f1ec684343d n/a (libEGL_mesa.so.0 + 0x1c43d)
#19 0x00007f1ec683927c n/a (libEGL_mesa.so.0 + 0x1227c)
#20 0x00007f1ec6876cfd n/a (libEGL.so.1 + 0x4cfd)
#21 0x00007f1ec7398a1f n/a (libSDL2-2.0.so.0 + 0xcba1f)
#22 0x00007f1ec73e43ec n/a (libSDL2-2.0.so.0 + 0x1173ec)
#23 0x00007f1ec73a557f n/a (libSDL2-2.0.so.0 + 0xd857f)
#24 0x00007f1ec73b04da n/a (libSDL2-2.0.so.0 + 0xe34da)
#25 0x00007f1ec73b0581 n/a (libSDL2-2.0.so.0 + 0xe3581)
#26 0x00007f1ec72fd815 n/a (libSDL2-2.0.so.0 + 0x30815)
#27 0x00007f1ec72fdd96 n/a (libSDL2-2.0.so.0 + 0x30d96)
#28 0x00007f1ec712bcc6 n/a (libc.so.6 + 0x40cc6)
#29 0x00007f1ec712be10 exit (libc.so.6 + 0x40e10)
#30 0x00007f1ec7112cd7 n/a (libc.so.6 + 0x27cd7)
#31 0x00007f1ec7112d8a __libc_start_main (libc.so.6 + 0x27d8a)
#32 0x000055e62c20b5ba n/a (/home/tobias/.local/share/Steam/ubuntu12_64/gldriverquery + 0xb5ba)
ELF object binary architecture: AMD x86-64
dec 29 12:36:16 Void systemd[1]: systemd-coredump@0-2111-0.service: Deactivated successfully.
dec 29 12:36:16 Void kernel: gldriverquery[2192]: segfault at 0 ip 0000000000000000 sp 00000000ffd3aa8c error 14 in gldriverquery[8048000+12000] likely on CPU 22 (core 13, socket 0)
dec 29 12:36:16 Void kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.
dec 29 12:36:16 Void systemd[1]: Started Process Core Dump (PID 2194/UID 0).
dec 29 12:36:16 Void systemd-coredump[2195]: [🡕] Process 2192 (gldriverquery) of user 1000 dumped core.
Stack trace of thread 2192:
#0 0x0000000000000000 n/a (n/a + 0x0)
ELF object binary architecture: Intel 80386
dec 29 12:36:16 Void systemd[1]: systemd-coredump@1-2194-0.service: Deactivated successfully.
Happening here as well. Fedora 39 (KDE). Crashes the whole desktop and have to reboot the PC manually (case reboot button).
EDIT: Will keep Steam running with SDL_VIDEODRIVER=x11
to see if the crash happens again.
Just started using Sway and saw this in jounalctl
.
Is situation still that I should either ignore the problem or use SDL_VIDEODRIVER=x11 steam
to start the Steam client?
From what I've been able to gather, it doesn't really do anything. It makes Steam a tiny bit slower to start up, but I haven't found any followon issues from gldriver crashing. Steam, and all games I've tried, operate as expected. Does using the SDL flag help it from crashing?
I don't have the flag and my Steam operates as normal, in spite of the gldriver crash being logged to journal.
I ran $ gdb --args $HOME/.local/share/Steam/ubuntu12_32/gldriverquery
to obtain a symbolized stack trace. Here is the output:
(gdb) bt
#0 __kernel_vsyscall () at arch/x86/entry/vdso/vdso32/system_call.S:72
#1 0xf7c4c2b7 in __pthread_kill_implementation (threadid=threadid@entry=4155410176, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:43
#2 0xf7c4c33f in __pthread_kill_internal (signo=6, threadid=4155410176) at pthread_kill.c:78
#3 0xf7bf7fc5 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#4 0xf7bdf370 in __GI_abort () at abort.c:79
#5 0xe89c1ee4 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#6 0xe89d73d8 in __cxxabiv1::__terminate (handler=0xe89d9880 <__gnu_cxx::__verbose_terminate_handler()>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#7 0xe89d7461 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:58
#8 0xe89d85d8 in __cxxabiv1::__cxa_pure_virtual () at ../../../../libstdc++-v3/libsupc++/pure.cc:50
#9 0xe92c4af1 in flush_tied_then_write () at /usr/src/debug/llvm-17.0.6-3.fc39.i386/lib/Support/raw_ostream.cpp:311
#10 0xe92c4d23 in write () at /usr/src/debug/llvm-17.0.6-3.fc39.i386/lib/Support/raw_ostream.cpp:251
#11 0xe946a3dd in operator<< () at /usr/src/debug/llvm-17.0.6-3.fc39.i386/include/llvm/Support/raw_ostream.h:217
#12 operator<< () at /usr/src/debug/llvm-17.0.6-3.fc39.i386/include/llvm/Support/raw_ostream.h:244
#13 schedulePass () at /usr/src/debug/llvm-17.0.6-3.fc39.i386/lib/IR/LegacyPassManager.cpp:691
#14 0xe946a371 in schedulePass () at /usr/src/debug/llvm-17.0.6-3.fc39.i386/lib/IR/LegacyPassManager.cpp:713
#15 0xe94711b3 in add () at /usr/src/debug/llvm-17.0.6-3.fc39.i386/lib/IR/LegacyPassManager.cpp:260
#16 addLowerLevelRequiredPass () at /usr/src/debug/llvm-17.0.6-3.fc39.i386/lib/IR/LegacyPassManager.cpp:1631
#17 0xe947143f in non-virtual thunk to (anonymous namespace)::MPPassManager::addLowerLevelRequiredPass(llvm::Pass*, llvm::Pass*) () from /lib/libLLVM-17.so
#18 0xe946cf55 in add () at /usr/src/debug/llvm-17.0.6-3.fc39.i386/lib/IR/LegacyPassManager.cpp:1078
#19 0xe946eb41 in assignPassManager () at /usr/src/debug/llvm-17.0.6-3.fc39.i386/lib/IR/LegacyPassManager.cpp:1737
#20 0xe946aae1 in schedulePass () at /usr/src/debug/llvm-17.0.6-3.fc39.i386/lib/IR/LegacyPassManager.cpp:751
#21 0xe946e7c1 in add () at /usr/src/debug/llvm-17.0.6-3.fc39.i386/lib/IR/LegacyPassManager.cpp:480
#22 add () at /usr/src/debug/llvm-17.0.6-3.fc39.i386/lib/IR/LegacyPassManager.cpp:1671
#23 0xf09bb975 in ac_create_passmgr (target_library_info=0x805f540, check_ir=false) at ../src/amd/llvm/ac_llvm_helper.cpp:292
#24 0xf09bd480 in ac_init_llvm_compiler (compiler=0x8174e30, family=CHIP_NAVI33, tm_options=0) at ../src/amd/llvm/ac_llvm_util.c:183
#25 0xf08b517f in si_init_compiler (sscreen=0x8219890, compiler=0x8174e30) at ../src/gallium/drivers/radeonsi/si_pipe.c:144
#26 0xf08f2967 in si_shader_select_with_key<false, si_shader_key_ge> (key=<optimized out>, state=<optimized out>, sctx=<optimized out>)
at ../src/gallium/drivers/radeonsi/si_state_shaders.cpp:2705
#27 si_shader_select (ctx=<optimized out>, state=<optimized out>) at ../src/gallium/drivers/radeonsi/si_state_shaders.cpp:2858
#28 0xf0f5e20e in si_update_shaders<(amd_gfx_level)14, (si_has_tess)0, (si_has_gs)0, (si_has_ngg)1> (sctx=sctx@entry=0x83073a0)
at ../src/gallium/drivers/radeonsi/si_state_draw.cpp:129
#29 0xf0f72504 in si_draw<(amd_gfx_level)14, (si_has_tess)0, (si_has_gs)0, (si_has_ngg)1, (si_is_draw_vertex_state)0, (si_has_pairs)0, (util_popcnt)0> (
partial_velem_mask=<optimized out>, state=<optimized out>, num_draws=<optimized out>, draws=<optimized out>, indirect=<optimized out>,
drawid_offset=<optimized out>, info=<optimized out>, ctx=<optimized out>) at ../src/gallium/drivers/radeonsi/si_state_draw.cpp:2209
#30 si_draw_vbo<(amd_gfx_level)14, (si_has_tess)0, (si_has_gs)0, (si_has_ngg)1, (si_has_pairs)0> (ctx=0x83073a0, info=0xffffc790, drawid_offset=0, indirect=0x0,
draws=0xffffc780, num_draws=1) at ../src/gallium/drivers/radeonsi/si_state_draw.cpp:2331
#31 0xf0f59147 in si_draw_rectangle (blitter=0x8349ec0, vertex_elements_cso=0x834e1d0, get_vs=0xf0d9d070 <get_vs_passthrough_pos_generic>, x1=0, y1=0, x2=32, y2=32,
depth=1, num_instances=1, type=UTIL_BLITTER_ATTRIB_NONE, attrib=0x0) at ../src/gallium/drivers/radeonsi/si_state_draw.cpp:2400
#32 0xf0da05c7 in util_blitter_clear_custom (blitter=0x8349ec0, width=32, height=32, num_layers=1, clear_buffers=4, color=0xf2a15db4, depth=depth@entry=1, stencil=0,
custom_dsa=0x0, msaa=false, custom_blend=0x0) at ../src/gallium/auxiliary/util/u_blitter.c:1599
#33 0xf0da07b4 in util_blitter_clear (blitter=<optimized out>, width=<optimized out>, height=<optimized out>, num_layers=<optimized out>, clear_buffers=<optimized out>,
color=<optimized out>, depth=1, stencil=0, msaa=false) at ../src/gallium/auxiliary/util/u_blitter.c:1618
#34 0xf093210d in si_clear (ctx=0x83073a0, buffers=<optimized out>, scissor_state=0x0, color=0xf2a15db4, depth=1, stencil=0)
at ../src/gallium/drivers/radeonsi/si_clear.c:1192
#35 0xf068ed56 in tc_call_clear (pipe=0x83073a0, call=0xf2a15da0, last=0xf2a15dc8) at ../src/gallium/auxiliary/util/u_threaded_context.c:4451
#36 0xf068fb46 in batch_execute (parsing=false, last=0xf2a15dc8, pipe=0x83073a0, batch=0xf2a15d4c) at ../src/gallium/auxiliary/util/u_threaded_context.c:394
#37 tc_batch_execute (job=<optimized out>, gdata=0x0, thread_index=0) at ../src/gallium/auxiliary/util/u_threaded_context.c:445
#38 0xf0690265 in _tc_sync (tc=tc@entry=0xf2a14010, func=<optimized out>, info=<optimized out>) at ../src/gallium/auxiliary/util/u_threaded_context.c:680
#39 0xf0696f00 in tc_flush (_pipe=0xf2a14010, fence=0x0, flags=0) at ../src/gallium/auxiliary/util/u_threaded_context.c:3580
#40 0xf016544f in st_flush (flags=0, fence=0x0, st=0x83590a0) at ../src/mesa/state_tracker/st_cb_flush.c:63
#41 st_glFlush (ctx=0xe8107010, gallium_flush_flags=0) at ../src/mesa/state_tracker/st_cb_flush.c:99
#42 0xf02b635a in _mesa_make_current (newCtx=0x0, drawBuffer=0x0, readBuffer=0x0) at ../src/mesa/main/context.c:1506
#43 0xf0180dc6 in st_api_make_current (st=0x0, stdrawi=0x0, streadi=0x0) at ../src/mesa/state_tracker/st_manager.c:1187
#44 0xf00aab71 in dri_unbind_context (ctx=0x8304580) at ../src/gallium/frontends/dri/dri_context.c:295
#45 0xf00ae626 in driUnbindContext (pcp=0x8304580) at ../src/gallium/frontends/dri/dri_util.c:739
#46 0xf34ccf9e in dri2_make_current (disp=0x8207eb0, dsurf=0x0, rsurf=0x0, ctx=<optimized out>) at ../src/egl/drivers/dri2/egl_dri2.c:1740
#47 0xf34bc830 in eglMakeCurrent (dpy=0x8207eb0, draw=0x0, read=0x0, ctx=0x0) at ../src/egl/main/eglapi.c:981
#48 0xf50a4749 in InternalLoseCurrent () at /usr/src/debug/libglvnd-1.7.0-1.fc39.i386/src/EGL/libegl.c:551
#49 0xf7e7e255 in SDL_EGL_MakeCurrent (_this=0x8068f30, egl_surface=0x0, context=0x0) at /usr/src/debug/SDL2-2.28.5-1.fc39.i386/src/video/SDL_egl.c:1113
#50 0xf7ecf173 in Wayland_GLES_MakeCurrent (_this=0x8068f30, window=0x0, context=0x0)
at /usr/src/debug/SDL2-2.28.5-1.fc39.i386/src/video/wayland/SDL_waylandopengles.c:182
#51 0xf7e8bf7b in SDL_GL_MakeCurrent_REAL (window=0x0, context=0x0) at /usr/src/debug/SDL2-2.28.5-1.fc39.i386/src/video/SDL_video.c:4049
#52 0xf7e9816a in SDL_DestroyWindow_REAL (window=0x83059f0) at /usr/src/debug/SDL2-2.28.5-1.fc39.i386/src/video/SDL_video.c:3229
#53 0xf7e98224 in SDL_DestroyWindow_REAL (window=<optimized out>) at /usr/src/debug/SDL2-2.28.5-1.fc39.i386/src/video/SDL_video.c:3209
#54 SDL_VideoQuit_REAL () at /usr/src/debug/SDL2-2.28.5-1.fc39.i386/src/video/SDL_video.c:3348
#55 0xf7dcc916 in SDL_VideoQuit_REAL () at /usr/src/debug/SDL2-2.28.5-1.fc39.i386/src/video/SDL_video.c:3334
#56 SDL_QuitSubSystem_REAL (flags=62001) at /usr/src/debug/SDL2-2.28.5-1.fc39.i386/src/SDL.c:420
#57 0xf7dccf17 in SDL_Quit_REAL () at /usr/src/debug/SDL2-2.28.5-1.fc39.i386/src/SDL.c:483
#58 0xf7bfac66 in __run_exit_handlers (status=<optimized out>, listp=<optimized out>, run_list_atexit=<optimized out>, run_dtors=<optimized out>) at exit.c:111
#59 0xf7bfae77 in __GI_exit (status=0) at exit.c:141
#60 0xf7be0d95 in __libc_start_call_main (main=main@entry=0x80555b7 <main>, argc=argc@entry=1, argv=argv@entry=0xffffcea4) at ../sysdeps/nptl/libc_start_call_main.h:74
#61 0xf7be0e4c in __libc_start_main_impl (main=0x80555b7 <main>, argc=1, argv=0xffffcea4, init=0x8055610 <__libc_csu_init>, fini=0x8055680 <__libc_csu_fini>, rtld_fini=0xf7fcdf10 <_dl_fini>, stack_end=0xffffce9c)
at ../csu/libc-start.c:360
#62 0x08051a71 in _start ()
Each package version is listed in the stack trace, so I'll omit them here.
After reviewing this stack trace, I have a question: What's the purpose of using atexit
to call SDL_Quit
in the main
function? It seems that SDL_Quit
is quite complex and attempts to perform OpenGL operations. Does this make sense? I believe this type of situation is referred to as the 'Object Destruction Order Fiasco'.
I am using Steam on SwayWM, the desktop freezes eventually but before I get this in journal:
This keeps happening... what should we upload after the crash for Valve to get better info, if possible?
They don't need any more information, the fix is trivial (delete the atext(SDL_Quit) call from init_screen(), add an SDL_Quit() call to the end of main()).
Somebody at Valve just needs to care.
System keeps freezing because of this error. Please notice that it freezes the whole OS, not just Steam. I need to do a hard reboot every time this happens.
TBC: As a workaround, it SEEMS that, instead of installing the DNF version, the Flatpak version crashes dont freeze the system
Process 17970 (gldriverquery) of user 1000 dumped core.
Module libpciaccess.so.0 from rpm libpciaccess-0.16-12.fc40.x86_64
Module libtinfo.so.6 from rpm ncurses-6.4-12.20240127.fc40.x86_64
Module libedit.so.0 from rpm libedit-3.1-50.20230828cvs.fc40.x86_64
Module libdrm_intel.so.1 from rpm libdrm-2.4.120-3.fc40.x86_64
Module libdrm_nouveau.so.2 from rpm libdrm-2.4.120-3.fc40.x86_64
Module libdrm_amdgpu.so.1 from rpm libdrm-2.4.120-3.fc40.x86_64
Module libelf.so.1 from rpm elfutils-0.191-4.fc40.x86_64
Module libdrm_radeon.so.1 from rpm libdrm-2.4.120-3.fc40.x86_64
Module libsensors.so.4 from rpm lm_sensors-3.6.0-18.fc40.x86_64
Module libz.so.1 from rpm zlib-ng-2.1.6-2.fc40.x86_64
Module radeonsi_dri.so from rpm mesa-24.0.5-1.fc40.x86_64
Module libxshmfence.so.1 from rpm libxshmfence-1.3.2-3.fc40.x86_64
Module libxcb-sync.so.1 from rpm libxcb-1.16-4.fc40.x86_64
Module libxcb-present.so.0 from rpm libxcb-1.16-4.fc40.x86_64
Module libxcb-dri3.so.0 from rpm libxcb-1.16-4.fc40.x86_64
Module libwayland-server.so.0 from rpm wayland-1.22.0-3.fc40.x86_64
Module libdrm.so.2 from rpm libdrm-2.4.120-3.fc40.x86_64
Module libxcb-xfixes.so.0 from rpm libxcb-1.16-4.fc40.x86_64
Module libxcb-randr.so.0 from rpm libxcb-1.16-4.fc40.x86_64
Module libxcb-dri2.so.0 from rpm libxcb-1.16-4.fc40.x86_64
Module libX11-xcb.so.1 from rpm libX11-1.8.9-1.fc40.x86_64
Module libexpat.so.1 from rpm expat-2.6.2-1.fc40.x86_64
Module libglapi.so.0 from rpm mesa-24.0.5-1.fc40.x86_64
Module libgbm.so.1 from rpm mesa-24.0.5-1.fc40.x86_64
Module libEGL_mesa.so.0 from rpm mesa-24.0.5-1.fc40.x86_64
Module libEGL.so.1 from rpm libglvnd-1.7.0-4.fc40.x86_64
Module libXau.so.6 from rpm libXau-1.0.11-6.fc40.x86_64
Module libxcb.so.1 from rpm libxcb-1.16-4.fc40.x86_64
Module libGLdispatch.so.0 from rpm libglvnd-1.7.0-4.fc40.x86_64
Module libXext.so.6 from rpm libXext-1.3.6-1.fc40.x86_64
Module libX11.so.6 from rpm libX11-1.8.9-1.fc40.x86_64
Module libGLX.so.0 from rpm libglvnd-1.7.0-4.fc40.x86_64
Module libGL.so.1 from rpm libglvnd-1.7.0-4.fc40.x86_64
Module libdecor-0.so.0 from rpm libdecor-0.2.2-3.fc40.x86_64
Module libxkbcommon.so.0 from rpm libxkbcommon-1.6.0-2.fc40.x86_64
Module libwayland-cursor.so.0 from rpm wayland-1.22.0-3.fc40.x86_64
Module libwayland-egl.so.1 from rpm wayland-1.22.0-3.fc40.x86_64
Module libffi.so.8 from rpm libffi-3.4.4-7.fc40.x86_64
Module libwayland-client.so.0 from rpm wayland-1.22.0-3.fc40.x86_64
Module libzstd.so.1 from rpm zstd-1.5.6-1.fc40.x86_64
Module liblzma.so.5 from rpm xz-5.4.6-3.fc40.x86_64
Module liblz4.so.1 from rpm lz4-1.9.4-6.fc40.x86_64
Module libcap.so.2 from rpm libcap-2.69-8.fc40.x86_64
Module libsystemd.so.0 from rpm systemd-255.4-1.fc40.x86_64
Module libdbus-1.so.3 from rpm dbus-1.14.10-3.fc40.x86_64
Module libSDL2-2.0.so.0 from rpm SDL2-2.30.1-1.fc40.x86_64
Stack trace of thread 17970:
#0 0x00007f49c998c88f _ZN4llvm17PMTopLevelManager16addImmutablePassEPNS_13ImmutablePassE (libLLVM.so.18.1 + 0x78c88f)
#1 0x00007f49c998bf70 _ZN4llvm17PMTopLevelManager12schedulePassEPNS_4PassE (libLLVM.so.18.1 + 0x78bf70)
#2 0x00007f49d0d39085 ac_create_passmgr (radeonsi_dri.so + 0x939085)
#3 0x00007f49d0d3a66a ac_init_llvm_compiler (radeonsi_dri.so + 0x93a66a)
#4 0x00007f49d0c2abdd si_create_llvm_compiler (radeonsi_dri.so + 0x82abdd)
#5 0x00007f49d0c71c5e si_shader_select (radeonsi_dri.so + 0x871c5e)
#6 0x00007f49d12ccb5b _Z17si_update_shadersIL13amd_gfx_level14EL11si_has_tess0EL9si_has_gs0EL10si_has_ngg1EEbP10si_context (radeonsi_dri.so + 0xeccb5b)
#7 0x00007f49d12e0b7e _Z11si_draw_vboIL13amd_gfx_level14EL11si_has_tess0EL9si_has_gs0EL10si_has_ngg1EL22si_has_sh_pairs_packed0EEvP12pipe_contextPK14pipe_draw_infojPK>
#8 0x00007f49d12c7677 _ZL17si_draw_rectangleP15blitter_contextPvPFS1_S0_Eiiiifj19blitter_attrib_typePK14blitter_attrib (radeonsi_dri.so + 0xec7677)
#9 0x00007f49d111d54f util_blitter_clear_custom.constprop.0 (radeonsi_dri.so + 0xd1d54f)
#10 0x00007f49d111d71c util_blitter_clear (radeonsi_dri.so + 0xd1d71c)
#11 0x00007f49d0cb9ce3 si_clear (radeonsi_dri.so + 0x8b9ce3)
#12 0x00007f49d0a13b73 tc_call_clear (radeonsi_dri.so + 0x613b73)
#13 0x00007f49d0a148fe tc_batch_execute (radeonsi_dri.so + 0x6148fe)
#14 0x00007f49d0a15068 _tc_sync.isra.0 (radeonsi_dri.so + 0x615068)
#15 0x00007f49d0a1d6e3 tc_flush (radeonsi_dri.so + 0x61d6e3)
#16 0x00007f49d04f01d7 st_glFlush (radeonsi_dri.so + 0xf01d7)
#17 0x00007f49d0634b62 _mesa_make_current (radeonsi_dri.so + 0x234b62)
#18 0x00007f49d050be9b st_api_make_current (radeonsi_dri.so + 0x10be9b)
#7 0x00007f49d12e0b7e _Z11si_draw_vboIL13amd_gfx_level14EL11si_has_tess0EL9si_has_gs0EL10si_has_ngg1EL22si_has_sh_pairs_packed0EEvP12pipe_contextPK14pipe_draw_infojPK>
#8 0x00007f49d12c7677 _ZL17si_draw_rectangleP15blitter_contextPvPFS1_S0_Eiiiifj19blitter_attrib_typePK14blitter_attrib (radeonsi_dri.so + 0xec7677)
#9 0x00007f49d111d54f util_blitter_clear_custom.constprop.0 (radeonsi_dri.so + 0xd1d54f)
#10 0x00007f49d111d71c util_blitter_clear (radeonsi_dri.so + 0xd1d71c)
#11 0x00007f49d0cb9ce3 si_clear (radeonsi_dri.so + 0x8b9ce3)
#12 0x00007f49d0a13b73 tc_call_clear (radeonsi_dri.so + 0x613b73)
#13 0x00007f49d0a148fe tc_batch_execute (radeonsi_dri.so + 0x6148fe)
#14 0x00007f49d0a15068 _tc_sync.isra.0 (radeonsi_dri.so + 0x615068)
#15 0x00007f49d0a1d6e3 tc_flush (radeonsi_dri.so + 0x61d6e3)
#16 0x00007f49d04f01d7 st_glFlush (radeonsi_dri.so + 0xf01d7)
#17 0x00007f49d0634b62 _mesa_make_current (radeonsi_dri.so + 0x234b62)
#18 0x00007f49d050be9b st_api_make_current (radeonsi_dri.so + 0x10be9b)
#19 0x00007f49d04375ff dri_unbind_context (radeonsi_dri.so + 0x375ff)
#20 0x00007f49d043b112 driUnbindContext (radeonsi_dri.so + 0x3b112)
#21 0x00007f49d2a84b8e dri2_make_current (libEGL_mesa.so.0 + 0x1cb8e)
#22 0x00007f49d2a74f1f eglMakeCurrent (libEGL_mesa.so.0 + 0xcf1f)
#23 0x00007f49d2ab13ed InternalLoseCurrent (libEGL.so.1 + 0x43ed)
#24 0x00007f49d3402941 SDL_EGL_MakeCurrent (libSDL2-2.0.so.0 + 0xc0941)
#25 0x00007f49d345083c Wayland_GLES_MakeCurrent (libSDL2-2.0.so.0 + 0x10e83c)
#26 0x00007f49d34129c7 SDL_GL_MakeCurrent_REAL (libSDL2-2.0.so.0 + 0xd09c7)
#27 0x00007f49d3418aca SDL_DestroyWindow_REAL.part.0 (libSDL2-2.0.so.0 + 0xd6aca)
#28 0x00007f49d3418bc1 SDL_VideoQuit_REAL.part.0 (libSDL2-2.0.so.0 + 0xd6bc1)
#29 0x00007f49d335bcf8 SDL_QuitSubSystem_REAL (libSDL2-2.0.so.0 + 0x19cf8)
#30 0x00007f49d335c1e3 SDL_Quit_REAL (libSDL2-2.0.so.0 + 0x1a1e3)
#31 0x00007f49d3197bb1 __run_exit_handlers (libc.so.6 + 0x42bb1)
#32 0x00007f49d3197c7e exit (libc.so.6 + 0x42c7e)
#33 0x00007f49d317f08f __libc_start_call_main (libc.so.6 + 0x2a08f)
#34 0x00007f49d317f14b __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a14b)
#35 0x000056215100b5ba n/a (/home/perro/.local/share/Steam/ubuntu12_64/gldriverquery + 0xb5ba)
ELF object binary architecture: AMD x86-64
abr 25 11:48:53 fedora systemd[1]: systemd-coredump@12-17996-0.service: Deactivated successfully.
abr 25 11:48:53 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@12-17996-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=>
abr 25 11:48:53 fedora audit[1440]: AVC avc: denied { write } for pid=1440 comm="abrt-dump-journ" name="io.systemd.DynamicUser" dev="tmpfs" ino=42 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:>
abr 25 11:48:53 fedora audit[1440]: AVC avc: denied { write } for pid=1440 comm="abrt-dump-journ" name="io.systemd.Multiplexer" dev="tmpfs" ino=1042 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_>
abr 25 11:48:53 fedora audit[1440]: AVC avc: denied { write } for pid=1440 comm="abrt-dump-journ" name="io.systemd.Home" dev="tmpfs" ino=2477 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:objec>
abr 25 11:48:53 fedora audit[1440]: AVC avc: denied { write } for pid=1440 comm="abrt-dump-journ" name="io.systemd.DynamicUser" dev="tmpfs" ino=42 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:>
abr 25 11:48:53 fedora audit[1440]: AVC avc: denied { write } for pid=1440 comm="abrt-dump-journ" name="io.systemd.Multiplexer" dev="tmpfs" ino=1042 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_>
abr 25 11:48:53 fedora audit[1440]: AVC avc: denied { write } for pid=1440 comm="abrt-dump-journ" name="io.systemd.Home" dev="tmpfs" ino=2477 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:objec>
abr 25 11:48:53 fedora systemd[1870]: Started drkonqi-coredump-launcher@19-18001-0.service - Launch DrKonqi for a systemd-coredump crash (PID 18001/UID 0).
abr 25 11:48:53 fedora drkonqi-coredump-launcher[18086]: Unable to find file for pid 17970 expected at "kcrash-metadata/gldriverquery.e8b851632e3f4836ac4fbd37eddbf352.17970.ini"
abr 25 11:48:53 fedora drkonqi-coredump-launcher[18086]: Nothing handled the dump :O
abr 25 11:48:53 fedora systemd[1]: drkonqi-coredump-processor@12-17996-0.service: Deactivated successfully.
abr 25 11:48:53 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=drkonqi-coredump-processor@12-17996-0 comm="systemd" exe="/usr/lib/systemd/systemd">
abr 25 11:48:53 fedora abrt-server[18088]: Executable '/home/perro/.local/share/Steam/ubuntu12_64/gldriverquery' doesn't belong to any package and ProcessUnpackaged is set to 'no'
abr 25 11:48:53 fedora abrt-server[18088]: 'post-create' on '/var/spool/abrt/ccpp-2024-04-25-11:48:53.341504-17970' exited with 1
abr 25 11:48:53 fedora abrt-server[18088]: Deleting problem directory '/var/spool/abrt/ccpp-2024-04-25-11:48:53.341504-17970'
abr 25 11:48:53 fedora audit: BPF prog-id=182 op=UNLOAD
abr 25 11:48:53 fedora audit: BPF prog-id=181 op=UNLOAD
abr 25 11:48:53 fedora audit: BPF prog-id=180 op=UNLOAD
abr 25 11:48:53 fedora plasmashell[17848]: Steam Runtime Launch Service: starting steam-runtime-launcher-service
abr 25 11:48:53 fedora plasmashell[17848]: Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 18127
abr 25 11:48:53 fedora steam-runtime-launcher-service[18127]: bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
abr 25 11:48:53 fedora audit: BPF prog-id=185 op=UNLOAD
abr 25 11:48:53 fedora audit: BPF prog-id=184 op=UNLOAD
abr 25 11:48:53 fedora audit: BPF prog-id=183 op=UNLOAD
abr 25 11:48:53 fedora xdg-desktop-portal-kde[2313]: xdp-kde-settings: Namespace "org.gnome.desktop.interface" is not supported
Seeing the same issue as others on Fedora 40. My system does not freeze, steam eventually launches just fine after a bit:
journal
May 18 08:34:39 fedora systemd[1]: Started systemd-coredump@0-4940-0.service - Process Core Dump (PID 4940/UID 0).
May 18 08:34:39 fedora systemd-coredump[4942]: [🡕] Process 4896 (gldriverquery) of user 1000 dumped core.
Module libpciaccess.so.0 from rpm libpciaccess-0.16-12.fc40.x86_64
Module libtinfo.so.6 from rpm ncurses-6.4-12.20240127.fc40.x86_64
Module libedit.so.0 from rpm libedit-3.1-50.20230828cvs.fc40.x86_64
Module libdrm_intel.so.1 from rpm libdrm-2.4.120-3.fc40.x86_64
Module libdrm_nouveau.so.2 from rpm libdrm-2.4.120-3.fc40.x86_64
Module libdrm_amdgpu.so.1 from rpm libdrm-2.4.120-3.fc40.x86_64
Module libelf.so.1 from rpm elfutils-0.191-4.fc40.x86_64
Module libdrm_radeon.so.1 from rpm libdrm-2.4.120-3.fc40.x86_64
Module libsensors.so.4 from rpm lm_sensors-3.6.0-18.fc40.x86_64
Module radeonsi_dri.so from rpm mesa-24.0.7-3.fc40.x86_64
Module libxshmfence.so.1 from rpm libxshmfence-1.3.2-3.fc40.x86_64
Module libxcb-sync.so.1 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libxcb-present.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libxcb-dri3.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libwayland-server.so.0 from rpm wayland-1.22.0-3.fc40.x86_64
Module libdrm.so.2 from rpm libdrm-2.4.120-3.fc40.x86_64
Module libxcb-xfixes.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libxcb-randr.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libxcb-dri2.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libX11-xcb.so.1 from rpm libX11-1.8.9-1.fc40.x86_64
Module libexpat.so.1 from rpm expat-2.6.2-1.fc40.x86_64
Module libglapi.so.0 from rpm mesa-24.0.7-3.fc40.x86_64
Module libgbm.so.1 from rpm mesa-24.0.7-3.fc40.x86_64
Module libEGL_mesa.so.0 from rpm mesa-24.0.7-3.fc40.x86_64
Module libEGL.so.1 from rpm libglvnd-1.7.0-4.fc40.x86_64
Module libGLdispatch.so.0 from rpm libglvnd-1.7.0-4.fc40.x86_64
Module libGLX.so.0 from rpm libglvnd-1.7.0-4.fc40.x86_64
Module libGL.so.1 from rpm libglvnd-1.7.0-4.fc40.x86_64
Module libgvfscommon.so from rpm gvfs-1.54.0-2.fc40.x86_64
Module libgvfsdbus.so from rpm gvfs-1.54.0-2.fc40.x86_64
Module libdconfsettings.so from rpm dconf-0.40.0-12.fc40.x86_64
Module libjson-glib-1.0.so.0 from rpm json-glib-1.8.0-3.fc40.x86_64
Module libatspi.so.0 from rpm at-spi2-core-2.52.0-1.fc40.x86_64
Module libjpeg.so.62 from rpm libjpeg-turbo-3.0.2-1.fc40.x86_64
Module libXinerama.so.1 from rpm libXinerama-1.1.5-6.fc40.x86_64
Module libXrandr.so.2 from rpm libXrandr-1.5.4-3.fc40.x86_64
Module libXcomposite.so.1 from rpm libXcomposite-0.4.6-3.fc40.x86_64
Module libXdamage.so.1 from rpm libXdamage-1.1.6-3.fc40.x86_64
Module libXcursor.so.1 from rpm libXcursor-1.2.1-7.fc40.x86_64
Module libXfixes.so.3 from rpm libXfixes-6.0.1-3.fc40.x86_64
Module libtracker-sparql-3.0.so.0 from rpm tracker-3.7.3-1.fc40.x86_64
Module libcloudproviders.so.0 from rpm libcloudproviders-0.3.5-3.fc40.x86_64
Module libatk-bridge-2.0.so.0 from rpm at-spi2-core-2.52.0-1.fc40.x86_64
Module libXi.so.6 from rpm libXi-1.8.1-5.fc40.x86_64
Module libepoxy.so.0 from rpm libepoxy-1.5.10-6.fc40.x86_64
Module libatk-1.0.so.0 from rpm at-spi2-core-2.52.0-1.fc40.x86_64
Module libgdk_pixbuf-2.0.so.0 from rpm gdk-pixbuf2-2.42.10-8.fc40.x86_64
Module libcairo-gobject.so.2 from rpm cairo-1.18.0-3.fc40.x86_64
Module libgdk-3.so.0 from rpm gtk3-3.24.41-1.fc40.x86_64
Module libgtk-3.so.0 from rpm gtk3-3.24.41-1.fc40.x86_64
Module libdecor-gtk.so from rpm libdecor-0.2.2-3.fc40.x86_64
Module libbrotlicommon.so.1 from rpm brotli-1.1.0-3.fc40.x86_64
Module libblkid.so.1 from rpm util-linux-2.40.1-1.fc40.x86_64
Module libXau.so.6 from rpm libXau-1.0.11-6.fc40.x86_64
Module libbrotlidec.so.1 from rpm brotli-1.1.0-3.fc40.x86_64
Module libbz2.so.1 from rpm bzip2-1.0.8-18.fc40.x86_64
Module libdatrie.so.1 from rpm libdatrie-0.2.13-9.fc40.x86_64
Module libselinux.so.1 from rpm libselinux-3.6-4.fc40.x86_64
Module libmount.so.1 from rpm util-linux-2.40.1-1.fc40.x86_64
Module libgmodule-2.0.so.0 from rpm glib2-2.80.2-1.fc40.x86_64
Module libxml2.so.2 from rpm libxml2-2.12.6-1.fc40.x86_64
Module libgraphite2.so.3 from rpm graphite2-1.3.14-15.fc40.x86_64
Module libpcre2-8.so.0 from rpm pcre2-10.42-2.fc40.2.x86_64
Module libpixman-1.so.0 from rpm pixman-0.43.4-1.fc40.x86_64
Module libxcb-shm.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libxcb-render.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libxcb.so.1 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libXrender.so.1 from rpm libXrender-0.9.11-6.fc40.x86_64
Module libXext.so.6 from rpm libXext-1.3.6-1.fc40.x86_64
Module libX11.so.6 from rpm libX11-1.8.9-1.fc40.x86_64
Module libfreetype.so.6 from rpm freetype-2.13.2-5.fc40.x86_64
Module libpng16.so.16 from rpm libpng-1.6.40-3.fc40.x86_64
Module libz.so.1 from rpm zlib-ng-2.1.6-2.fc40.x86_64
Module libthai.so.0 from rpm libthai-0.1.29-8.fc40.x86_64
Module libfribidi.so.0 from rpm fribidi-1.0.13-4.fc40.x86_64
Module libgio-2.0.so.0 from rpm glib2-2.80.2-1.fc40.x86_64
Module libfontconfig.so.1 from rpm fontconfig-2.15.0-4.fc40.x86_64
Module libharfbuzz.so.0 from rpm harfbuzz-8.4.0-1.fc40.x86_64
Module libglib-2.0.so.0 from rpm glib2-2.80.2-1.fc40.x86_64
Module libpangoft2-1.0.so.0 from rpm pango-1.52.2-1.fc40.x86_64
Module libgobject-2.0.so.0 from rpm glib2-2.80.2-1.fc40.x86_64
Module libcairo.so.2 from rpm cairo-1.18.0-3.fc40.x86_64
Module libpango-1.0.so.0 from rpm pango-1.52.2-1.fc40.x86_64
Module libpangocairo-1.0.so.0 from rpm pango-1.52.2-1.fc40.x86_64
Module libdecor-0.so.0 from rpm libdecor-0.2.2-3.fc40.x86_64
Module libxkbcommon.so.0 from rpm libxkbcommon-1.6.0-2.fc40.x86_64
Module libwayland-cursor.so.0 from rpm wayland-1.22.0-3.fc40.x86_64
Module libwayland-egl.so.1 from rpm wayland-1.22.0-3.fc40.x86_64
Module libffi.so.8 from rpm libffi-3.4.4-7.fc40.x86_64
Module libwayland-client.so.0 from rpm wayland-1.22.0-3.fc40.x86_64
Module libzstd.so.1 from rpm zstd-1.5.6-1.fc40.x86_64
Module liblzma.so.5 from rpm xz-5.4.6-3.fc40.x86_64
Module liblz4.so.1 from rpm lz4-1.9.4-6.fc40.x86_64
Module libcap.so.2 from rpm libcap-2.69-8.fc40.x86_64
Module libsystemd.so.0 from rpm systemd-255.6-1.fc40.x86_64
Module libdbus-1.so.3 from rpm dbus-1.14.10-3.fc40.x86_64
Module libSDL2-2.0.so.0 from rpm SDL2-2.30.1-1.fc40.x86_64
Stack trace of thread 4896:
#0 0x00007f7cc558cb90 _ZN4llvm13PMDataManager23recordAvailableAnalysisEPNS_4PassE (libLLVM.so.18.1 + 0x78cb90)
#1 0x00007f7cc558f39f _ZN4llvm13PMDataManager3addEPNS_4PassEb (libLLVM.so.18.1 + 0x78f39f)
#2 0x00007f7cc558c0eb _ZN4llvm17PMTopLevelManager12schedulePassEPNS_4PassE (libLLVM.so.18.1 + 0x78c0eb)
#3 0x00007f7cc558b6c0 _ZN4llvm17PMTopLevelManager12schedulePassEPNS_4PassE (libLLVM.so.18.1 + 0x78b6c0)
#4 0x00007f7cc5593930 _ZN12_GLOBAL__N_113MPPassManager25addLowerLevelRequiredPassEPN4llvm4PassES3_.llvm.14967634306974480985 (libLLVM.so.18.1 + 0x793930)
#5 0x00007f7cc558f2aa _ZN4llvm13PMDataManager3addEPNS_4PassEb (libLLVM.so.18.1 + 0x78f2aa)
#6 0x00007f7cc558c0eb _ZN4llvm17PMTopLevelManager12schedulePassEPNS_4PassE (libLLVM.so.18.1 + 0x78c0eb)
#7 0x00007f7ce23396e8 ac_create_passmgr (radeonsi_dri.so + 0x9396e8)
#8 0x00007f7ce233acba ac_init_llvm_compiler (radeonsi_dri.so + 0x93acba)
#9 0x00007f7ce222b21d si_create_llvm_compiler (radeonsi_dri.so + 0x82b21d)
#10 0x00007f7ce227237e si_shader_select (radeonsi_dri.so + 0x87237e)
#11 0x00007f7ce28a853b _Z17si_update_shadersIL13amd_gfx_level13EL11si_has_tess0EL9si_has_gs0EL10si_has_ngg1EEbP10si_context (radeonsi_dri.so + 0xea853b)
#12 0x00007f7ce28aff66 _Z11si_draw_vboIL13amd_gfx_level13EL11si_has_tess0EL9si_has_gs0EL10si_has_ngg1EL22si_has_sh_pairs_packed0EEvP12pipe_contextPK14pipe_draw_infojPK23pipe_draw_indirect_infoPK26pipe_draw_start_count_biasj (radeonsi_dri.so + 0xeaff66)
#13 0x00007f7ce28a7147 _ZL17si_draw_rectangleP15blitter_contextPvPFS1_S0_Eiiiifj19blitter_attrib_typePK14blitter_attrib (radeonsi_dri.so + 0xea7147)
#14 0x00007f7ce271e83f util_blitter_clear_custom.constprop.0 (radeonsi_dri.so + 0xd1e83f)
#15 0x00007f7ce271ea0c util_blitter_clear (radeonsi_dri.so + 0xd1ea0c)
#16 0x00007f7ce22ba3e3 si_clear (radeonsi_dri.so + 0x8ba3e3)
#17 0x00007f7ce2013ea3 tc_call_clear (radeonsi_dri.so + 0x613ea3)
#18 0x00007f7ce2014c2e tc_batch_execute (radeonsi_dri.so + 0x614c2e)
#19 0x00007f7ce2015398 _tc_sync.isra.0 (radeonsi_dri.so + 0x615398)
#20 0x00007f7ce201da5f tc_flush (radeonsi_dri.so + 0x61da5f)
#21 0x00007f7ce1af0307 st_glFlush (radeonsi_dri.so + 0xf0307)
#22 0x00007f7ce1c34b42 _mesa_make_current (radeonsi_dri.so + 0x234b42)
#23 0x00007f7ce1b0bf4b st_api_make_current (radeonsi_dri.so + 0x10bf4b)
#24 0x00007f7ce1a3769f dri_unbind_context (radeonsi_dri.so + 0x3769f)
#25 0x00007f7ce1a3b1b2 driUnbindContext (radeonsi_dri.so + 0x3b1b2)
#26 0x00007f7ceadd7b9e dri2_make_current (libEGL_mesa.so.0 + 0x1cb9e)
#27 0x00007f7ceadc7f1f eglMakeCurrent (libEGL_mesa.so.0 + 0xcf1f)
#28 0x00007f7cedc7b3ed InternalLoseCurrent (libEGL.so.1 + 0x43ed)
#29 0x00007f7cee326941 SDL_EGL_MakeCurrent (libSDL2-2.0.so.0 + 0xc0941)
#30 0x00007f7cee37483c Wayland_GLES_MakeCurrent (libSDL2-2.0.so.0 + 0x10e83c)
#31 0x00007f7cee3369c7 SDL_GL_MakeCurrent_REAL (libSDL2-2.0.so.0 + 0xd09c7)
#32 0x00007f7cee33caca SDL_DestroyWindow_REAL.part.0 (libSDL2-2.0.so.0 + 0xd6aca)
#33 0x00007f7cee33cbc1 SDL_VideoQuit_REAL.part.0 (libSDL2-2.0.so.0 + 0xd6bc1)
#34 0x00007f7cee27fcf8 SDL_QuitSubSystem_REAL (libSDL2-2.0.so.0 + 0x19cf8)
#35 0x00007f7cee2801e3 SDL_Quit_REAL (libSDL2-2.0.so.0 + 0x1a1e3)
#36 0x00007f7cee0bbbb1 __run_exit_handlers (libc.so.6 + 0x42bb1)
#37 0x00007f7cee0bbc7e exit (libc.so.6 + 0x42c7e)
#38 0x00007f7cee0a308f __libc_start_call_main (libc.so.6 + 0x2a08f)
#39 0x00007f7cee0a314b __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a14b)
#40 0x00005591fbc0b5ba n/a (/home/jorp/.local/share/Steam/ubuntu12_64/gldriverquery + 0xb5ba)
ELF object binary architecture: AMD x86-64
May 18 08:34:39 fedora systemd[1]: systemd-coredump@0-4940-0.service: Deactivated successfully.
dmesg:
[ +0.000003] gldriverquery[4896]: segfault at 40 ip 00007f7cc558cb90 sp 00007ffed6c7d930 error 4 in libLLVM.so.18.1[7f7cc520c000+3af8000] likely on CPU 19 (core 9, socket 0)
My output as of recent on Manjaro Linux
[May27 13:18] [Mon May 27 13:18:19 2024] gldriverquery[69157]: segfault at 0 ip 00007702f446127f sp 00007ffdf68734f0 error 4 in libxcb.so.1.1.0[7702f4459000+14000] likely on CPU 3 (core 3, socket 0)
[ +0.000014] [Mon May 27 13:18:19 2024] Code: 00 eb a0 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 41 57 41 56 41 55 45 89 c5 41 54 55 4c 89 cd 53 48 83 ec 78 48 8b 19 89 74 24 1c <8b> 37 48 89 4c 24 08 64 48 8b 04 25 28 00 00 00 48 89 44 24 68 31
[ +0.570422] [Mon May 27 13:18:20 2024] warning: `ThreadPoolForeg' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
[ +0.171919] [Mon May 27 13:18:20 2024] gldriverquery[69267]: segfault at 0 ip 00000000f2b81341 sp 00000000ffe052d0 error 4 in libxcb.so.1.1.0[f2b78000+17000] likely on CPU 5 (core 5, socket 0)
[ +0.000011] [Mon May 27 13:18:20 2024] Code: 71 0c 8b 19 89 45 a0 8b 41 08 89 75 b4 89 45 a4 8b 41 10 89 45 b8 8b 41 14 89 45 c0 65 a1 14 00 00 00 89 45 e4 8b 06 89 45 b0 <8b> 03 85 c0 0f 85 cb 05 00 00 8b 45 a4 85 c0 0f 84 a2 07 00 00 8b
I am also seeing this with the crash in libxcb.so.1.1.0
(nvidia driver, open kernel modules)
I'm having this issue as well. gldriverquery crashes twice when launching steam. The only game that has crashed so far, as in froze the entire system, was Terraria. Sometime it works, sometimes it crashes immediately. Other games seem to work fine. (Fedora 40 KDE AMD GPU)
I am also seeing this with the crash in
libxcb.so.1.1.0
(nvidia driver, open kernel modules)
You might be having the same issue I was. Take a look at https://github.com/negativo17/steam/issues/9
Issue is still present for me as well. Games don't crash but randomly my entire system will freeze with multiple core dumps from gldriverquery OS: Fedora 40 Graphics card: Vega 64
old report (2022). If you're still crashing after https://github.com/ValveSoftware/steam-for-linux/issues/11052, it's likely a driver bug and not us. closing.
Your system information
Please describe your issue in as much detail as possible:
Every in kernel log appears such record:
Backtrace is looks like: gldriverquery-backtrace.txt
Steps for reproducing this issue: