After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788737 - Gnome Shell crash
Gnome Shell crash
Status: RESOLVED DUPLICATE of bug 788931
Product: gnome-shell
Classification: Core
Component: general
3.26.x
Other Linux
: High critical
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-10-09 20:10 UTC by Marius Melzer
Modified: 2017-10-17 00:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marius Melzer 2017-10-09 20:10:27 UTC
Hi,

after the update to 3.26.1 (from 3.24) the gnome shell crashes from time to time without obvious reason so I'm not sure how to reproduce this.

Excert from journalctl:
Okt 09 21:36:44 sunflower org.gnome.Shell.desktop[16506]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x1600007 specified for 0x160000f (Passwort e).
Okt 09 21:36:45 sunflower gnome-shell[16506]: Allocating size to ShellEmbeddedWindow 0x55597ffec3a0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size t
Okt 09 21:36:48 sunflower systemd-coredump[16392]: Process 2149 (gnome-shell) of user 1000 dumped core.
                                                   
                                                   Stack trace of thread 2149:
                                                   #0  0x00007f51c21bf9e2 g_type_check_instance_cast (libgobject-2.0.so.0)
                                                   #1  0x00007f51bfee7960 st_label_set_text (libst-1.0.so)
                                                   #2  0x00007f51c21a6aef g_object_setv (libgobject-2.0.so.0)
                                                   #3  0x00007f51c21a6caf g_object_set_property (libgobject-2.0.so.0)
                                                   #4  0x00007f51c0e725e8 n/a (libgjs.so.0)
                                                   #5  0x00007f51ba504cb7 n/a (libmozjs-52.so.0)
                                                   #6  0x00007f51ba505343 n/a (libmozjs-52.so.0)
                                                   #7  0x00007f51ba5054bc n/a (libmozjs-52.so.0)
                                                   #8  0x00007f51ba51a334 n/a (libmozjs-52.so.0)
                                                   #9  0x00007f51ba52746e n/a (libmozjs-52.so.0)
                                                   #10 0x00007f51ba50aef2 n/a (libmozjs-52.so.0)
                                                   #11 0x00007f51ba515e97 n/a (libmozjs-52.so.0)
                                                   #12 0x00007f51ba51646f n/a (libmozjs-52.so.0)
                                                   #13 0x00007f51ba739006 n/a (libmozjs-52.so.0)
                                                   #14 0x00000ac0910b0a96 n/a (n/a)
                                                   #15 0x000055ce378c78d8 n/a (n/a)
                                                   #16 0x00000ac092125915 n/a (n/a)
Comment 1 André Klapper 2017-10-10 11:53:13 UTC
Thanks for taking the time to report this.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace with debug symbols installed for libmozjs, gnome-shell and glib2 please?
Comment 2 Marius Melzer 2017-10-10 13:20:10 UTC
Sure, how do I do that? For adding the debug symbols, I need to compile them manually?
Comment 3 Florian Müllner 2017-10-10 13:33:49 UTC
It depends on your distro - on Fedora, you'd use something like
 # dnf debuginfo-install glib2 gjs mutter gnome-shell

SuSE/Debian/Ubuntu have their own command to install debug info. Other distros like Arch/Gentoo don't split out debug info that can be installed, so in that case users indeed have to recompile the packages in question.
Comment 4 Helder Santana 2017-10-12 15:16:43 UTC
Hi, I'm facing the same problem as reported by Marius Melzer. I saw others similar issues opened, but I think this was close to my problem. I use Arch Linux, the a recompile the js52 package (with debug symbol enabled) what is the one who contains the libmozjs. Folow the stack trace:

Process 3599 (gnome-shell) of user 1000 dumped core.

Stack trace of thread 3599:
#0  0x00007f623a4e1d61 g_type_check_instance_is_fundamentally_a (libgobject-2.0.so.0)
#1  0x00007f623a4c3870 g_value_set_object (libgobject-2.0.so.0)
#2  0x00007f623a4c7945 g_object_get_property (libgobject-2.0.so.0)
#3  0x00007f62391942fe n/a (libgjs.so.0)
#4  0x00007f6232813c5b _ZN2js14CallJSGetterOpEP9JSContextPFbS1_N2JS6HandleIP8JSObjectEENS3_I4jsidEENS2_13MutableHandleINS2_5ValueEEEES6_S8_SB_ (libmozjs-52.so.0)
#5  0x00007f623283bfcb NativeGetPropertyInline<(js::AllowGC)1> (libmozjs-52.so.0)
#6  0x00007f623283d93f _ZN2js11GetPropertyEP9JSContextN2JS6HandleIP8JSObjectEENS3_INS2_5ValueEEENS3_I4jsidEENS2_13MutableHandleIS7_EE (libmozjs-52.so.0)
#7  0x00007f62325ef4e1 ComputeGetPropResult (libmozjs-52.so.0)
#8  0x00007f6232607cfe DoGetPropFallback (libmozjs-52.so.0)
#9  0x00003b7bae3ad702 n/a (n/a)
#10 0x00003b7bae3a8888 n/a (n/a)
#11 0x00007f6232a36923 EnterBaseline (libmozjs-52.so.0)
#12 0x00007f6232a3ef8b _ZN2js3jit19EnterBaselineMethodEP9JSContextRNS_8RunStateE (libmozjs-52.so.0)
#13 0x00007f623283af14 _ZN2js9RunScriptEP9JSContextRNS_8RunStateE (libmozjs-52.so.0)
#14 0x00007f623283b46f _ZN2js23InternalCallOrConstructEP9JSContextRKN2JS8CallArgsENS_14MaybeConstructE (libmozjs-52.so.0)
#15 0x00007f623283b779 _ZN2js4CallEP9JSContextN2JS6HandleINS2_5ValueEEES5_RKNS_13AnyInvokeArgsENS2_13MutableHandleIS4_EE (libmozjs-52.so.0)
#16 0x00007f623262b219 _ZN2js3jit14InvokeFunctionEP9JSContextN2JS6HandleIP8JSObjectEEbjPNS3_5ValueENS3_13MutableHandleIS8_EE (libmozjs-52.so.0)
#17 0x00003b7bae3b23c6 n/a (n/a)
#18 0x00007f6232529d3e EnterIon (libmozjs-52.so.0)
#19 0x00007f623283a9e3 Interpret (libmozjs-52.so.0)
#20 0x00007f623283ae97 _ZN2js9RunScriptEP9JSContextRNS_8RunStateE (libmozjs-52.so.0)
#21 0x00007f623283b46f _ZN2js23InternalCallOrConstructEP9JSContextRKN2JS8CallArgsENS_14MaybeConstructE (libmozjs-52.so.0)
#22 0x00007f623283b779 _ZN2js4CallEP9JSContextN2JS6HandleINS2_5ValueEEES5_RKNS_13AnyInvokeArgsENS2_13MutableHandleIS4_EE (libmozjs-52.so.0)
#23 0x00007f623262b219 _ZN2js3jit14InvokeFunctionEP9JSContextN2JS6HandleIP8JSObjectEEbjPNS3_5ValueENS3_13MutableHandleIS8_EE (libmozjs-52.so.0)
#24 0x00003b7bae3b23c6 n/a (n/a)


I hope this can help to find the solution.
Comment 5 Marco Trevisan (Treviño) 2017-10-17 00:19:59 UTC

*** This bug has been marked as a duplicate of bug 788931 ***