Bug#1010357: gnome-shell: Gnome settings by gnome-control-center and other apps abort with SIGSEGV
Gert van de Kraats
vd.Kraats at hccnet.nl
Fri Apr 29 13:34:03 BST 2022
Package: gnome-shell
Version: 42.0-4
Severity: important
Dear Maintainer,
As can be displayed by Firefox gnome-shell with wayland is using ES 2.0:
WebGL 1 Driver Renderer Intel Open Source Technology Center -- Mesa DRI
Intel(R) 945GM x86/MMX/SSE2
WebGL 1 Driver Version OpenGL ES 2.0 Mesa 21.3.8
With the current gnome-shell version 42.0-4 many/all graphical gnome apps
like gnome-clocks, baobab, gnome-character abort with segmentation failure.
Probably this is caused by using GL_HALF_FLOAT, which is not supported by ES
2.0.
The coredump shows address data is NULL.
A forced abort at _mesa_error shows it is caused by gtk-4.
At gsk/gl/gskglcommandqueue.c exist the lines:
glVertexAttribPointer (2, 4, GL_HALF_FLOAT, GL_FALSE,
and
glVertexAttribPointer (3, 4, GL_HALF_FLOAT, GL_FALSE,
gert at debian:~$ gnome-control-center
Mesa: User error: GL_INVALID_ENUM in glVertexAttribPointer(type =
GL_HALF_FLOAT)
Segmentation fault (core dumped)
Core was generated by `gnome-control-center'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xa623fdf6 in run_vp (ctx=0xa4b6a010, stage=0x1594998) at
../src/mesa/tnl/t_vb_program.c:365
365 COPY_CLEAN_4V(machine->VertAttribs[attr], size, data);
[Current thread is 1 (Thread 0xaf0fc3c0 (LWP 4969))]
(gdb) bt
#0 0xa623fdf6 in run_vp (ctx=0xa4b6a010, stage=0x1594998) at
../src/mesa/tnl/t_vb_program.c:365
#1 0xa6236826 in _tnl_run_pipeline (ctx=0xa4b6a010) at
../src/mesa/tnl/t_pipeline.c:241
#2 0xa617e759 in intelRunPipeline (ctx=0xa4b6a010) at
../src/mesa/drivers/dri/i915/intel_tris.c:1087
#3 0xa6235ad7 in _tnl_draw_prims
(ctx=0xa4b6a010, arrays=0x15957c0, prim=0xbf9261dc, nr_prims=1, ib=0x0,
index_bounds_valid=1 '\001', min_index=<optimized out>, max_index=<optimized
out>, num_instances=1, base_instance=0) at ../src/mesa/tnl/t_draw.c:528
#4 0xa633d09a in _mesa_draw_gallium_fallback (ctx=0xa4b6a010,
info=0xbf926244,
drawid_offset=0, draws=0xbf926238, num_draws=1)
at ../src/mesa/main/draw.c:1016
#5 0xa633beac in _mesa_draw_arrays
(ctx=0xa4b6a010, mode=<optimized out>, start=<optimized out>, count=6,
numInstances=1, baseInstance=0)
at ../src/mesa/main/draw.c:1319
#6 0xb7575bc2 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#7 0xb758f594 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#8 0xb7570fa1 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#9 0xb755952e in gsk_renderer_render () at /lib/i386-linux-gnu/libgtk-4.so.1
#10 0xb73d82dc in () at /lib/i386-linux-gnu/libgtk-4.so.1
#11 0xb73df3e0 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#12 0xb74dae86 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#13 0xb7ce0056 in () at /lib/i386-linux-gnu/libgobject-2.0.so.0
#14 0xb7cf7c01 in g_signal_emit_valist () at /lib/i386-linux-
gnu/libgobject-2.0.so.0
#15 0xb7cf8915 in g_signal_emit () at
/lib/i386-linux-gnu/libgobject-2.0.so.0
#16 0xb750827e in () at /lib/i386-linux-gnu/libgtk-4.so.1
#17 0xb7ce0056 in () at /lib/i386-linux-gnu/libgobject-2.0.so.0
#18 0xb7cf87bc in g_signal_emit_valist () at /lib/i386-linux-
gnu/libgobject-2.0.so.0
#19 0xb7cf8915 in g_signal_emit () at
/lib/i386-linux-gnu/libgobject-2.0.so.0
#20 0xb74f7045 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#21 0xb74f7fb9 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#22 0xb7bcc101 in () at /lib/i386-linux-gnu/libglib-2.0.so.0
#23 0xb7bcb4a9 in g_main_context_dispatch () at /lib/i386-linux-
gnu/libglib-2.0.so.0
#24 0xb7bcb879 in () at /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb7bcb944 in g_main_context_iteration () at /lib/i386-linux-
gnu/libglib-2.0.so.0
#26 0xb7e0f603 in g_application_run () at
/lib/i386-linux-gnu/libgio-2.0.so.0
#27 0x00467df9 in main ()
(gdb) f 0
#0 0xa623fdf6 in run_vp (ctx=0xa4b6a010, stage=0x1594998) at
../src/mesa/tnl/t_vb_program.c:365
365 COPY_CLEAN_4V(machine->VertAttribs[attr], size, data);
(gdb) p data
$1 = (const GLfloat *) 0x0
Forced abort at _mesa_error:
Core was generated by `gnome-control-center'.
Program terminated with signal SIGABRT, Aborted.
#0 0xb7f34559 in __kernel_vsyscall ()
[Current thread is 1 (Thread 0xaf0a33c0 (LWP 19873))]
(gdb) bt
#0 0xb7f34559 in __kernel_vsyscall ()
#1 0xb5c7e8f6 in __libc_signal_restore_set (set=0xbfc20a8c) at
../sysdeps/unix/sysv/linux/internal-signals.h:105
#2 __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:47
#3 0xb5c6730b in __GI_abort () at abort.c:79
#4 0xa59ed08d in _mesa_error (ctx=<optimized out>, error=<optimized out>,
fmtString=<optimized out>)
at ../src/mesa/main/errors.c:353
#5 0xa5ae81ca in validate_array_format
(ctx=0xa4210010, func=0xa62df2d1 "glVertexAttribPointer",
legalTypesMask=<optimized out>, sizeMin=1, sizeMax=4, size=4, type=5131,
normalized=false, integer=false, doubles=false, relativeOffset=0,
format=6408,
attrib=<optimized out>, vao=<optimized out>)
at ../src/mesa/main/varray.c:711
#6 0xa5ae86fc in validate_array_and_format
(ctx=ctx at entry=0xa4210010, func=func at entry=0xa62df2d1
"glVertexAttribPointer", vao=<optimized out>, obj=<optimized out>,
legalTypes=<optimized out>, sizeMin=<optimized out>, sizeMax=<optimized
out>,
size=<optimized out>, type=<optimized out>, stride=<optimized out>,
normalized=<optimized out>, integer=<optimized out>, doubles=0 '\000',
format=6408, ptr=0x10, attrib=17)
at ../src/mesa/main/varray.c:872
#7 0xa5aeb17d in _mesa_VertexAttribPointer (index=2, size=4, type=5131,
normalized=0 '\000', stride=24, ptr=0x10)
at ../src/mesa/main/varray.c:1656
#8 0xb751c437 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#9 0xb7536594 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#10 0xb7517fa1 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#11 0xb750052e in gsk_renderer_render () at
/lib/i386-linux-gnu/libgtk-4.so.1
#12 0xb737f2dc in () at /lib/i386-linux-gnu/libgtk-4.so.1
#13 0xb73863e0 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#14 0xb7481e86 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#15 0xb7c87056 in () at /lib/i386-linux-gnu/libgobject-2.0.so.0
#16 0xb7c9ec01 in g_signal_emit_valist () at /lib/i386-linux-
gnu/libgobject-2.0.so.0
#17 0xb7c9f915 in g_signal_emit () at
/lib/i386-linux-gnu/libgobject-2.0.so.0
#18 0xb74af27e in () at /lib/i386-linux-gnu/libgtk-4.so.1
#19 0xb7c87056 in () at /lib/i386-linux-gnu/libgobject-2.0.so.0
#20 0xb7c9f7bc in g_signal_emit_valist () at /lib/i386-linux-
gnu/libgobject-2.0.so.0
#21 0xb7c9f915 in g_signal_emit () at
/lib/i386-linux-gnu/libgobject-2.0.so.0
#22 0xb749e045 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#23 0xb749efb9 in () at /lib/i386-linux-gnu/libgtk-4.so.1
#24 0xb7b73101 in () at /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb7b724a9 in g_main_context_dispatch () at /lib/i386-linux-
gnu/libglib-2.0.so.0
#26 0xb7b72879 in () at /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb7b72944 in g_main_context_iteration () at /lib/i386-linux-
gnu/libglib-2.0.so.0
#28 0xb7db6603 in g_application_run () at
/lib/i386-linux-gnu/libgio-2.0.so.0
#29 0x0044cdf9 in main ()
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 5.17.0-1-686-pae (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gnome-shell depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.40.0-3
ii gir1.2-accountsservice-1.0 22.07.5-1
ii gir1.2-adw-1 1.1.0-1
ii gir1.2-atk-1.0 2.38.0-1
ii gir1.2-atspi-2.0 2.44.1-1
ii gir1.2-freedesktop 1.72.0-1+b1
ii gir1.2-gcr-3 3.40.0-4
ii gir1.2-gdesktopenums-3.0 42.0-1
ii gir1.2-gdkpixbuf-2.0 2.42.8+dfsg-1
ii gir1.2-gdm-1.0 42.0-1
ii gir1.2-geoclue-2.0 2.6.0-1
ii gir1.2-glib-2.0 1.72.0-1+b1
ii gir1.2-gnomebluetooth-3.0 42.0-5
ii gir1.2-gnomedesktop-3.0 42.0-2
ii gir1.2-graphene-1.0 1.10.8-1
ii gir1.2-gstreamer-1.0 1.20.1-1
ii gir1.2-gtk-3.0 3.24.33-1
ii gir1.2-gtk-4.0 4.6.2+ds-1
ii gir1.2-gweather-4.0 4.0.0-2
ii gir1.2-ibus-1.0 1.5.26-4
ii gir1.2-mutter-10 42.0-4
ii gir1.2-nm-1.0 1.36.4-2
ii gir1.2-nma-1.0 1.8.38-1
ii gir1.2-pango-1.0 1.50.6+ds-2
ii gir1.2-polkit-1.0 0.105-33
ii gir1.2-rsvg-2.0 2.52.5+dfsg-3+b1
ii gir1.2-soup-2.4 2.74.2-3
ii gir1.2-upowerglib-1.0 0.99.17-1
ii gir1.2-webkit2-4.0 2.36.0-3
ii gnome-backgrounds 42.0-1
ii gnome-settings-daemon 42.1-3
ii gnome-shell-common 42.0-4
ii gsettings-desktop-schemas 42.0-1
ii gstreamer1.0-pipewire 0.3.50-1
ii libatk-bridge2.0-0 2.38.0-4
ii libatk1.0-0 2.38.0-1
ii libc6 2.33-7
ii libcairo2 1.16.0-5
ii libecal-2.0-1 3.44.1-1+b1
ii libedataserver-1.2-26 3.44.1-1+b1
ii libgcr-base-3-1 3.40.0-4
ii libgdk-pixbuf-2.0-0 2.42.8+dfsg-1
ii libgirepository-1.0-1 1.72.0-1+b1
ii libgjs0g 1.72.0-2
ii libgles2 1.4.0-1
ii libglib2.0-0 2.72.1-1
ii libglib2.0-bin 2.72.1-1
ii libgnome-autoar-0-0 0.4.3-1
ii libgnome-desktop-3-19 42.0-2
ii libgraphene-1.0-0 1.10.8-1
ii libgtk-3-0 3.24.33-1
ii libgtk-4-1 4.6.2+ds-1
ii libical3 3.0.14-1+b1
ii libjson-glib-1.0-0 1.6.6-1
ii libmutter-10-0 42.0-4
ii libnm0 1.36.4-2
ii libpango-1.0-0 1.50.6+ds-2
ii libpangocairo-1.0-0 1.50.6+ds-2
ii libpolkit-agent-1-0 0.105-33
ii libpolkit-gobject-1-0 0.105-33
ii libpulse-mainloop-glib0 15.0+dfsg1-4
ii libpulse0 15.0+dfsg1-4
ii libsecret-1-0 0.20.5-2
ii libsystemd0 250.4-1
ii libwayland-server0 1.20.0-1
ii libx11-6 2:1.7.5-1
ii libxfixes3 1:6.0.0-1
ii python3 3.10.4-1
Versions of packages gnome-shell recommends:
ii bolt 0.9.2-1
ii chrome-gnome-shell 10.1-5
ii evolution-data-server 3.44.1-1+b1
ii gdm3 42.0-1
ii gkbd-capplet 3.26.1-2
ii gnome-control-center 1:42.0-3
ii gnome-menus 3.36.0-1
ii gnome-user-docs 42.0-1
ii ibus 1.5.26-4
ii iio-sensor-proxy 3.0-2
ii power-profiles-daemon 0.10.1-3
ii switcheroo-control 2.4-3
ii unzip 6.0-26
Versions of packages gnome-shell suggests:
ii gir1.2-malcontent-0 0.10.3-1
pn gir1.2-telepathyglib-0.12 <none>
pn gir1.2-telepathylogger-0.2 <none>
ii gnome-shell-extension-prefs 42.0-4
Versions of packages gnome-session depends on:
ii gnome-session-bin 42.0-1
ii gnome-session-common 42.0-1
ii gnome-settings-daemon 42.1-3
Versions of packages gnome-session suggests:
ii desktop-base 11.0.3
ii gnome-keyring 40.0-3
Versions of packages gnome-settings-daemon depends on:
ii gnome-settings-daemon-common 42.1-3
ii gsettings-desktop-schemas 42.0-1
ii libasound2 1.2.6.1-2+b1
ii libc6 2.33-7
ii libcairo2 1.16.0-5
ii libcanberra-gtk3-0 0.30-10
ii libcanberra0 0.30-10
ii libcolord2 1.4.6-1
ii libcups2 2.4.1op1-2
ii libfontconfig1 2.13.1-4.4
ii libgcr-base-3-1 3.40.0-4
ii libgdk-pixbuf-2.0-0 2.42.8+dfsg-1
ii libgeoclue-2-0 2.6.0-1
ii libgeocode-glib0 3.26.2-2
ii libglib2.0-0 2.72.1-1
ii libgnome-desktop-3-19 42.0-2
ii libgtk-3-0 3.24.33-1
ii libgudev-1.0-0 237-2
ii libgweather-4-0 4.0.0-2
ii liblcms2-2 2.12~rc1-2
ii libmm-glib0 1.18.6-2
ii libnm0 1.36.4-2
ii libnotify4 0.7.9-3
ii libnspr4 2:4.33-1
ii libnss3 2:3.77-1
ii libpam-systemd [logind] 250.4-1
ii libpango-1.0-0 1.50.6+ds-2
ii libpangocairo-1.0-0 1.50.6+ds-2
ii libpolkit-gobject-1-0 0.105-33
ii libpulse-mainloop-glib0 15.0+dfsg1-4
ii libpulse0 15.0+dfsg1-4
ii libupower-glib3 0.99.17-1
ii libwacom9 2.2.0-1
ii libwayland-client0 1.20.0-1
ii libx11-6 2:1.7.5-1
ii libxext6 2:1.3.4-1
ii libxfixes3 1:6.0.0-1
ii libxi6 2:1.8-1
Versions of packages gnome-settings-daemon recommends:
ii iio-sensor-proxy 3.0-2
ii pulseaudio 15.0+dfsg1-4
ii x11-xserver-utils 7.7+9
Versions of packages gnome-settings-daemon suggests:
pn usbguard <none>
Versions of packages libgjs0g depends on:
ii libc6 2.33-7
ii libcairo-gobject2 1.16.0-5
ii libcairo2 1.16.0-5
ii libffi8 3.4.2-4
ii libgcc-s1 12-20220319-1
ii libgirepository-1.0-1 [libgirepository-1.0-1-with-libffi8] 1.72.0-1+b1
ii libglib2.0-0 2.72.1-1
ii libmozjs-91-0 91.7.0-5
ii libreadline8 8.1.2-1.2
ii libstdc++6 12-20220319-1
ii libx11-6 2:1.7.5-1
Versions of packages gnome-shell is related to:
ii libegl-mesa0 [libegl-vendor] 21.3.8-1
ii libgl1-mesa-dri 21.3.8-1
ii libglx-mesa0 [libglx-vendor] 21.3.8-1
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list