You are not logged in.

#1 2017-11-18 07:38:01

duo8
Member
Registered: 2016-03-23
Posts: 7

GNOME crashes frequently (& how can I find the cause)

So GNOME would frequently crash out of nowhere, mostly when unlocking from GDM or using firefox (which may or may not be from the same cause). I have no idea what may have caused this (hence the title). All I know is dmesg has an entry kinda like this whenever it crashes

 gnome-shell[983]: segfault at 2 ip 00007fe20378d9e2 sp 00007ffe8fa69d50 error 4 in libgobject-2.0.so.0.5400.0[7fe203755000+54000] 

and with journalctl I get 2 stack traces

 systemd-coredump[3650]: Process 1007 (Xwayland) of user 1000 dumped core.
                                                    
                                                    Stack trace of thread 1007:
                                                    #0  0x00007f6f4b2f58a0 raise (libc.so.6)
                                                    #1  0x00007f6f4b2f6f09 abort (libc.so.6)
                                                    #2  0x000055c4ab858b9a OsAbort (Xwayland)
                                                    #3  0x000055c4ab85e6b3 n/a (Xwayland)
                                                    #4  0x000055c4ab85f4d5 FatalError (Xwayland)
                                                    #5  0x000055c4ab6eabaf n/a (Xwayland)
                                                    #6  0x000055c4ab856711 n/a (Xwayland)
                                                    #7  0x000055c4ab84f5bb WaitForSomething (Xwayland)
                                                    #8  0x000055c4ab81b3c3 n/a (Xwayland)
                                                    #9  0x000055c4ab81f660 n/a (Xwayland)
                                                    #10 0x00007f6f4b2e1f6a __libc_start_main (libc.so.6)
                                                    #11 0x000055c4ab6ea20a _start (Xwayland)
                                                    
                                                    Stack trace of thread 1009:
                                                    #0  0x00007f6f4b68638d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                    #1  0x00007f6f44daca64 n/a (swrast_dri.so)
                                                    #2  0x00007f6f44dac8b8 n/a (swrast_dri.so)
                                                    #3  0x00007f6f4b68008a start_thread (libpthread.so.0)
                                                    #4  0x00007f6f4b3b747f __clone (libc.so.6)
                                                    
                                                    Stack trace of thread 1011:
                                                    #0  0x00007f6f4b68638d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                    #1  0x00007f6f44daca64 n/a (swrast_dri.so)
                                                    #2  0x00007f6f44dac8b8 n/a (swrast_dri.so)
                                                    #3  0x00007f6f4b68008a start_thread (libpthread.so.0)
                                                    #4  0x00007f6f4b3b747f __clone (libc.so.6)
                                                    
                                                    Stack trace of thread 1010:
                                                    #0  0x00007f6f4b68638d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                    #1  0x00007f6f44daca64 n/a (swrast_dri.so)
                                                    #2  0x00007f6f44dac8b8 n/a (swrast_dri.so)
                                                    #3  0x00007f6f4b68008a start_thread (libpthread.so.0)
                                                    #4  0x00007f6f4b3b747f __clone (libc.so.6)
                                                    
                                                    Stack trace of thread 1008:
                                                    #0  0x00007f6f4b68638d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                    #1  0x00007f6f44daca64 n/a (swrast_dri.so)
                                                    #2  0x00007f6f44dac8b8 n/a (swrast_dri.so)
                                                    #3  0x00007f6f4b68008a start_thread (libpthread.so.0)
                                                    #4  0x00007f6f4b3b747f __clone (libc.so.6)
Process 983 (gnome-shell) of user 1000 dumped core.
                                                    
                                                    Stack trace of thread 983:
                                                    #0  0x00007fe20378d9e2 g_type_check_instance_cast (libgobject-2.0.so.0)
                                                    #1  0x00007fe2014ad960 st_label_set_text (libst-1.0.so)
                                                    #2  0x00007fe203774aef g_object_setv (libgobject-2.0.so.0)
                                                    #3  0x00007fe203774caf g_object_set_property (libgobject-2.0.so.0)
                                                    #4  0x00007fe20243d5e8 n/a (libgjs.so.0)
                                                    #5  0x00007fe1fb87bcb7 n/a (libmozjs-52.so.0)
                                                    #6  0x00007fe1fb89168b n/a (libmozjs-52.so.0)
                                                    #7  0x00007fe1fb89e46e n/a (libmozjs-52.so.0)
                                                    #8  0x00007fe1fbaabfc1 n/a (libmozjs-52.so.0)
                                                    #9  0x000033e4dfa8cc06 n/a (n/a)
                                                    #10 0x000033e4dfd2a555 n/a (n/a)
                                                    #11 0x000055ea64a31d10 n/a (n/a)
                                                    #12 0x000033e4dfd2a555 n/a (n/a)

It would be nice if there's a solution but if not I'd appreciate any advice on how I can investigate this and find the cause.

Offline

#2 2017-11-19 02:55:46

magodo
Member
Registered: 2016-11-08
Posts: 18

Re: GNOME crashes frequently (& how can I find the cause)

The identical issue here, looking for a solution..

Offline

#3 2017-11-21 09:14:16

duo8
Member
Registered: 2016-03-23
Posts: 7

Re: GNOME crashes frequently (& how can I find the cause)

It has crashed several times since (both on login and during usage). The stacktrace for gnome-shell is always the same and it has something to do with libgobject.

Offline

#4 2017-11-21 10:20:04

phw
Member
Registered: 2013-05-27
Posts: 318

Re: GNOME crashes frequently (& how can I find the cause)

Likely https://bugzilla.gnome.org/show_bug.cgi?id=788931

Current workaround is to disable extensions that are affected by this.

Offline

#5 2017-11-21 14:09:11

magodo
Member
Registered: 2016-11-08
Posts: 18

Re: GNOME crashes frequently (& how can I find the cause)

phw wrote:

Likely https://bugzilla.gnome.org/show_bug.cgi?id=788931

Current workaround is to disable extensions that are affected by this.

I tried to disable the whole extensions in

gnome-shell-extension-prefs

GUI, and tried to lock screen and unlock. The issue remains. Would you please tell me which one you have disabled and fixed this issue?

Offline

#6 2017-11-21 16:49:11

phw
Member
Registered: 2013-05-27
Posts: 318

Re: GNOME crashes frequently (& how can I find the cause)

For me it was the Arch Linux Update Indicator, but other extensions are mentioned in the bug report. After disabling you should probably reload gnome shell (Alt + F2, type "r" and press Enter)

Offline

#7 2017-11-25 12:43:05

duo8
Member
Registered: 2016-03-23
Posts: 7

Re: GNOME crashes frequently (& how can I find the cause)

Happens with no extension enabled.
This bug seems to have been going on for ages yet never fixed. I remember seeing a report for it long ago.

Offline

#8 2018-02-08 15:00:00

Vlad3
Member
Registered: 2018-02-02
Posts: 9

Re: GNOME crashes frequently (& how can I find the cause)

I have the same problem. I need to reboot every hour. It's killing my workflow.
It seems to be a gjs / gnome related bug.. I don't really know. Still waiting for updates and fixes.
https://bbs.archlinux.org/viewtopic.php?id=234127

Offline

Board footer

Powered by FluxBB