Description of problem: Error (crash) with eglinfo when launching it (command line or GUI) Version-Release number of selected component: egl-utils-9.0.0-8.fc41 Additional info: reporter: libreport-2.17.15 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.kinfocenter reason: eglinfo killed by SIGSEGV rootdir: / package: egl-utils-9.0.0-8.fc41 journald_cursor: s=6fcc4972b72746bf8013e19c98099f8f;i=350cc0;b=798698b003834747a9fcb19bfc48aab6;m=70b641a6;t=62b6a32023848;x=5a09fc655286cbd6 kernel: 6.12.9-200.fc41.x86_64 uid: 1000 crash_function: drisw_init_screen cmdline: /usr/bin/eglinfo runlevel: N 5 backtrace_rating: 4 type: CCpp executable: /usr/bin/eglinfo comment: Error (crash) with eglinfo when launching it (command line or GUI) Truncated backtrace: Thread no. 1 (9 frames) #0 drisw_init_screen at ../src/gallium/frontends/dri/drisw.c:623 #1 driCreateNewScreen3 at ../src/gallium/frontends/dri/dri_util.c:144 #2 dri2_create_screen at ../src/egl/drivers/dri2/egl_dri2.c:825 #3 dri2_initialize_device at ../src/egl/drivers/dri2/platform_device.c:362 #4 dri2_initialize at ../src/egl/drivers/dri2/egl_dri2.c:912 #5 eglInitialize at ../src/egl/main/eglapi.c:719 #6 doOneDisplay at ../src/egl/opengl/eglinfo.c:529 #7 doOneDevice at ../src/egl/opengl/eglinfo.c:647 #8 doDevices at ../src/egl/opengl/eglinfo.c:673
Created attachment 2065474 [details] File: environ
Created attachment 2065475 [details] File: maps
Created attachment 2065476 [details] File: exploitable
Created attachment 2065477 [details] File: open_fds
Created attachment 2065478 [details] File: cpuinfo
Created attachment 2065479 [details] File: core_backtrace
Created attachment 2065480 [details] File: backtrace
Created attachment 2065481 [details] File: proc_pid_status
Created attachment 2065482 [details] File: mountinfo
Created attachment 2065483 [details] File: os_info
Created attachment 2065484 [details] File: dso_list
Created attachment 2065485 [details] File: limits
Same bug: https://bugzilla.redhat.com/show_bug.cgi?id=2336870
The issue is that `screen->swrast_loader` is NULL for software rendering in `drisw_init_screen()`. My guess is that there is an issue in `setupLoaderExtensions()`, but, unfortunately, I wasn't able to reproduce the bug. Does running the command with this environment variables print more information? `$ MESA_DEBUG=1 LIBGL_DEBUG=verbose eglinfo`. Are you using mesa from RPM Fusion? I wonder if the issue could be a mismatch between different mesa packages, but in that case, I think that "DRI driver not from this Mesa build ('X' vs 'Y')" should be printed: https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/loader/loader.c?ref_type=heads#L767
The backtrace looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=2333711
Created attachment 2065814 [details] MESA_DEBUG MESA_DEBUG=1 LIBGL_DEBUG=verbose eglinfo
Created attachment 2065815 [details] dnf repoquery --info --installed mesa*
*** Bug 2336870 has been marked as a duplicate of this bug. ***
Thanks for the logs. I don't see relevant information there. Also, I tried to reproduce in a different PC and in a VM without luck. I'd suggest to report it upstream, where it'll get more attention from the mesa developers: https://gitlab.freedesktop.org/mesa/mesa/-/issues
Done: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12462
run inxi -Gxx in Konsole reporter: libreport-2.17.15 type: CCpp reason: eglinfo killed by SIGSEGV journald_cursor: s=df8329cae32f420ab5c8371d324ec3b4;i=1af661;b=e513851dfb8140c28eb351422bd24067;m=2eba659b4;t=62f25bfc70a73;x=84baed3be1a66870 executable: /usr/bin/eglinfo cmdline: /bin/eglinfo cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole-79549.scope/tab(79563).scope rootdir: / uid: 1000 kernel: 6.12.15-200.fc41.x86_64 package: egl-utils-9.0.0-8.fc41 runlevel: N 5 backtrace_rating: 4 crash_function: drisw_init_screen comment: run inxi -Gxx in Konsole
Crash when opening kinfocenter reporter: libreport-2.17.15 cmdline: /usr/bin/eglinfo cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.kinfocenter kernel: 6.13.6-200.fc41.x86_64 crash_function: drisw_init_screen journald_cursor: s=e6ce1fe61c7c42f29e9501e5e041afff;i=28957b62;b=147f9936558843e788e4adf8d19f6175;m=26c8b505;t=630ad1fe06c53;x=61c90b7f1d6da3a6 reason: eglinfo killed by SIGSEGV runlevel: N 5 package: egl-utils-9.0.0-8.fc41 comment: Crash when opening kinfocenter type: CCpp executable: /usr/bin/eglinfo rootdir: / backtrace_rating: 4 uid: 1000
I opened "More System Information" window in the KDE settings (System, About this System), then went to the Graphics section, OpenGL (EGL). There it was written there is a crash. reporter: libreport-2.17.15 type: CCpp reason: eglinfo killed by SIGSEGV journald_cursor: s=859616f797ad40a2934a00eb0d444f05;i=2b38df;b=11f90f60227147479abe419d981864da;m=183621f5;t=631029beec957;x=e4375f49d210ba76 executable: /usr/bin/eglinfo cmdline: /usr/bin/eglinfo cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.kinfocenter rootdir: / uid: 1000 kernel: 6.13.7-200.fc41.x86_64 package: egl-utils-9.0.0-8.fc41 runlevel: N 5 backtrace_rating: 4 crash_function: drisw_init_screen comment: I opened "More System Information" window in the KDE settings (System, About this System), then went to the Graphics section, OpenGL (EGL). There it was written there is a crash.
run in Konsol: inxi -Fzx reporter: libreport-2.17.15 type: CCpp reason: eglinfo killed by SIGSEGV journald_cursor: s=df8329cae32f420ab5c8371d324ec3b4;i=207d7a;b=2f38551f69594e82be9ccf33e3bcdcbf;m=2c6918e9d;t=631304093bae3;x=24b8cce2d66d06f3 executable: /usr/bin/eglinfo cmdline: /bin/eglinfo cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole rootdir: / uid: 1000 kernel: 6.13.8-200.fc41.x86_64 package: egl-utils-9.0.0-8.fc41 runlevel: N 5 backtrace_rating: 4 crash_function: drisw_init_screen
For my part, the problem with "eglinfo" has been solved update "mesa-25.0.3-2.fc41 "
It appeared again with fedora 42. The problem seems to come back according to the detected GPUs proc 1: Intel® HD Graphics 630 proc 2: The Gallium LLVMpipe driver OK, no error with egl proc 1: Intel® HD Graphics 630 proc2: NVIDIA GeForce GTX 1050 Ti NOK