Bug 698190

Summary: [abrt] gnome-shell-3.0.0.2-2.fc15: shell_app_system_get_sections: Process /usr/bin/gnome-shell was killed by signal 6 (SIGABRT)
Product: [Fedora] Fedora Reporter: Cristi <csbucur>
Component: gnome-shellAssignee: Owen Taylor <otaylor>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: awilliam, bkelly, danw, dcbw, lbrindle, maxamillion, me, otaylor, poelstra, samkraju, walters
Target Milestone: ---Keywords: CommonBugs
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:1f2fa52eeb5f3541b2a2c9a3ed50ad7fd24dbcc3 https://fedoraproject.org/wiki/Common_F15_bugs#fail_whale
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Cristi 2011-04-20 11:54:22 UTC
abrt version: 1.1.17
architecture: i686
Attached file: backtrace, 34298 bytes
cmdline: /usr/bin/gnome-shell
component: gnome-shell
Attached file: coredump, 93659136 bytes
crash_function: shell_app_system_get_sections
executable: /usr/bin/gnome-shell
kernel: 2.6.38.2-9.fc15.i686.PAE
package: gnome-shell-3.0.0.2-2.fc15
rating: 4
reason: Process /usr/bin/gnome-shell was killed by signal 6 (SIGABRT)
release: Fedora release 15 (Lovelock)
time: 1303297841
uid: 500

How to reproduce
-----
1.after installing fedora 15 over fedora13
2.
3.

Comment 1 Cristi 2011-04-20 11:54:26 UTC
Created attachment 493452 [details]
File: backtrace

Comment 2 John Poelstra 2011-04-20 17:03:44 UTC
Package: gnome-shell-3.0.0.2-2.fc15
Architecture: i686
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
1. Install F15 beta packages (used preupgrade from Fedora 14)
2. Click on "Applications" in Gnome shell
3. Boom, have to logout of shell

Comment 3 John Poelstra 2011-04-20 17:04:59 UTC
This makes Gnome Shell completely unusable for me.

Comment 4 John Poelstra 2011-04-20 17:09:48 UTC
(In reply to comment #2)
> Package: gnome-shell-3.0.0.2-2.fc15
> Architecture: i686
> OS Release: Fedora release 15 (Lovelock)
> 
> 
> How to reproduce
> -----
> 1. Install F15 beta packages (used preupgrade from Fedora 14)
> 2. Click on "Applications" in Gnome shell
> 3. Boom, have to logout of shell

For #3 I meant, Get the sad face that fills the screen and says you have to log out.

Comment 5 Adam Williamson 2011-04-20 17:35:56 UTC
I believe this is the problem discussed at https://admin.fedoraproject.org/updates/gnome-menus-3.0.0-2.fc15,gnome-shell-3.0.0.2-2.fc15,gnome-panel-3.0.0.1-2.fc15 , and updating to gnome-menus-3.0.0-2.fc15 should fix it.

The bug is valid and should stay open, though, as Shell should not crash hard in this case; jclinton wanted there to be a bug for this, so leaving it open but un-marking it as a blocker as you won't hit this crash with the correct gnome-menus.

Comment 6 Jason D. Clinton 2011-04-20 17:37:40 UTC
walters is working on re-writing this section of the code upstream and it will be more resilient against these kinds of missing file problems as a result of the re-writing. Thank you for the backtrace!

Comment 7 Dan Williams 2011-04-20 17:40:57 UTC
Though if we want a quick fix, we should just return NULL in shell_app_system_get_sections() since the JS code handles a NULL return just fine in appDisplay.js.

diff --git a/src/shell-app-system.c b/src/shell-app-system.c
index b52625a..7da1c08 100644
--- a/src/shell-app-system.c
+++ b/src/shell-app-system.c
@@ -1229,8 +1229,10 @@ shell_app_system_get_sections (ShellAppSystem *system)
 
   root = gmenu_tree_get_root_directory (system->priv->apps_tree);
 
-  if (G_UNLIKELY (!root))
-    g_error ("applications.menu not found.");
+  if (G_UNLIKELY (!root)) {
+    g_warning ("applications.menu not found.");
+    return NULL;
+  }
 
   contents = gmenu_tree_directory_get_contents (root);

Comment 8 Dan Winship 2011-04-20 20:30:53 UTC
It looks like this *may* be fixed by the most recent commit to gnome-shell.spec, which ups the gnome-menus requirement (and thus, may be fixed by updating your gnome-menus package to 3.0.0-2). But walters didn't bump the Release with that change, so the current package doesn't have that requirement.

Comment 9 Dan Winship 2011-04-20 20:35:15 UTC
er, wrong bug

Comment 10 Dan Winship 2011-04-20 20:35:34 UTC
*** Bug 697329 has been marked as a duplicate of this bug. ***

Comment 11 John Poelstra 2011-04-20 21:49:07 UTC
(In reply to comment #8)
> It looks like this *may* be fixed by the most recent commit to
> gnome-shell.spec, which ups the gnome-menus requirement (and thus, may be fixed
> by updating your gnome-menus package to 3.0.0-2). But walters didn't bump the
> Release with that change, so the current package doesn't have that requirement.

Yes, I ran a full 'yum update' after using preupgrade and it pulled in these updates.  It works now!

Not sure what state this bug should remain or if you're planning to take in the change in comment#7

Comment 12 Adam Williamson 2011-04-20 23:33:56 UTC
we're considering this bug to be for the crash in GNOME Shell if the file is missing, so making the file show up again doesn't close this bug.

Comment 13 Lana Brindley 2011-04-21 23:30:10 UTC
Package: gnome-shell-3.0.0.2-2.fc15
Architecture: i686
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
1. Login with Gnome Shell
2. Wait three seconds
3. Watch it crash and burn


Comment
-----
I doesn't seem to matter what I attempt to do after I login, even if I do nothing at all, Gnome will crash spectacularly about 3 seconds after I've logged in.

Comment 14 Adam Williamson 2011-04-22 00:31:18 UTC
Lana: see the discussion above, you just need to pull the latest gnome-menus to fix this.

Comment 15 Fedora End Of Life 2012-08-06 20:01:20 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 15. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 15 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 16 Fedora End Of Life 2012-08-06 20:01:46 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 15. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 15 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping