Gnome-shell 40.4 crashes on logout

gnome-shell 40.4 crashes with SIGSEGV whenever I do either of the following:

  • Select “Log Out” from the gnome-shell dropdown menu; or
  • Run command: gnome-session-quit --logout

There are so many similar issues at gitlab.gnome.org that it seemed pointless to post this one there.

Output of coredumpctl dump follows:

                Stack trace of thread 1653:
                #0  0x00007ff75a76ca74 st_focus_manager_remove_group (libst-1.0.so + 0x26a74)
                #1  0x00007ff75b7e5c2f g_closure_invoke (libgobject-2.0.so.0 + 0x13c2f)
                #2  0x00007ff75b801ea6 signal_emit_unlocked_R (libgobject-2.0.so.0 + 0x2fea6)
                #3  0x00007ff75b80376a g_signal_emit_valist (libgobject-2.0.so.0 + 0x3176a)
                #4  0x00007ff75b803983 g_signal_emit (libgobject-2.0.so.0 + 0x31983)
                #5  0x00007ff75ac2ae60 clutter_actor_dispose (libmutter-clutter-8.so.0 + 0x45e60)
                #6  0x00007ff75a792e05 st_widget_dispose (libst-1.0.so + 0x4ce05)
                #7  0x00007ff75b7e7a76 g_object_run_dispose (libgobject-2.0.so.0 + 0x15a76)
                #8  0x00007ff75ac2e69b clutter_actor_destroy (libmutter-clutter-8.so.0 + 0x4969b)
                #9  0x00007ff75ac38e1d clutter_actor_iter_destroy (libmutter-clutter-8.so.0 + 0x53e1d)
                #10 0x00007ff75ac31078 clutter_actor_real_destroy.lto_priv.0 (libmutter-clutter-8.so.0 + 0x4c078)
                #11 0x00007ff75b7e5b6c g_closure_invoke (libgobject-2.0.so.0 + 0x13b6c)
                #12 0x00007ff75b801e10 signal_emit_unlocked_R (libgobject-2.0.so.0 + 0x2fe10)
                #13 0x00007ff75b80376a g_signal_emit_valist (libgobject-2.0.so.0 + 0x3176a)
                #14 0x00007ff75b803983 g_signal_emit (libgobject-2.0.so.0 + 0x31983)
                #15 0x00007ff75ac2ae60 clutter_actor_dispose (libmutter-clutter-8.so.0 + 0x45e60)
                #16 0x00007ff75a792e05 st_widget_dispose (libst-1.0.so + 0x4ce05)
                #17 0x00007ff75b7e7a76 g_object_run_dispose (libgobject-2.0.so.0 + 0x15a76)
                #18 0x00007ff75ac2e69b clutter_actor_destroy (libmutter-clutter-8.so.0 + 0x4969b)
                #19 0x00007ff75ac38e1d clutter_actor_iter_destroy (libmutter-clutter-8.so.0 + 0x53e1d)
                #20 0x00007ff75ac31078 clutter_actor_real_destroy.lto_priv.0 (libmutter-clutter-8.so.0 + 0x4c078)
                #21 0x00007ff75b7e5c2f g_closure_invoke (libgobject-2.0.so.0 + 0x13c2f)
                #22 0x00007ff75b801e10 signal_emit_unlocked_R (libgobject-2.0.so.0 + 0x2fe10)
                #23 0x00007ff75b80376a g_signal_emit_valist (libgobject-2.0.so.0 + 0x3176a)
                #24 0x00007ff75b803983 g_signal_emit (libgobject-2.0.so.0 + 0x31983)
                #25 0x00007ff75ac2ae60 clutter_actor_dispose (libmutter-clutter-8.so.0 + 0x45e60)
                #26 0x00007ff75a792e05 st_widget_dispose (libst-1.0.so + 0x4ce05)
                #27 0x00007ff75b7f2a94 g_object_unref (libgobject-2.0.so.0 + 0x20a94)
                #28 0x00007ff75ad53365 _ZN14ObjectInstance21release_native_objectEv (libgjs.so.0 + 0x53365)
                #29 0x00007ff75ad5d691 _ZN13GIWrapperBaseI10ObjectBase15ObjectPrototype14ObjectInstanceE8finalizeEP8JSFreeOpP8JSObject (libgjs.so.0 + 0x5d691)
                #30 0x00007ff7582119f8 _Z19FinalizeTypedArenasI8JSObjectEbP8JSFreeOpPPN2js2gc5ArenaERNS4_15SortedArenaListENS4_9AllocKindERNS3_11SliceBudgetE.lto_priv.0 (libmozjs-78.so.0 + 0x5799f8)
                #31 0x00007ff7581f9d59 _ZN2js2gc9GCRuntime17finalizeAllocKindEP8JSFreeOpRNS_11SliceBudgetE (libmozjs-78.so.0 + 0x561d59)
                #32 0x00007ff75820a5f8 _ZN11sweepaction18SweepActionForEachI13ContainerIterIN7mozilla7EnumSetIN2js2gc9AllocKindEmEEES7_E3runERNS5_11SweepAction4ArgsE (libmozjs-78.so.0 + 0x5725f8)
                #33 0x00007ff7581f97ae _ZN11sweepaction19SweepActionSequence3runERN2js2gc11SweepAction4ArgsE (libmozjs-78.so.0 + 0x5617ae)
                #34 0x00007ff75820a2a9 _ZN11sweepaction18SweepActionForEachIN2js2gc19SweepGroupZonesIterEP9JSRuntimeE3runERNS2_11SweepAction4ArgsE (libmozjs-78.so.0 + 0x5722a9)
                #35 0x00007ff7581f97ae _ZN11sweepaction19SweepActionSequence3runERN2js2gc11SweepAction4ArgsE (libmozjs-78.so.0 + 0x5617ae)
                #36 0x00007ff7582125fa _ZN11sweepaction18SweepActionForEachIN2js2gc15SweepGroupsIterEP9JSRuntimeE3runERNS2_11SweepAction4ArgsE (libmozjs-78.so.0 + 0x57a5fa)
                #37 0x00007ff758208d3b _ZN2js2gc9GCRuntime16incrementalSliceERNS_11SliceBudgetERKN7mozilla5MaybeI18JSGCInvocationKindEEN2JS8GCReasonERNS0_13AutoGCSessionE (libmozjs-78.so.0 + 0x570d3b)
                #38 0x00007ff758218b29 _ZN2js2gc9GCRuntime7gcCycleEbNS_11SliceBudgetERKN7mozilla5MaybeI18JSGCInvocationKindEEN2JS8GCReasonE (libmozjs-78.so.0 + 0x580b29)
                #39 0x00007ff75821a8d2 _ZN2js2gc9GCRuntime7collectEbNS_11SliceBudgetERKN7mozilla5MaybeI18JSGCInvocationKindEEN2JS8GCReasonE (libmozjs-78.so.0 + 0x5828d2)
                #40 0x00007ff757fd30c4 _ZN9JSRuntime14destroyRuntimeEv (libmozjs-78.so.0 + 0x33b0c4)
                #41 0x00007ff757e52126 _Z17JS_DestroyContextP9JSContext (libmozjs-78.so.0 + 0x1ba126)
                #42 0x00007ff75ad70611 _ZL19gjs_context_disposeP8_GObject (libgjs.so.0 + 0x70611)
                #43 0x00007ff75b7f2a94 g_object_unref (libgobject-2.0.so.0 + 0x20a94)
                #44 0x0000561ed3972ced main (gnome-shell + 0x2ced)
                #45 0x00007ff75a808b75 __libc_start_main (libc.so.6 + 0x27b75)
                #46 0x0000561ed3972ebe _start (gnome-shell + 0x2ebe)
                
                Stack trace of thread 1680:
                #0  0x00007ff759e88a8a __futex_abstimed_wait_common64 (libpthread.so.0 + 0x15a8a)
                #1  0x00007ff759e822c0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf2c0)
                #2  0x00007ff74131142b util_queue_thread_func (iris_dri.so + 0x1b942b)
                #3  0x00007ff741310eeb impl_thrd_routine (iris_dri.so + 0x1b8eeb)
                #4  0x00007ff759e7c299 start_thread (libpthread.so.0 + 0x9299)
                #5  0x00007ff75a8e1353 __clone (libc.so.6 + 0x100353)
                
                Stack trace of thread 1675:
                #0  0x00007ff759e88a8a __futex_abstimed_wait_common64 (libpthread.so.0 + 0x15a8a)
                #1  0x00007ff759e822c0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf2c0)
                #2  0x00007ff74131142b util_queue_thread_func (iris_dri.so + 0x1b942b)
                #3  0x00007ff741310eeb impl_thrd_routine (iris_dri.so + 0x1b8eeb)
                #4  0x00007ff759e7c299 start_thread (libpthread.so.0 + 0x9299)
                #5  0x00007ff75a8e1353 __clone (libc.so.6 + 0x100353)
                
                Stack trace of thread 2383:
                #0  0x00007ff75a8dbe0d syscall (libc.so.6 + 0xfae0d)
                #1  0x00007ff75b73b85c g_cond_wait_until (libglib-2.0.so.0 + 0xa385c)
                #2  0x00007ff75b6bd401 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x25401)
                #3  0x00007ff75b6bd586 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x25586)
                #4  0x00007ff75b71ebd9 g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x86bd9)
                #5  0x00007ff75b71bc42 g_thread_proxy (libglib-2.0.so.0 + 0x83c42)
                #6  0x00007ff759e7c299 start_thread (libpthread.so.0 + 0x9299)
                #7  0x00007ff75a8e1353 __clone (libc.so.6 + 0x100353)
                
                Stack trace of thread 1677:
                #0  0x00007ff759e88a8a __futex_abstimed_wait_common64 (libpthread.so.0 + 0x15a8a)
                #1  0x00007ff759e822c0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf2c0)
                #2  0x00007ff74131142b util_queue_thread_func (iris_dri.so + 0x1b942b)
                #3  0x00007ff741310eeb impl_thrd_routine (iris_dri.so + 0x1b8eeb)
                #4  0x00007ff759e7c299 start_thread (libpthread.so.0 + 0x9299)
                #5  0x00007ff75a8e1353 __clone (libc.so.6 + 0x100353)
                
                Stack trace of thread 1728:
                #0  0x00007ff759e88a8a __futex_abstimed_wait_common64 (libpthread.so.0 + 0x15a8a)
                #1  0x00007ff759e822c0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf2c0)
                #2  0x00007ff75854418d _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (libmozjs-78.so.0 + 0x8ac18d)
                #3  0x00007ff7585460b5 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-78.so.0 + 0x8ae0b5)
                #4  0x00007ff757ef06d2 _ZN2js12HelperThread10ThreadMainEPv (libmozjs-78.so.0 + 0x2586d2)
                #5  0x00007ff757ef2aa9 _ZN2js6detail16ThreadTrampolineIRFvPvEJPNS_12HelperThreadEEE5StartES2_ (libmozjs-78.so.0 + 0x25aaa9)
                #6  0x00007ff759e7c299 start_thread (libpthread.so.0 + 0x9299)
                #7  0x00007ff75a8e1353 __clone (libc.so.6 + 0x100353)
                
                Stack trace of thread 1660:
                #0  0x00007ff75b6db855 g_hash_table_insert (libglib-2.0.so.0 + 0x43855)
                #1  0x00007ff75b732fd8 g_variant_type_info_get (libglib-2.0.so.0 + 0x9afd8)
                #2  0x00007ff75b72bf90 g_variant_new_dict_entry (libglib-2.0.so.0 + 0x93f90)
                #3  0x00007ff75b96c98b parse_value_from_blob.isra.0 (libgio-2.0.so.0 + 0x13f98b)
                #4  0x00007ff75b96ce90 parse_value_from_blob.isra.0 (libgio-2.0.so.0 + 0x13fe90)
                #5  0x00007ff75b936271 g_dbus_message_new_from_blob (libgio-2.0.so.0 + 0x109271)
                #6  0x00007ff75b946335 _g_dbus_worker_do_read_cb (libgio-2.0.so.0 + 0x119335)
                #7  0x00007ff75b8dba7a g_task_return_now (libgio-2.0.so.0 + 0xaea7a)
                #8  0x00007ff75b8dbabd complete_in_idle_cb (libgio-2.0.so.0 + 0xaeabd)
                #9  0x00007ff75b6e974b g_idle_dispatch (libglib-2.0.so.0 + 0x5174b)
                #10 0x00007ff75b6ed4cf g_main_context_dispatch (libglib-2.0.so.0 + 0x554cf)
                #11 0x00007ff75b7414f8 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa94f8)
                #12 0x00007ff75b6eca93 g_main_loop_run (libglib-2.0.so.0 + 0x54a93)
                #13 0x00007ff75b93dd9a gdbus_shared_thread_func.lto_priv.0 (libgio-2.0.so.0 + 0x110d9a)
                #14 0x00007ff75b71bc42 g_thread_proxy (libglib-2.0.so.0 + 0x83c42)
                #15 0x00007ff759e7c299 start_thread (libpthread.so.0 + 0x9299)
                #16 0x00007ff75a8e1353 __clone (libc.so.6 + 0x100353)
                
                Stack trace of thread 1676:
                #0  0x00007ff759e88a8a __futex_abstimed_wait_common64 (libpthread.so.0 + 0x15a8a)
                #1  0x00007ff759e822c0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf2c0)
                #2  0x00007ff74131142b util_queue_thread_func (iris_dri.so + 0x1b942b)
                #3  0x00007ff741310eeb impl_thrd_routine (iris_dri.so + 0x1b8eeb)
                #4  0x00007ff759e7c299 start_thread (libpthread.so.0 + 0x9299)
                #5  0x00007ff75a8e1353 __clone (libc.so.6 + 0x100353)
                
                Stack trace of thread 1663:
                #0  0x00007ff75a8d65bf __poll (libc.so.6 + 0xf55bf)
                #1  0x00007ff75b74148c g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa948c)
                #2  0x00007ff75b6eac03 g_main_context_iteration (libglib-2.0.so.0 + 0x52c03)
                #3  0x00007ff754e373ed dconf_gdbus_worker_thread (libdconfsettings.so + 0x73ed)
                #4  0x00007ff75b71bc42 g_thread_proxy (libglib-2.0.so.0 + 0x83c42)
                #5  0x00007ff759e7c299 start_thread (libpthread.so.0 + 0x9299)
                #6  0x00007ff75a8e1353 __clone (libc.so.6 + 0x100353)
                
                Stack trace of thread 1674:
                #0  0x00007ff759e88a8a __futex_abstimed_wait_common64 (libpthread.so.0 + 0x15a8a)
                #1  0x00007ff759e822c0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf2c0)
                #2  0x00007ff74131142b util_queue_thread_func (iris_dri.so + 0x1b942b)
                #3  0x00007ff741310eeb impl_thrd_routine (iris_dri.so + 0x1b8eeb)
                #4  0x00007ff759e7c299 start_thread (libpthread.so.0 + 0x9299)
                #5  0x00007ff75a8e1353 __clone (libc.so.6 + 0x100353)
                
                Stack trace of thread 1727:
                #0  0x00007ff759e88a8a __futex_abstimed_wait_common64 (libpthread.so.0 + 0x15a8a)
                #1  0x00007ff759e822c0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf2c0)
                #2  0x00007ff75854418d _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (libmozjs-78.so.0 + 0x8ac18d)
                #3  0x00007ff7585460b5 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-78.so.0 + 0x8ae0b5)
                #4  0x00007ff757ef06d2 _ZN2js12HelperThread10ThreadMainEPv (libmozjs-78.so.0 + 0x2586d2)
                #5  0x00007ff757ef2aa9 _ZN2js6detail16ThreadTrampolineIRFvPvEJPNS_12HelperThreadEEE5StartES2_ (libmozjs-78.so.0 + 0x25aaa9)
                #6  0x00007ff759e7c299 start_thread (libpthread.so.0 + 0x9299)
                #7  0x00007ff75a8e1353 __clone (libc.so.6 + 0x100353)
                
                Stack trace of thread 1658:
                #0  0x00007ff75a8d65bf __poll (libc.so.6 + 0xf55bf)
                #1  0x00007ff75b74148c g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa948c)
                #2  0x00007ff75b6eac03 g_main_context_iteration (libglib-2.0.so.0 + 0x52c03)
                #3  0x00007ff75b6eac51 glib_worker_main (libglib-2.0.so.0 + 0x52c51)
                #4  0x00007ff75b71bc42 g_thread_proxy (libglib-2.0.so.0 + 0x83c42)
                #5  0x00007ff759e7c299 start_thread (libpthread.so.0 + 0x9299)
                #6  0x00007ff75a8e1353 __clone (libc.so.6 + 0x100353)
                
                Stack trace of thread 1729:
                #0  0x00007ff759e88a8a __futex_abstimed_wait_common64 (libpthread.so.0 + 0x15a8a)
                #1  0x00007ff759e822c0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf2c0)
                #2  0x00007ff75854418d _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (libmozjs-78.so.0 + 0x8ac18d)
                #3  0x00007ff7585460b5 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-78.so.0 + 0x8ae0b5)
                #4  0x00007ff757ef06d2 _ZN2js12HelperThread10ThreadMainEPv (libmozjs-78.so.0 + 0x2586d2)
                #5  0x00007ff757ef2aa9 _ZN2js6detail16ThreadTrampolineIRFvPvEJPNS_12HelperThreadEEE5StartES2_ (libmozjs-78.so.0 + 0x25aaa9)
                #6  0x00007ff759e7c299 start_thread (libpthread.so.0 + 0x9299)
                #7  0x00007ff75a8e1353 __clone (libc.so.6 + 0x100353)
                
                Stack trace of thread 1726:
                #0  0x00007ff759e88a8a __futex_abstimed_wait_common64 (libpthread.so.0 + 0x15a8a)
                #1  0x00007ff759e822c0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf2c0)
                #2  0x00007ff75854418d _ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE (libmozjs-78.so.0 + 0x8ac18d)
                #3  0x00007ff7585460b5 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-78.so.0 + 0x8ae0b5)
                #4  0x00007ff757ef06d2 _ZN2js12HelperThread10ThreadMainEPv (libmozjs-78.so.0 + 0x2586d2)
                #5  0x00007ff757ef2aa9 _ZN2js6detail16ThreadTrampolineIRFvPvEJPNS_12HelperThreadEEE5StartES2_ (libmozjs-78.so.0 + 0x25aaa9)
                #6  0x00007ff759e7c299 start_thread (libpthread.so.0 + 0x9299)
                #7  0x00007ff75a8e1353 __clone (libc.so.6 + 0x100353)
1 Like

It’s even more pointless to post it here—we’re not developers and do not generally analyse coredumps to help fix crashes/bugs.

If this is reproducible, it’s best to file a bug. Gnome-shell crashing randomly is not the same thing—different bugs could cause crashes at different times.

I see this issue that comes closest to yours so please have a look:

Just logged out to test this out and didn’t see a crash. Could be
Are you using any extensions? If yes, can you please disable them and then see if you still get the crash? This is generally the first step to debugging any gnome-shell crashes.

1 Like

In the discussion thread at the link you posted, it was ultimately decided that bug had nothing to do with changing the wallpaper. It appears to be the same bug I’m experiencing. Disabling extensions doesn’t affect it.

I guess I’ll just monitor the thread at gitlab.gnome.org and see if there’s any extra info I can provide the developers.

Thanks for your help.

2 Likes
  • When the issue started, is it related to package upgrades?
  • Does the problem persist if you switch SELinux to permissive mode?
  • Can you reproduce the issue under a new user with default profile settings?

already done:
Bug: GNOME Shell sometimes aborts or segfaults on exit

and cause it’s not fixed yet I did

ln -s /tmp /var/lib/systemd/coredump/

I know coredump dir gets cleaned periodical (only some coredumps are kept, oldest gets removed), but…