You are not logged in.

#1 2024-10-04 04:16:26

laborat
Member
Registered: 2019-01-05
Posts: 7

[Solved] gnome-shell segfaults on login

Ever since Arch updated to GNOME 47, I have been unable to use my desktop. When I log in, even with all extensions disabled, I only get the fail whale screen, with the following backtrace in my systemd journal:

systemd-coredump[25327]: Process 24648 (gnome-shell) of user 1000 dumped core.
                                            
                                            Stack trace of thread 24648:
                                            #0  0x000076bd4c560d54 g_slice_free_chain_with_offset (libglib-2.0.so.0 + 0x7fd54)
                                            #1  0x000076bd4c559dc0 g_slist_foreach (libglib-2.0.so.0 + 0x78dc0)
                                            #2  0x000076bd4c560dc8 g_slist_free_full (libglib-2.0.so.0 + 0x7fdc8)
                                            #3  0x000076bd4bf43571 glib_slistautoptr_cleanup_GSList (libmutter-15.so.0 + 0x143571)
                                            #4  0x000076bd4bf32449 meta_window_update_struts (libmutter-15.so.0 + 0x132449)
                                            #5  0x000076bd4bf346db reload_prop_value (libmutter-15.so.0 + 0x1346db)
                                            #6  0x000076bd4bf1c86a meta_window_x11_property_notify (libmutter-15.so.0 + 0x11c86a)
                                            #7  0x000076bd4bf1f82b meta_x11_display_handle_xevent (libmutter-15.so.0 + 0x11f82b)
                                            #8  0x000076bd4bf23884 meta_x11_event_source_dispatch (libmutter-15.so.0 + 0x123884)
                                            #9  0x000076bd4c53e559 g_main_dispatch (libglib-2.0.so.0 + 0x5d559)
                                            #10 0x000076bd4c5a1157 g_main_context_dispatch_unlocked (libglib-2.0.so.0 + 0xc0157)
                                            #11 0x000076bd4c53f287 g_main_loop_run (libglib-2.0.so.0 + 0x5e287)
                                            #12 0x000076bd4bed11ba meta_context_run_main_loop (libmutter-15.so.0 + 0xd11ba)
                                            #13 0x000076bd4b385596 n/a (libffi.so.8 + 0x7596)
                                            #14 0x000076bd4b38200e n/a (libffi.so.8 + 0x400e)
                                            #15 0x000076bd4b384bd3 ffi_call (libffi.so.8 + 0x6bd3)
                                            #16 0x000076bd4c38f851 n/a (libgjs.so.0 + 0x4e851)
                                            #17 0x000076bd4c390c3f n/a (libgjs.so.0 + 0x4fc3f)
                                            #18 0x000076bd4a560c14 n/a (libmozjs-128.so + 0x1560c14)
                                            #19 0x000076bd4a5f68f7 n/a (libmozjs-128.so + 0x15f68f7)
                                            #20 0x000076bd4a693892 _ZN2JS4CallEP9JSContextNS_6HandleINS_5ValueEEES4_RKNS_16HandleValueArrayENS_13MutableHandleIS3_EE (libmozjs-128.so + 0x1693892)
                                            #21 0x000076bd4c3c43a4 n/a (libgjs.so.0 + 0x833a4)
                                            #22 0x000076bd4c3cc6cf gjs_context_eval_module (libgjs.so.0 + 0x8b6cf)
                                            #23 0x000076bd4c3cc911 gjs_context_eval_module_file (libgjs.so.0 + 0x8b911)
                                            #24 0x0000582eb1883575 main (gnome-shell + 0x2575)
                                            #25 0x000076bd4bc34e08 n/a (libc.so.6 + 0x25e08)
                                            #26 0x000076bd4bc34ecc __libc_start_main (libc.so.6 + 0x25ecc)
                                            #27 0x0000582eb18839e5 _start (gnome-shell + 0x29e5)
                                            
                                            Stack trace of thread 24663:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd4a4316b1 n/a (libmozjs-128.so + 0x14316b1)
                                            #3  0x000076bd4a43140e n/a (libmozjs-128.so + 0x143140e)
                                            #4  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #5  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24678:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd452cebae n/a (libgallium-24.2.3-arch1.1.so + 0xcebae)
                                            #3  0x000076bd452ab5bc n/a (libgallium-24.2.3-arch1.1.so + 0xab5bc)
                                            #4  0x000076bd452ceadd n/a (libgallium-24.2.3-arch1.1.so + 0xceadd)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24650:
                                            #0  0x000076bd4bd261fd syscall (libc.so.6 + 0x1171fd)
                                            #1  0x000076bd4c56ff20 g_cond_wait_impl (libglib-2.0.so.0 + 0x8ef20)
                                            #2  0x000076bd4c50698c g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2598c)
                                            #3  0x000076bd4c576137 g_thread_pool_spawn_thread (libglib-2.0.so.0 + 0x95137)
                                            #4  0x000076bd4c572026 g_thread_proxy (libglib-2.0.so.0 + 0x91026)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24665:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd4a4316b1 n/a (libmozjs-128.so + 0x14316b1)
                                            #3  0x000076bd4a43140e n/a (libmozjs-128.so + 0x143140e)
                                            #4  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #5  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24686:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd452cebae n/a (libgallium-24.2.3-arch1.1.so + 0xcebae)
                                            #3  0x000076bd452ab5bc n/a (libgallium-24.2.3-arch1.1.so + 0xab5bc)
                                            #4  0x000076bd452ceadd n/a (libgallium-24.2.3-arch1.1.so + 0xceadd)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24666:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd4a4316b1 n/a (libmozjs-128.so + 0x14316b1)
                                            #3  0x000076bd4a43140e n/a (libmozjs-128.so + 0x143140e)
                                            #4  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #5  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 25002:
                                            #0  0x000076bd4bd261fd syscall (libc.so.6 + 0x1171fd)
                                            #1  0x000076bd4c570c37 g_cond_wait_until_impl (libglib-2.0.so.0 + 0x8fc37)
                                            #2  0x000076bd4c506955 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x25955)
                                            #3  0x000076bd4c506ac8 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x25ac8)
                                            #4  0x000076bd4c576a30 g_thread_pool_wait_for_new_pool (libglib-2.0.so.0 + 0x95a30)
                                            #5  0x000076bd4c572026 g_thread_proxy (libglib-2.0.so.0 + 0x91026)
                                            #6  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #7  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24669:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd4a4316b1 n/a (libmozjs-128.so + 0x14316b1)
                                            #3  0x000076bd4a43140e n/a (libmozjs-128.so + 0x143140e)
                                            #4  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #5  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24667:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd4a4316b1 n/a (libmozjs-128.so + 0x14316b1)
                                            #3  0x000076bd4a43140e n/a (libmozjs-128.so + 0x143140e)
                                            #4  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #5  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24668:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd4a4316b1 n/a (libmozjs-128.so + 0x14316b1)
                                            #3  0x000076bd4a43140e n/a (libmozjs-128.so + 0x143140e)
                                            #4  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #5  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24680:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd452cebae n/a (libgallium-24.2.3-arch1.1.so + 0xcebae)
                                            #3  0x000076bd452ab5bc n/a (libgallium-24.2.3-arch1.1.so + 0xab5bc)
                                            #4  0x000076bd452ceadd n/a (libgallium-24.2.3-arch1.1.so + 0xceadd)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24685:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd452cebae n/a (libgallium-24.2.3-arch1.1.so + 0xcebae)
                                            #3  0x000076bd452ab5bc n/a (libgallium-24.2.3-arch1.1.so + 0xab5bc)
                                            #4  0x000076bd452ceadd n/a (libgallium-24.2.3-arch1.1.so + 0xceadd)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 25151:
                                            #0  0x000076bd4bd261fd syscall (libc.so.6 + 0x1171fd)
                                            #1  0x000076bd4c56ff20 g_cond_wait_impl (libglib-2.0.so.0 + 0x8ef20)
                                            #2  0x000076bd4c50698c g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2598c)
                                            #3  0x000076bd4c5069fd g_async_queue_pop (libglib-2.0.so.0 + 0x259fd)
                                            #4  0x000076bd47afa5fc n/a (libpangoft2-1.0.so.0 + 0xc5fc)
                                            #5  0x000076bd4c572026 g_thread_proxy (libglib-2.0.so.0 + 0x91026)
                                            #6  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #7  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 25291:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd452cebae n/a (libgallium-24.2.3-arch1.1.so + 0xcebae)
                                            #3  0x000076bd452ab5bc n/a (libgallium-24.2.3-arch1.1.so + 0xab5bc)
                                            #4  0x000076bd452ceadd n/a (libgallium-24.2.3-arch1.1.so + 0xceadd)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24662:
                                            #0  0x000076bd4bd1abb0 ppoll (libc.so.6 + 0x10bbb0)
                                            #1  0x000076bd4c5a1227 ppoll (libglib-2.0.so.0 + 0xc0227)
                                            #2  0x000076bd4c53da55 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca55)
                                            #3  0x000076bd445112fe n/a (libdconfsettings.so + 0x62fe)
                                            #4  0x000076bd4c572026 g_thread_proxy (libglib-2.0.so.0 + 0x91026)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24653:
                                            #0  0x000076bd4bd1abb0 ppoll (libc.so.6 + 0x10bbb0)
                                            #1  0x000076bd4c5a1227 ppoll (libglib-2.0.so.0 + 0xc0227)
                                            #2  0x000076bd4c53f287 g_main_loop_run (libglib-2.0.so.0 + 0x5e287)
                                            #3  0x000076bd4c744b44 gdbus_shared_thread_func (libgio-2.0.so.0 + 0x113b44)
                                            #4  0x000076bd4c572026 g_thread_proxy (libglib-2.0.so.0 + 0x91026)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24679:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd452cebae n/a (libgallium-24.2.3-arch1.1.so + 0xcebae)
                                            #3  0x000076bd452ab5bc n/a (libgallium-24.2.3-arch1.1.so + 0xab5bc)
                                            #4  0x000076bd452ceadd n/a (libgallium-24.2.3-arch1.1.so + 0xceadd)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24682:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd452cebae n/a (libgallium-24.2.3-arch1.1.so + 0xcebae)
                                            #3  0x000076bd452ab5bc n/a (libgallium-24.2.3-arch1.1.so + 0xab5bc)
                                            #4  0x000076bd452ceadd n/a (libgallium-24.2.3-arch1.1.so + 0xceadd)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24683:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd452cebae n/a (libgallium-24.2.3-arch1.1.so + 0xcebae)
                                            #3  0x000076bd452ab5bc n/a (libgallium-24.2.3-arch1.1.so + 0xab5bc)
                                            #4  0x000076bd452ceadd n/a (libgallium-24.2.3-arch1.1.so + 0xceadd)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24684:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd452cebae n/a (libgallium-24.2.3-arch1.1.so + 0xcebae)
                                            #3  0x000076bd452ab5bc n/a (libgallium-24.2.3-arch1.1.so + 0xab5bc)
                                            #4  0x000076bd452ceadd n/a (libgallium-24.2.3-arch1.1.so + 0xceadd)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24670:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd4a4316b1 n/a (libmozjs-128.so + 0x14316b1)
                                            #3  0x000076bd4a43140e n/a (libmozjs-128.so + 0x143140e)
                                            #4  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #5  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24681:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd452cebae n/a (libgallium-24.2.3-arch1.1.so + 0xcebae)
                                            #3  0x000076bd452ab5bc n/a (libgallium-24.2.3-arch1.1.so + 0xab5bc)
                                            #4  0x000076bd452ceadd n/a (libgallium-24.2.3-arch1.1.so + 0xceadd)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24664:
                                            #0  0x000076bd4bc9fa19 n/a (libc.so.6 + 0x90a19)
                                            #1  0x000076bd4bca2479 pthread_cond_wait (libc.so.6 + 0x93479)
                                            #2  0x000076bd4a4316b1 n/a (libmozjs-128.so + 0x14316b1)
                                            #3  0x000076bd4a43140e n/a (libmozjs-128.so + 0x143140e)
                                            #4  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #5  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            
                                            Stack trace of thread 24651:
                                            #0  0x000076bd4bd1abb0 ppoll (libc.so.6 + 0x10bbb0)
                                            #1  0x000076bd4c5a1227 ppoll (libglib-2.0.so.0 + 0xc0227)
                                            #2  0x000076bd4c53da55 g_main_context_iteration (libglib-2.0.so.0 + 0x5ca55)
                                            #3  0x000076bd4c53dab2 glib_worker_main (libglib-2.0.so.0 + 0x5cab2)
                                            #4  0x000076bd4c572026 g_thread_proxy (libglib-2.0.so.0 + 0x91026)
                                            #5  0x000076bd4bca339d n/a (libc.so.6 + 0x9439d)
                                            #6  0x000076bd4bd2849c n/a (libc.so.6 + 0x11949c)
                                            ELF object binary architecture: AMD x86-64

I tried the fix in https://bbs.archlinux.org/viewtopic.php?id=299526 but it didn't help (and also my backtrace is different, so it's probably not the same issue).

Does anyone know what I could do to get my desktop back? Downgrading both gnome-shell and mutter to <47.0 works, but it creates issues with window tracking in my (old and obsolete) dock manager, and I'd rather just fix my system and be able to use the current version anyway. I note that I get into problems like this every time a major GNOME version releases, so there must be something on my end (that is apparently local to me, since I couldn't find any bug reports with my exact backtrace) that makes GNOME break itself every single time. Any help would be appreciated!

Last edited by laborat (2024-10-15 13:19:23)

Offline

#2 2024-10-04 07:32:41

seth
Member
Registered: 2012-09-03
Posts: 59,716

Re: [Solved] gnome-shell segfaults on login

#4  0x000076bd4bf32449 meta_window_update_struts (libmutter-15.so.0 + 0x132449)

it creates issues with window tracking in my (old and obsolete) dock manager, and I'd rather just fix my system and be able to use the current version anyway

"struts" specify the area the WM shall keep windows away from because they're occupied by, typically… docks.

Can you log in as a different user?

Offline

#3 2024-10-05 07:49:07

laborat
Member
Registered: 2019-01-05
Posts: 7

Re: [Solved] gnome-shell segfaults on login

Well I'll be... renamed /usr/bin/avant-window-navigator to something else to prevent it from being started and now, here I am, logged in and well! Thanks for that amazing insight.

What's my next step? Should I file a bug report about this?

Offline

#4 2024-10-05 12:39:54

seth
Member
Registered: 2012-09-03
Posts: 59,716

Re: [Solved] gnome-shell segfaults on login

Yes, though AWN hasn't seen action for 7 years, it seems.
But the bug is in mutter, => https://gitlab.gnome.org/GNOME/mutter/-/issues/
There's a decent chance this wa covered by https://gitlab.gnome.org/GNOME/mutter/- … 8ca744af46 though.

Offline

#5 2024-10-09 13:24:16

laborat
Member
Registered: 2019-01-05
Posts: 7

Re: [Solved] gnome-shell segfaults on login

You're right! I applied that patch locally and I now have a working system again. (Well, window tracking on AWN is still broken, but that just means it's time for me to finally bite the bullet and go search for a modern replacement.) Thanks for your help!

Offline

#6 2024-10-09 14:46:59

seth
Member
Registered: 2012-09-03
Posts: 59,716

Re: [Solved] gnome-shell segfaults on login

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB