gnome-shell crashed with signal 5 in shell_app_system_get_sections()

Bug #798135 reported by Dmitry Shachnev on 2011-06-16
148
This bug affects 29 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
High
Unassigned

Bug Description

Binary package hint: gnome-shell

This happened when I ran "gnome-shell --replace" from the Classic GNOME session in the oneiric daily live-cd.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: gnome-shell 3.0.2-1
ProcVersionSignature: Ubuntu 3.0-0.1-generic 3.0.0-rc2
Uname: Linux 3.0-0-generic i686
Architecture: i386
Date: Thu Jun 16 10:33:14 2011
ExecutablePath: /usr/bin/gnome-shell
LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110615)
ProcCmdline: gnome-shell --replace
ProcEnviron:
 LANGUAGE=ru_RU:en
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
Signal: 5
SourcePackage: gnome-shell
StacktraceTop:
 shell_app_system_get_sections () from /usr/lib/gnome-shell/libgnome-shell.so
 ffi_call_SYSV () from /usr/lib/libmozjs185.so.1.0
 ffi_call () from /usr/lib/libmozjs185.so.1.0
 ?? () from /usr/lib/libgjs-gi.so.0
 ?? () from /usr/lib/libgjs-gi.so.0
Title: gnome-shell crashed with signal 5 in shell_app_system_get_sections()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Dmitry Shachnev (mitya57) wrote :
visibility: private → public
description: updated
tags: added: iso-testing
removed: unity-2d
description: updated

StacktraceTop:
 shell_app_system_get_sections (system=0xa5e2680) at shell-app-system.c:1233
 ffi_call_SYSV () at src/x86/sysv.S:64
 ffi_call (cif=0xa7f745c, fn=0x258fb0 <shell_app_system_get_sections>, rvalue=0xbf959570, avalue=0xbf959400) at src/x86/ffi.c:303
 gjs_invoke_c_function (context=0xa2beaa8, function=0xa7f7450, obj=0xb00b7ac8, js_argc=0, js_argv=0xb01fd200, js_rval=0xbf9595b8) at gi/function.c:624
 function_call (context=0xa2beaa8, js_argc=0, vp=0xb01fd1f0) at gi/function.c:887

Changed in gnome-shell (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Omer Akram (om26er) wrote :

me too.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed

I can reproduce this reliably by logging into gnome-shell from gdm, then clicking or activating the Activities view.

Eric Appleman (erappleman) wrote :

Same.

gogo (trebelnik-stefina) wrote :

This happened when I logged out of GNOME 3 and login in Unity.

Changed in gnome-shell (Ubuntu):
importance: Medium → High
mario catena (mcblackmar02) wrote :

same bug in installed case amd64

<I can reproduce this reliably by logging into gnome-shell from gdm, then clicking or activating the Activities view>

me too

Can demonstrate this with hellojoker's process too.

On Thu, Jul 21, 2011 at 8:23 AM, hellojoker <email address hidden>wrote:

> <I can reproduce this reliably by logging into gnome-shell from gdm,
> then clicking or activating the Activities view>
>
> me too
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/798135
>
> Title:
> gnome-shell crashed with signal 5 in shell_app_system_get_sections()
>
> Status in “gnome-shell” package in Ubuntu:
> Confirmed
>
> Bug description:
> Binary package hint: gnome-shell
>
> This happened when I ran "gnome-shell --replace" from the Classic
> GNOME session in the oneiric daily live-cd.
>
> ProblemType: Crash
> DistroRelease: Ubuntu 11.10
> Package: gnome-shell 3.0.2-1
> ProcVersionSignature: Ubuntu 3.0-0.1-generic 3.0.0-rc2
> Uname: Linux 3.0-0-generic i686
> Architecture: i386
> Date: Thu Jun 16 10:33:14 2011
> ExecutablePath: /usr/bin/gnome-shell
> LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110615)
> ProcCmdline: gnome-shell --replace
> ProcEnviron:
> LANGUAGE=ru_RU:en
> LANG=ru_RU.UTF-8
> SHELL=/bin/bash
> Signal: 5
> SourcePackage: gnome-shell
> StacktraceTop:
> shell_app_system_get_sections () from
> /usr/lib/gnome-shell/libgnome-shell.so
> ffi_call_SYSV () from /usr/lib/libmozjs185.so.1.0
> ffi_call () from /usr/lib/libmozjs185.so.1.0
> ?? () from /usr/lib/libgjs-gi.so.0
> ?? () from /usr/lib/libgjs-gi.so.0
> Title: gnome-shell crashed with signal 5 in
> shell_app_system_get_sections()
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/798135/+subscriptions
>

Iain Buclaw (ibuclaw) wrote :

Workaround:
sudo ln -s gnome-applications.menu /etc/xdg/menus/applications.menu

Patch:
--- a/src/shell-app-system.c
+++ b/src/shell-app-system.c
@@ -199,7 +199,7 @@
    * handle NODISPLAY semantics at a higher level or investigate them
    * case by case.
    */
- priv->apps_tree = gmenu_tree_lookup ("applications.menu", GMENU_TREE_FLAGS_INCLUDE_NODISPLAY);
+ priv->apps_tree = gmenu_tree_lookup ("gnome-applications.menu", GMENU_TREE_FLAGS_INCLUDE_NODISPLAY);
   priv->settings_tree = gmenu_tree_lookup ("gnomecc.menu", GMENU_TREE_FLAGS_INCLUDE_NODISPLAY);

   priv->app_change_timeout_id = 0;

Iain Buclaw (ibuclaw) on 2011-07-23
tags: added: patch
Dmitry Shachnev (mitya57) wrote :

Thanks for the patch!
Should we upstream it to GNOME bugzilla?

Iain Buclaw (ibuclaw) wrote :

The fact that the applications menu has been renamed to 'gnome-applications.menu' seems ubuntu and/or debian-specific to me. So my guess is no.

Iain Buclaw (ibuclaw) wrote :

http://changelogs.ubuntu.com/changelogs/pool/main/g/gnome-menus/gnome-menus_3.0.1-0ubuntu4/changelog

See changelog for gnome-menus (3.0.0-0ubuntu1) oneiric; urgency=low:

  * debian/patches/06_menus_rename.patch:
    - Rename applications.menu to gnome-applications.menu

Regards

I think this is the same bug, but just in case it isn't: I installed the GNOME 3 shell and attempted to log into a GNOME session straight from the login screen. After parts of the desktop appeared, I got an error report stating the GNOME desktop had crashed.

If it's not the same bug, let me know and I'll upload the apport information properly.

Iain Buclaw (ibuclaw) wrote :

Sounds similar, Christopher. Though there is not enough detail in your description to be certain.

Does the workaround I posted fix your issue?

Don't know. Tried again a few days later and the GNOME 3 desktop loaded fine (just strained against my spare computer's feeble specs). Presumably some update in the last week fixed whatever the cause of the problem was.

If it crashes again I'll try the workaround. With effort going into stabilising unity, GNOME 3 looks fragile at the moment.

Iain Buclaw (ibuclaw) wrote :
Dmitry Shachnev (mitya57) wrote :

Fixed in gnome-menus package.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers