gnome-shell crashes randomly
Affected version
gnome-shell 1:40.3-1
mutter 40.3-1
wayland 1.19.0-1
mesa 21.1.6-1
xf86-video-nouveau 1.0.17-1
xf86-video-intel 1:2.99.917+916+g31486f40-1
Bug summary
gnome-shell crashes randomly with "SIGSEGV"
Steps to reproduce
happens randomly
What happened
gnome-shell crashed
What did you expect to happen
not crashing
Relevant logs, screenshots, screencasts etc.
gdb backtrace
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007ff7f49fc50c in meta_drm_buffer_get_fb_id (buffer=0x0) at ../mutter/src/backends/native/meta-drm-buffer.c:242
242 return priv->fb_id;
[Current thread is 1 (Thread 0x7ff7ee920300 (LWP 10946))]
(gdb) bt
#0 0x00007ff7f49fc50c in meta_drm_buffer_get_fb_id (buffer=0x0) at ../mutter/src/backends/native/meta-drm-buffer.c:242
#1 dispatch_page_flip (error=0x7ffd198d0e58, page_flip_data=0x55ed6e0b5820, update=<optimized out>, impl_device=<optimized out>) at ../mutter/src/backends/native/meta-kms-impl-device-simple.c:939
#2 maybe_dispatch_page_flips (error=0x7ffd198d0e58, flags=META_KMS_UPDATE_FLAG_NONE, failed_planes=<synthetic pointer>, update=<optimized out>, impl_device=<optimized out>) at ../mutter/src/backends/native/meta-kms-impl-device-simple.c:1105
#3 meta_kms_impl_device_simple_process_update (impl_device=<optimized out>, update=<optimized out>, flags=META_KMS_UPDATE_FLAG_NONE) at ../mutter/src/backends/native/meta-kms-impl-device-simple.c:1424
#4 0x00007ff7f4a16780 in meta_kms_impl_device_process_update (flags=META_KMS_UPDATE_FLAG_NONE, update=0x55ed6d56e6e0, impl_device=<optimized out>) at ../mutter/src/backends/native/meta-kms-impl-device.c:659
#5 meta_kms_impl_process_update (flags=META_KMS_UPDATE_FLAG_NONE, update=0x55ed6d56e6e0, impl=<optimized out>) at ../mutter/src/backends/native/meta-kms-impl.c:94
#6 meta_kms_process_update_in_impl (error=0x0, user_data=<synthetic pointer>, impl=<optimized out>) at ../mutter/src/backends/native/meta-kms.c:257
#7 meta_kms_run_impl_task_sync (error=0x0, user_data=<synthetic pointer>, func=<optimized out>, kms=0x55ed6ca6e090) at ../mutter/src/backends/native/meta-kms.c:422
#8 meta_kms_post_pending_update_sync.constprop.0 (kms=kms@entry=0x55ed6ca6e090, device=device@entry=0x55ed6ca6b730, flags=META_KMS_UPDATE_FLAG_NONE) at ../mutter/src/backends/native/meta-kms.c:288
#9 0x00007ff7f4a03fe5 in meta_onscreen_native_swap_buffers_with_damage (onscreen=0x55ed6cebc120, rectangles=<optimized out>, n_rectangles=<optimized out>, frame_info=<optimized out>, user_data=0x7ffd198d13b0) at ../mutter/src/backends/native/meta-onscreen-native.c:1138
#10 0x00007ff7f4365512 in cogl_onscreen_swap_buffers_with_damage (onscreen=0x55ed6cebc120, rectangles=0x7ffd198d1100, n_rectangles=1, info=0x55ed6e3ab850, user_data=0x7ffd198d13b0) at ../mutter/cogl/cogl/cogl-onscreen.c:324
#11 0x00007ff7f4bbb1c8 in swap_framebuffer (stage_window=<optimized out>, view=<optimized out>, swap_region=<optimized out>, swap_with_damage=<optimized out>, frame=<optimized out>) at ../mutter/clutter/clutter/cogl/clutter-stage-cogl.c:299
#12 0x00007ff7f4bc24d8 in clutter_stage_cogl_redraw_view_primary (frame=0x7ffd198d13b0, view=0x55ed6ca69210, stage_cogl=<optimized out>) at ../mutter/clutter/clutter/cogl/clutter-stage-cogl.c:672
#13 clutter_stage_cogl_redraw_view (stage_window=<optimized out>, view=0x55ed6ca69210, frame=0x7ffd198d13b0) at ../mutter/clutter/clutter/cogl/clutter-stage-cogl.c:741
#14 0x00007ff7f4a0ac29 in meta_stage_native_redraw_view (stage_window=<optimized out>, view=0x55ed6ca69210, frame=0x7ffd198d13b0) at ../mutter/src/backends/native/meta-stage-native.c:139
#15 0x00007ff7f4b9a2c2 in _clutter_stage_window_redraw_view (frame=0x7ffd198d13b0, view=0x55ed6ca69210, window=0x55ed6cd97380) at ../mutter/clutter/clutter/clutter-stage-window.c:113
#16 handle_frame_clock_frame (frame_clock=<optimized out>, frame_count=<optimized out>, time_us=<optimized out>, user_data=0x55ed6ca69210) at ../mutter/clutter/clutter/clutter-stage-view.c:1188
#17 0x00007ff7f4b52cd4 in clutter_frame_clock_dispatch (time_us=6260794569, frame_clock=0x55ed6ce93830) at ../mutter/clutter/clutter/clutter-frame-clock.c:506
#18 frame_clock_source_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at ../mutter/clutter/clutter/clutter-frame-clock.c:546
#19 0x00007ff7f558310c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#20 0x00007ff7f55d6b99 in () at /usr/lib/libglib-2.0.so.0
#21 0x00007ff7f5582693 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#22 0x00007ff7f49403c7 in meta_run_main_loop () at ../mutter/src/core/main.c:928
#23 meta_run () at ../mutter/src/core/main.c:943
#24 0x000055ed6bfc6423 in ()
#25 0x00007ff7f46c4b25 in __libc_start_main () at /usr/lib/libc.so.6
#26 0x000055ed6bfc664e in ()
info
PID: 10946 (gnome-shell)
UID: 1000 (eddy)
GID: 1000 (eddy)
Signal: 11 (SEGV)
Timestamp: Tue 2021-08-24 10:42:11 CEST (17min ago)
Command Line: /usr/bin/gnome-shell
Executable: /usr/bin/gnome-shell
Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.Shell@wayland.service
Unit: user@1000.service
User Unit: org.gnome.Shell@wayland.service
Slice: user-1000.slice
Owner UID: 1000 (eddy)
Boot ID: aed27db3159741b1b76cd66acaed2242
Machine ID: 61961b17348943fba0dc71d9d6634492
Hostname: r2d2
Storage: /var/lib/systemd/coredump/core.gnome-shell.1000.aed27db3159741b1b76cd66acaed2242.10946.1629794531000000.zst (present)
Disk Size: 25.9M
Message: Process 10946 (gnome-shell) of user 1000 dumped core.
Found module linux-vdso.so.1 with build-id: fa04157c0239ac957b301149a561bbbbc3880c6a
Found module libasound.so.2 with build-id: 9288c92ff737b1999761df2018fcd0e7cbf46d5a
Found module libcanberra-alsa.so with build-id: 118acd4a3e02f5ab369d930792e5ce9007f2de30
Found module libcanberra-pulse.so with build-id: 400935cdf7789421d57f39ccd113eec132edfddc
Found module libcanberra-multi.so with build-id: b387b5d7a6e23d0e79c185dbb9ed60ef960afd98
Found module ISO8859-1.so with build-id: d93c01aecc9ab9b0749df9c7d43dd05dd3887577
Found module libcanberra-gtk-module.so with build-id: 72bd14fd5ba4fb0eda082b3daeccc80b796a5586
Found module libgiognomeproxy.so with build-id: 060bdeb1faf9982bd193c4e6e864b7f4130ecb44
Found module p11-kit-trust.so with build-id: 87d016d3151e4aa7fd79995af1c92b28c8001dee
Found module libgmp.so.10 with build-id: e58d34ab389d1b649c24195c2d145e3ff2e58290
Found module libhogweed.so.6 with build-id: 2d70cff7b1841b4d9ca4e8e7726cd4b944c07fdc
Found module libnettle.so.8 with build-id: 9a878e513c02007598fcf1e2e286c2203f13536e
Found module libtasn1.so.6 with build-id: 4df18bd1f13772f0956191e137eb00d9bd6238c5
Found module libgnutls.so.30 with build-id: 8c87466eacaec0041a370df713d0fd200358c94c
Found module libgiognutls.so with build-id: 93aad040684916a5a66987676ffc95880cdb7945
Found module libgvfsdbus.so with build-id: dcb9d652f2e5c65154517fe6934215ec6bd1c29c
Found module libgvfscommon.so with build-id: 90d1858292300e4e1ee3fbe84ab06079af840ec6
Found module libgioremote-volume-monitor.so with build-id: bf4b4dfc59f013e705245f4df1c3e902b453fa50
Found module libtelepathy-logger.so.3 with build-id: f628832410ecb46bffb45d137be4e4b8b4613704
Found module libdbus-glib-1.so.2 with build-id: 9b483ffff76251ff057e007a0b960bff84ce34a8
Found module libtelepathy-glib.so.0 with build-id: 7e0717e063ee42c37465dcdefaa2d985098fb2b9
Found module libcrypt.so.2 with build-id: 3743451bdaf36f951f926927633fd964813025d0
Found module libaccountsservice.so.0 with build-id: 5bfca519b352299477ede946dd43ef190721bab7
Found module libopus.so.0 with build-id: 649d3ddab8764d7caf73648004a35cb13e23a5e1
Found module libFLAC.so.8 with build-id: e568dc3d434723c72d6d302eb0b2559f27e91faa
Found module libvorbisenc.so.2 with build-id: 28ed815b8b1d322e6bf2bfdce4b0af2789b74335
Found module libasyncns.so.0 with build-id: 6acff139d56b5139ce5eb50a66c62b215e1d332d
Found module libsndfile.so.1 with build-id: 72d5531e74ed3e9afe49e95e449c40cb8984a258
Found module libpulsecommon-15.0.so with build-id: a2e110b7a0b3bb46e42515afd55a61d78185835b
Found module libpulse-mainloop-glib.so.0 with build-id: d9dc4a43a3739575dc1d789cc602d4e3a066979f
Found module libpulse.so.0 with build-id: 10bd0ce0cfbb9405cee189faa1830cf34cab61a8
Found module libgvc.so with build-id: a735c1f9edb49bd83f6250f90957c948c571481f
Found module libnotify.so.4 with build-id: b9a8b678aa4bf781e0b640ecd7e4128e08568990
Found module libcanberra-gtk3.so.0 with build-id: 133409dc3e744fe0edc6a4d078714dce82dacf98
Found module libgnome-bluetooth.so.13 with build-id: f047cec315438bb7f38e51f7d9925d391f8a4697
Found module libbrotlicommon.so.1 with build-id: f68934f94312f770550ebc6c5acfd6359b098b07
Found module libidn2.so.0 with build-id: 1ce2b50ad9f9821c2c629b521cf5a3c99593d332
Found module libunistring.so.2 with build-id: 015ac6d6bcb60b7d8bea31a80d1941b06e8636ab
Found module libkeyutils.so.1 with build-id: ac405ddd17be10ce538da3211415ee50c8f8df79
Found module libkrb5support.so.0 with build-id: c4ee4ad1dc2da57487bc24
# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
01:00.0 VGA compatible controller: NVIDIA Corporation GP107GLM [Quadro P1000 Mobile] (rev a1)
Edited by Eddy S.