GNOME Bugzilla – Bug 773928
Frequent segfault in libc-2.24.so; downgrading mesa packages helped
Last modified: 2021-07-05 14:38:49 UTC
Gnome shell is crashing very frequently with: [ 2027.752359] gnome-shell[1018]: segfault at 8 ip 00007f675e68edec sp 00007ffdc0ad5408 error 4 in libc-2.24.so[7f675e60b000+195000] This seems to be happening after mesa upgrade. I'm running Arch: mesa 13.0.0-1 xf86-video-nouveau 1.0.13-1 The stack is the following: Core was generated by `/usr/bin/gnome-shell'. Program terminated with signal SIGSEGV, Segmentation fault.
+ Trace 236817
(In reply to Renato Garcia from comment #0) > This seems to be happening after mesa upgrade. That would hint at a driver issue ... > The stack is the following: > Core was generated by `/usr/bin/gnome-shell'. > Program terminated with signal SIGSEGV, Segmentation fault. ... though it's hard to tell given that the trace is missing most debug symbols. Any chance you can reproduce the issue with those symbols installed, then attach the trace here and also report the issue with mesa (in case it's indeed an issue in the nouveau driver)?
I've downgraded the following libs below and gnome-shell is stable again: mesa (13.0.0-1 -> 12.0.3-3) mesa-libgl (13.0.0-1 -> 12.0.3-3) lib32-mesa (13.0.0-1 -> 12.0.3-3) lib32-mesa-libgl (13.0.0-1 -> 12.0.3-3) llvm-libs (3.9.0-1 -> 3.8.1-1) I'll try reinstall them with the debug symbols and get a stack as soon as I get a chance and report the issue with mesa.
Hi I am also experiencing this around 8 times a day, losing session everytime. running fedora 25 with nouveau drive. Backtrace here https://retrace.fedoraproject.org/faf/reports/1486920/ I can also provide a core dump if it helps?
Please report this on the mesa bug tracker: https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=Drivers%2FDRI%2Fnouveau
I'm having a segfault each time Gnome Pomodoro (package gnome-shell-extension-pomodoro in Fedora25) opens up the break window. Here are the relevant lines in journalctl: gen 16 12:23:33 localhost.localdomain gnome-shell[5684]: GNOME Shell started at Mon Jan 16 2017 12:23:31 GMT+0100 (CET) gen 16 12:23:35 localhost.localdomain audit[5684]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=4 pid=5684 comm="gnome-shell" exe="/usr/bin/gnome-shell" sig=11 gen 16 12:23:35 localhost.localdomain kernel: gnome-shell[5684]: segfault at 8 ip 00007f1282280acc sp 00007fffdbda79c8 error 4 in libc-2.24.so[7f12821f0000+1bd000] gen 16 12:23:35 localhost.localdomain abrt-hook-ccpp[5782]: Process 5684 (gnome-shell) of user 1000 killed by SIGSEGV - ignoring (repeated crash) I'm using xorg (not wayland). How can I debug it? $ lspci | grep -i vga 01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 630 OEM] (rev a1) [~]$ sudo lshw -c video [sudo] password di fede: *-display description: VGA compatible controller product: GK107 [GeForce GT 630 OEM] vendor: NVIDIA Corporation physical id: 0 bus info: pci@0000:01:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom configuration: driver=nouveau latency=0 resources: irq:32 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff [~]$ sudo modinfo nouveau filename: /lib/modules/4.9.3-200.fc25.x86_64/kernel/drivers/gpu/drm/nouveau/nouveau.ko.xz firmware: nvidia/gp100/gr/sw_method_init.bin firmware: nvidia/gp100/gr/sw_bundle_init.bin firmware: nvidia/gp100/gr/sw_nonctx.bin firmware: nvidia/gp100/gr/sw_ctx.bin firmware: nvidia/gp100/gr/gpccs_sig.bin firmware: nvidia/gp100/gr/gpccs_data.bin firmware: nvidia/gp100/gr/gpccs_inst.bin firmware: nvidia/gp100/gr/gpccs_bl.bin firmware: nvidia/gp100/gr/fecs_sig.bin firmware: nvidia/gp100/gr/fecs_data.bin firmware: nvidia/gp100/gr/fecs_inst.bin firmware: nvidia/gp100/gr/fecs_bl.bin firmware: nvidia/gp100/acr/ucode_unload.bin firmware: nvidia/gp100/acr/ucode_load.bin firmware: nvidia/gp100/acr/bl.bin firmware: nvidia/gm206/gr/sw_method_init.bin firmware: nvidia/gm206/gr/sw_bundle_init.bin firmware: nvidia/gm206/gr/sw_nonctx.bin firmware: nvidia/gm206/gr/sw_ctx.bin firmware: nvidia/gm206/gr/gpccs_sig.bin firmware: nvidia/gm206/gr/gpccs_data.bin firmware: nvidia/gm206/gr/gpccs_inst.bin firmware: nvidia/gm206/gr/gpccs_bl.bin firmware: nvidia/gm206/gr/fecs_sig.bin firmware: nvidia/gm206/gr/fecs_data.bin firmware: nvidia/gm206/gr/fecs_inst.bin firmware: nvidia/gm206/gr/fecs_bl.bin firmware: nvidia/gm206/acr/ucode_unload.bin firmware: nvidia/gm206/acr/ucode_load.bin firmware: nvidia/gm206/acr/bl.bin firmware: nvidia/gm204/gr/sw_method_init.bin firmware: nvidia/gm204/gr/sw_bundle_init.bin firmware: nvidia/gm204/gr/sw_nonctx.bin firmware: nvidia/gm204/gr/sw_ctx.bin firmware: nvidia/gm204/gr/gpccs_sig.bin firmware: nvidia/gm204/gr/gpccs_data.bin firmware: nvidia/gm204/gr/gpccs_inst.bin firmware: nvidia/gm204/gr/gpccs_bl.bin firmware: nvidia/gm204/gr/fecs_sig.bin firmware: nvidia/gm204/gr/fecs_data.bin firmware: nvidia/gm204/gr/fecs_inst.bin firmware: nvidia/gm204/gr/fecs_bl.bin firmware: nvidia/gm204/acr/ucode_unload.bin firmware: nvidia/gm204/acr/ucode_load.bin firmware: nvidia/gm204/acr/bl.bin firmware: nvidia/gm200/gr/sw_method_init.bin firmware: nvidia/gm200/gr/sw_bundle_init.bin firmware: nvidia/gm200/gr/sw_nonctx.bin firmware: nvidia/gm200/gr/sw_ctx.bin firmware: nvidia/gm200/gr/gpccs_sig.bin firmware: nvidia/gm200/gr/gpccs_data.bin firmware: nvidia/gm200/gr/gpccs_inst.bin firmware: nvidia/gm200/gr/gpccs_bl.bin firmware: nvidia/gm200/gr/fecs_sig.bin firmware: nvidia/gm200/gr/fecs_data.bin firmware: nvidia/gm200/gr/fecs_inst.bin firmware: nvidia/gm200/gr/fecs_bl.bin firmware: nvidia/gm200/acr/ucode_unload.bin firmware: nvidia/gm200/acr/ucode_load.bin firmware: nvidia/gm200/acr/bl.bin firmware: nvidia/gm20b/gr/sw_method_init.bin firmware: nvidia/gm20b/gr/sw_bundle_init.bin firmware: nvidia/gm20b/gr/sw_nonctx.bin firmware: nvidia/gm20b/gr/sw_ctx.bin firmware: nvidia/gm20b/gr/gpccs_data.bin firmware: nvidia/gm20b/gr/gpccs_inst.bin firmware: nvidia/gm20b/gr/fecs_sig.bin firmware: nvidia/gm20b/gr/fecs_data.bin firmware: nvidia/gm20b/gr/fecs_inst.bin firmware: nvidia/gm20b/gr/fecs_bl.bin firmware: nvidia/gm20b/acr/ucode_load.bin firmware: nvidia/gm20b/acr/bl.bin license: GPL and additional rights description: nVidia Riva/TNT/GeForce/Quadro/Tesla author: Nouveau Project alias: pci:v000012D2d*sv*sd*bc03sc*i* alias: pci:v000010DEd*sv*sd*bc03sc*i* depends: drm,drm_kms_helper,ttm,mxm-wmi,wmi,video,i2c-algo-bit intree: Y vermagic: 4.9.3-200.fc25.x86_64 SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 parm: tv_norm:Default TV norm. Supported: PAL, PAL-M, PAL-N, PAL-Nc, NTSC-M, NTSC-J, hd480i, hd480p, hd576i, hd576p, hd720p, hd1080i. Default: PAL *NOTE* Ignored for cards with external TV encoders. (charp) parm: vram_pushbuf:Create DMA push buffers in VRAM (int) parm: nofbaccel:Disable fbcon acceleration (int) parm: tv_disable:Disable TV-out detection (int) parm: ignorelid:Ignore ACPI lid status (int) parm: duallink:Allow dual-link TMDS (default: enabled) (int) parm: hdmimhz:Force a maximum HDMI pixel clock (in MHz) (int) parm: config:option string to pass to driver core (charp) parm: debug:debug string to pass to driver core (charp) parm: noaccel:disable kernel/abi16 acceleration (int) parm: modeset:enable driver (default: auto, 0 = disabled, 1 = enabled, 2 = headless) (int) parm: runpm:disable (0), force enable (1), optimus only default (-1) (int)
Hey Federico, This is a big in mesa drivers, I don't know if its been reported, but if you want a workaround, in fedora 25 you can downgrade the the following packages to 12.0.3-3 and the bug will be gone. However the bug may need reporting to mesa. mesa-dri-drivers.i686 12.0.3-3.fc25 @@commandline mesa-dri-drivers.x86_64 12.0.3-3.fc25 @@commandline mesa-filesystem.i686 12.0.3-3.fc25 @@commandline mesa-filesystem.x86_64 12.0.3-3.fc25 @@commandline mesa-libEGL.i686 12.0.3-3.fc25 @@commandline mesa-libEGL.x86_64 12.0.3-3.fc25 @@commandline mesa-libGL.i686 12.0.3-3.fc25 @@commandline mesa-libGL.x86_64 12.0.3-3.fc25 @@commandline mesa-libGLES.x86_64 12.0.3-3.fc25 @@commandline mesa-libgbm.i686 12.0.3-3.fc25 @@commandline mesa-libgbm.x86_64 12.0.3-3.fc25 @@commandline mesa-libglapi.i686 12.0.3-3.fc25 @@commandline mesa-libglapi.x86_64 12.0.3-3.fc25 @@commandline mesa-libwayland-egl.x86_64 12.0.3-3.fc25 @@commandline https://bugzilla.redhat.com/show_bug.cgi?id=1403960
Ok, I'm downgrading all the installed mesa- packages. I'll let you know if it works. mesa-dri-drivers x86_64 12.0.3-3.fc25 fedora 11 M mesa-filesystem x86_64 12.0.3-3.fc25 fedora 23 k mesa-libEGL x86_64 12.0.3-3.fc25 fedora 96 k mesa-libEGL-devel x86_64 12.0.3-3.fc25 fedora 37 k mesa-libGL x86_64 12.0.3-3.fc25 fedora 158 k mesa-libGL-devel x86_64 12.0.3-3.fc25 fedora 160 k mesa-libGLES x86_64 12.0.3-3.fc25 fedora 30 k mesa-libgbm x86_64 12.0.3-3.fc25 fedora 43 k mesa-libglapi x86_64 12.0.3-3.fc25 fedora 49 k mesa-libwayland-egl x86_64 12.0.3-3.fc25 fedora 24 k mesa-libwayland-egl-devel x86_64 12.0.3-3.fc25 fedora 22 k mesa-libxatracker x86_64 12.0.3-3.fc25 fedora 1.4 M
I confirm that downgrading those packages works. I've also added this line to /etc/dnf/dnf.conf to prevent updates: exclude=mesa-* Sorry, I don't have time to report the bug for mesa.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/ Thank you for your understanding and your help.