Public bug reported:

gnome-shell crashes with SIGSEGV in a tight loop when running as a Wayland
greeter or session on Ubuntu 26.04.

Hardware: HP EliteDesk 705 G2 SFF, AMD Kaveri APU (Radeon R7 Graphics,
PCI ID 1002:130f), kernel driver amdgpu (forced via radeon.cik_support=0
amdgpu.cik_support=1; the same crash occurs with the radeon driver).

Software: Ubuntu 26.04 fully updated, gnome-shell 50.1-0ubuntu1.5,
mutter 50.1-0ubuntu2.5, mesa 26.0.8-1ubuntu0.3, kernel 7.0.0-44-generic.

Symptoms: with GDM, the greeter screen stays black and gnome-shell
restarts every ~8 seconds (26 x SIGSEGV, then SIGABRT when GDM gives
up). 100% reproducible on every boot.

The crash also occurs for a user GNOME Wayland session started from
LightDM (coredump _usr_bin_gnome-shell.1000.crash, same signal 11),
so it is not specific to the GDM greeter. Xfce under LightDM/Xorg
works fine.

Root cause evidence (from coredumpctl): the crash occurs at the first
frame presentation, via a call to a null function pointer inside
libEGL_mesa:

Stack trace of thread 2665:
#0  0x0000000000000000 n/a (n/a + 0x0)
#1  n/a (libEGL_mesa.so.0 + 0x243c9)
#2  n/a (libEGL_mesa.so.0 + 0x18c3b)
#3  n/a (libmutter-cogl-18.so.0 + 0x63a74)
#4  n/a (libmutter-18.so.0 + 0x1d4241)
#5  cogl_onscreen_swap_buffers_with_damage (libmutter-cogl-18.so.0 + 0x4f7e1)
#6  n/a (libmutter-18.so.0 + 0xcddc6)
#7  n/a (libmutter-18.so.0 + 0x1ead05)
#8  n/a (libmutter-clutter-18.so.0 + 0xa6f29)
#9  clutter_frame_clock_dispatch (libmutter-clutter-18.so.0 + 0x74916)

Everything before the crash succeeds per journal: amdgpu device added,
gbm renderer created, EGL context obtained, Xwayland started, session
registered with GDM. The device is driven in "non-atomic mode setting"
and mutter logs "Device prefers shadow buffer".

Note: LIBGL_ALWAYS_SOFTWARE=1 cannot be used as a workaround on this
path: Mesa itself logs "libEGL warning: Not allowed to force software
rendering when API explicitly selects a hardware device", and the
GBM/device EGL platform keeps using radeonsi.

Full coredump stacktrace, journal excerpt, eglinfo and glxinfo outputs
attached. 100% reproducible on every boot. Available to test any fix.

Release: Ubuntu 26.04 LTS (fully updated).
Package version: mesa 26.0.8-1ubuntu0.3 (libegl-mesa0, libgl1-mesa-dri
and related binary packages from the same source).
What I expected: the GDM greeter (and a GNOME Wayland session) to
display normally.
What happened instead: black screen, gnome-shell SIGSEGV crash loop
every ~8 seconds, 100% reproducible on every boot (full details and
stacktrace above).

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: libegl-mesa0 26.0.8-1ubuntu0.3
ProcVersionSignature: Ubuntu 7.0.0-44.44-generic 7.0.14
Uname: Linux 7.0.0-44-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
BootLog: Error: [Errno 13] Permission non accordée: '/var/log/boot.log'
CasperMD5CheckMismatches: 
./pool/restricted/l/linux-restricted-modules-oem-5.17/linux-objects-nvidia-510-5.17.0-1014-oem_5.17.0-1014.15+1_amd64.deb
 
./pool/restricted/l/linux-restricted-modules-oem-5.17/linux-objects-nvidia-515-5.17.0-1014-oem_5.17.0-1014.15+1_amd64.deb
CasperMD5CheckResult: fail
CompositorRunning: None
CurrentDesktop: XFCE
Date: Fri Nov 27 09:34:43 2026
DistUpgraded: 2026-11-25 16:35:38,864 WARNING No regular users with home 
directories found
DistroCodename: resolute
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics] [1002:130f] 
(rev d7) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device [103c:805a]
InstallationDate: Installed on 2022-12-06 (1452 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
MachineType: HP HP EliteDesk 705 G2 SFF
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-44-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash radeon.cik_support=0 
amdgpu.cik_support=1 
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
SourcePackage: mesa
UpgradeStatus: Upgraded to resolute on 2026-11-25 (2 days ago)
dmi.bios.date: 05/30/2016
dmi.bios.release: 2.16
dmi.bios.vendor: HP
dmi.bios.version: N06 Ver. 02.16
dmi.board.name: 805A
dmi.board.vendor: HP
dmi.board.version: KBC Version 05.22
dmi.chassis.asset.tag: CZC6369Z64
dmi.chassis.type: 4
dmi.chassis.vendor: HP
dmi.ec.firmware.release: 5.34
dmi.modalias: 
dmi:bvnHP:bvrN06Ver.02.16:bd05/30/2016:br2.16:efr5.34:svnHP:pnHPEliteDesk705G2SFF:pvr:rvnHP:rn805A:rvrKBCVersion05.22:cvnHP:ct4:cvr:skuL1M89AV:pfa103C_53307FG=D:
dmi.product.family: 103C_53307F G=D
dmi.product.name: HP EliteDesk 705 G2 SFF
dmi.product.sku: L1M89AV
dmi.sys.vendor: HP
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.131-1
version.libgl1-mesa-dri: libgl1-mesa-dri 26.0.8-1ubuntu0.3
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.22-1ubuntu1.3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1build2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.18-1build1

** Affects: mesa (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2178204

Title:
  gnome-shell (Wayland) SIGSEGV in libEGL_mesa during
  eglSwapBuffersWithDamage on AMD Kaveri (radeonsi, Mesa 26.0.8)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/2178204/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to