GNOME Bugzilla – Bug 787448
Intermittent Crashes
Last modified: 2020-05-27 15:46:47 UTC
Occasionally my Gnome Shell crashes and then restarts. I have not been able to notice a pattern for when it crashes, often just randomly while I am doing work. Gnome Shell then restarts and seems to work fine until the next crash. Here are some lines from journalctl I thought might be related to the issue: kernel: gnome-shell[830]: segfault at 689fca6fffe8 ip 000068a0606af895 sp 0000709a767799d0 error 4 in libgjs.so.0.0.0[68a06067a000+bb000] ... gnome-session-binary[800]: Unrecoverable failure in required component org.gnome.Shell.desktop ... systemd-coredump[13420]: Process 830 (gnome-shell) of user 1000 dumped core. Stack trace of thread 830: #0 0x000068a0606af895 n/a (libgjs.so.0) #1 0x000068a0606b2497 n/a (libgjs.so.0) #2 0x000068a05964fc73 n/a (libmozjs-38.so) #3 0x000068a0596aaa3c n/a (libmozjs-38.so) #4 0x000068a059650f79 n/a (libmozjs-38.so) #5 0x000068a059666733 n/a (libmozjs-38.so) #6 0x000068a059667172 n/a (libmozjs-38.so) #7 0x000068a059668f18 n/a (libmozjs-38.so) #8 0x000068a0596698c0 n/a (libmozjs-38.so) #9 0x000068a059669b0d n/a (libmozjs-38.so) #10 0x000068a059669ed4 n/a (libmozjs-38.so) #11 0x000068a05966a0b2 n/a (libmozjs-38.so) #12 0x000068a059353c47 n/a (libmozjs-38.so) #13 0x000068a059354845 n/a (libmozjs-38.so) #14 0x000068a0595b542b n/a (libmozjs-38.so) #15 0x000068a04802f134 n/a (n/a)
The stack trace points to gjs as the likely source of the issue, but without debug symbols the trace is useless. Can you please install debug symbols and reproduce the crash?
Looks like you are using systemd as the crash handler. So, once you install the debug symbols, you could try: $ coredumpctl list ... $ coredumpctl gdb <crash-id> ... (gdb) thread apply all bt full
Okay. I installed the debug symbols, but currently I have no known way of instantly reproducing the crash. Not sure when it will happen again so I will update this thread when it next happens.
Okay crashed again with debug symbols: Sep 14 14:54:33 arch kernel: gnome-shell[5022]: segfault at 61a47eefffe8 ip 000061a512273fe5 sp 00007d5a26a5a200 error 4 in libgjs.so.0.0.0[61a51224c000+bb000] Sep 14 14:54:37 arch systemd-coredump[21391]: Process 5022 (gnome-shell) of user 1000 dumped core. Stack trace of thread 5022: #0 0x000061a512273fe5 _ZN2js9GCMethodsIP8JSObjectE16needsPostBarrierES2_ (libgjs.so.0) #1 0x000061a51038c8c5 g_main_context_dispatch (libglib-2.0.so.0) #2 0x000061a51038cc88 n/a (libglib-2.0.so.0) #3 0x000061a51038cfa2 g_main_loop_run (libglib-2.0.so.0) #4 0x000061a511b520f0 meta_run (libmutter-0.so.0) #5 0x00000aaec67d9f3c main (gnome-shell) #6 0x000061a50fd8df6a __libc_start_main (libc.so.6) #7 0x00000aaec67da06a n/a (gnome-shell) Stack trace of thread 5026: #0 0x000061a50fe58cbb __poll (libc.so.6) #1 0x000061a51038cc09 n/a (libglib-2.0.so.0) #2 0x000061a51038cd1c g_main_context_iteration (libglib-2.0.so.0) #3 0x000061a4eb5d755d n/a (libdconfsettings.so) #4 0x000061a5103b3ae5 n/a (libglib-2.0.so.0) #5 0x000061a51012b08a start_thread (libpthread.so.0) #6 0x000061a50fe631bf __clone (libc.so.6) Stack trace of thread 5056: #0 0x000061a50fe58cbb __poll (libc.so.6) #1 0x000061a50bedf7c3 n/a (libpulse.so.0) #2 0x000061a50bed0c20 pa_mainloop_poll (libpulse.so.0) #3 0x000061a50bed12c1 pa_mainloop_iterate (libpulse.so.0) #4 0x000061a50bed1351 pa_mainloop_run (libpulse.so.0) #5 0x000061a50bedf6fe n/a (libpulse.so.0) #6 0x000061a50115788c n/a (libpulsecommon-11.0.so) #7 0x000061a51012b08a start_thread (libpthread.so.0) #8 0x000061a50fe631bf __clone (libc.so.6) Stack trace of thread 5023: #0 0x000061a50fe58cbb __poll (libc.so.6) #1 0x000061a51038cc09 n/a (libglib-2.0.so.0) #2 0x000061a51038cd1c g_main_context_iteration (libglib-2.0.so.0) #3 0x000061a51038cd61 n/a (libglib-2.0.so.0) #4 0x000061a5103b3ae5 n/a (libglib-2.0.so.0) #5 0x000061a51012b08a start_thread (libpthread.so.0) #6 0x000061a50fe631bf __clone (libc.so.6) Stack trace of thread 5063: #0 0x000061a51013138d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x000061a502ab5e39 PR_WaitCondVar (libnspr4.so) #2 0x000061a50aebd811 n/a (libmozjs-38.so) #3 0x000061a502abbae3 n/a (libnspr4.so) #4 0x000061a51012b08a start_thread (libpthread.so.0) #5 0x000061a50fe631bf __clone (libc.so.6) Stack trace of thread 5024: #0 0x000061a50fe58cbb __poll (libc.so.6) #1 0x000061a51038cc09 n/a (libglib-2.0.so.0) #2 0x000061a51038cfa2 g_main_loop_run (libglib-2.0.so.0) #3 0x000061a510974546 n/a (libgio-2.0.so.0) #4 0x000061a5103b3ae5 n/a (libglib-2.0.so.0) #5 0x000061a51012b08a start_thread (libpthread.so.0) #6 0x000061a50fe631bf __clone (libc.so.6) Stack trace of thread 5067: #0 0x000061a51013138d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x000061a502ab5e39 PR_WaitCondVar (libnspr4.so) #2 0x000061a50aebd811 n/a (libmozjs-38.so) #3 0x000061a502abbae3 n/a (libnspr4.so) #4 0x000061a51012b08a start_thread (libpthread.so.0) #5 0x000061a50fe631bf __clone (libc.so.6) Stack trace of thread 5064: #0 0x000061a51013138d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x000061a502ab5e39 PR_WaitCondVar (libnspr4.so) #2 0x000061a50aebd811 n/a (libmozjs-38.so) #3 0x000061a502abbae3 n/a (libnspr4.so) #4 0x000061a51012b08a start_thread (libpthread.so.0) #5 0x000061a50fe631bf __clone (libc.so.6) Stack trace of thread 5061: #0 0x000061a51013138d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x000061a502ab5e39 PR_WaitCondVar (libnspr4.so) #2 0x000061a50aebd811 n/a (libmozjs-38.so) #3 0x000061a502abbae3 n/a (libnspr4.so) #4 0x000061a51012b08a start_thread (libpthread.so.0) #5 0x000061a50fe631bf __clone (libc.so.6) Stack trace of thread 5066: #0 0x000061a51013138d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x000061a502ab5e39 PR_WaitCondVar (libnspr4.so) #2 0x000061a50aebd811 n/a (libmozjs-38.so) #3 0x000061a502abbae3 n/a (libnspr4.so) #4 0x000061a51012b08a start_thread (libpthread.so.0) #5 0x000061a50fe631bf __clone (libc.so.6) Stack trace of thread 5065: #0 0x000061a51013138d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x000061a502ab5e39 PR_WaitCondVar (libnspr4.so) #2 0x000061a50aebd811 n/a (libmozjs-38.so) #3 0x000061a502abbae3 n/a (libnspr4.so) #4 0x000061a51012b08a start_thread (libpthread.so.0) #5 0x000061a50fe631bf __clone (libc.so.6) Stack trace of thread 5062: #0 0x000061a51013138d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x000061a502ab5e39 PR_WaitCondVar (libnspr4.so) #2 0x000061a50aebd811 n/a (libmozjs-38.so) #3 0x000061a502abbae3 n/a (libnspr4.so) #4 0x000061a51012b08a start_thread (libpthread.so.0) #5 0x000061a50fe631bf __clone (libc.so.6) Stack trace of thread 5060: #0 0x000061a51013138d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x000061a502ab5e39 PR_WaitCondVar (libnspr4.so) #2 0x000061a50aebd811 n/a (libmozjs-38.so) #3 0x000061a502abbae3 n/a (libnspr4.so) #4 0x000061a51012b08a start_thread (libpthread.so.0) #5 0x000061a50fe631bf __clone (libc.so.6)
Looks like bug 785657.
*** This bug has been marked as a duplicate of bug 785657 ***