[Bug 993341] New: gnome desktop crashes after upgrade
http://bugzilla.opensuse.org/show_bug.cgi?id=993341 Bug ID: 993341 Summary: gnome desktop crashes after upgrade Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: lnussel@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 687797 --> http://bugzilla.opensuse.org/attachment.cgi?id=687797&action=edit .xsession-errors After upgrade from 42.1 the gnome desktop crashes for my main user. Other users still work. .xsession-errors shows (gnome-shell:2981): Gjs-WARNING **: JS ERROR: Error: can't convert value to an integer _pack_variant@resource:///org/gnome/gjs/modules/overrides/GLib.js:92 @resource:///org/gnome/gjs/modules/overrides/GLib.js:261 @resource:///org/gnome/gjs/modules/overrides/GLib.js:270 toggleAppMenu@resource:///org/gnome/shell/ui/SLEClassicExt.js:136 init@resource:///org/gnome/shell/ui/SLEClassicExt.js:144 start@resource:///org/gnome/shell/ui/main.js:133 @<main>:1 ** Message: Execution of main.js threw exception: JS_EvaluateScript() failed gnome-session-binary[2830]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
http://bugzilla.opensuse.org/show_bug.cgi?id=993341#c1
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
http://bugzilla.opensuse.org/show_bug.cgi?id=993341#c2
Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
http://bugzilla.opensuse.org/show_bug.cgi?id=993341#c3
--- Comment #3 from Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
http://bugzilla.opensuse.org/show_bug.cgi?id=993341#c4
--- Comment #4 from Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
http://bugzilla.opensuse.org/show_bug.cgi?id=993341#c7
Dominique Leuenberger
I manually used dconf-editor to reset org.gnome.settings-daemon.plugins.xsettings Gtk/ShellShowsAppMenu. That made gnome-shell launch at least
I know this is late - you don't happen to have recorded what the value was before resetting it, right? Seems on every startup, with or without SLE Classic enabled, overrides is being set to 'whatever the current mode seems to be' when logging in to a regular session: GTK/ShellShowsAppMenu=1 & Gtk/ShellShowAppMenu/SLESet=0 in SLE Classic: GTK/ShellShowsAppMenu=0 & Gtk/ShellShowAppMenu/SLESet=1 in GNOME Classic: GTK/ShellShowsAppMenu=1 & Gtk/ShellShowAppMenu/SLESet=0 I'm not sure if all cases are properly handled in that code; knowing what it was before you reset might have helped identify it -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
http://bugzilla.opensuse.org/show_bug.cgi?id=993341#c8
Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
http://bugzilla.opensuse.org/show_bug.cgi?id=993341#c9
--- Comment #9 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
http://bugzilla.opensuse.org/show_bug.cgi?id=993341#c10
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
Chao Xiong
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
http://bugzilla.opensuse.org/show_bug.cgi?id=993341#c11
--- Comment #11 from Chao Xiong
@Chao if I remember right, this code mostly originates by you? You should be able to reproduce this issue as per comment #9 also in SLE - and thus be able to find a solution I hope
Yes. It can be reproduced following the steps in comment #9. This is a SLEClassicExt bug. There is a problem in 'unpack'-ing the value retrieved from GSetting into JS type. The construction logic for 'v' type is to wrap "object variant of 'x'" in an extra Variant container. '.unpack().unpack()' leads to useful JS type. Further, since 'v' allow other types, it's possible (though unlikely) for user to manually set overrides to something like: {'Gtk/ShellShowsAppMenu': <'false'>} // -> 'works!' no app menu or {'Gtk/ShellShowsAppMenu': <true>} // -> no effect either way No error will be reported, but the next start up will have shell crash. Anyway, extra care is needed to make sure these cases are handled as well. Working on a patch... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
Yifan Jiang
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
Chao Xiong
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
http://bugzilla.opensuse.org/show_bug.cgi?id=993341#c13
--- Comment #13 from Chao Xiong
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
Yifan Jiang
http://bugzilla.opensuse.org/show_bug.cgi?id=993341
http://bugzilla.opensuse.org/show_bug.cgi?id=993341#c18
Dominique Leuenberger
participants (1)
-
bugzilla_noreply@novell.com