GNOME Bugzilla – Bug 430074
crash in Main Menu in gmenu_tree_ref [fedora-specific?]
Last modified: 2008-02-13 10:06:10 UTC
Version: 0.11.3 What were you doing when the application crashed? I tried to enable the desktop effects Distribution: Fedora release 6.92 (Rawhide) Gnome Release: 2.18.0 2007-03-20 (Red Hat, Inc) BugBuddy Version: 2.18.0 System: Linux 2.6.20-1.3023.fc7 #1 SMP Sun Mar 25 22:12:02 EDT 2007 i686 X Vendor: The X.Org Foundation X Vendor Release: 10299902 Selinux: Enforcing Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: Echo Memory status: size: 65257472 vsize: 65257472 resident: 23805952 share: 14221312 rss: 23805952 rss_rlim: 4294967295 CPU usage: start_time: 1176690274 rtime: 528 utime: 215 stime: 313 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/alacarte' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1209002304 (LWP 3243)] (no debugging symbols found) 0x00425402 in __kernel_vsyscall ()
+ Trace 128043
Thread 1 (Thread -1209002304 (LWP 3243))
----------- .xsession-errors (7 sec old) --------------------- ** (nautilus:3146): WARNING **: Can not get _NET_WORKAREA ** (nautilus:3146): WARNING **: Can not determine workarea, guessing at layout position: 0 0 800 600 effective alpha: 255 free You can not run beagle as root. Beagle is designed to run from your own user account. If you want to create multiuser or system-wide indexes, use the beagle-build-index tool. You can override this setting using the beagle-config or beagle-settings tools. Beagle Daemon exited with errors. See ~/.beagle/Log/current-Beagle for more details. Loading "installonlyn" plugin "/usr/bin/alacarte": not in executable format: File format not recognized --------------------------------------------------
Thanks for taking the time to report this bug. Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
*** Bug 430774 has been marked as a duplicate of this bug. ***
*** Bug 431448 has been marked as a duplicate of this bug. ***
*** Bug 434036 has been marked as a duplicate of this bug. ***
*** Bug 434041 has been marked as a duplicate of this bug. ***
*** Bug 434891 has been marked as a duplicate of this bug. ***
*** Bug 436119 has been marked as a duplicate of this bug. ***
*** Bug 437420 has been marked as a duplicate of this bug. ***
*** Bug 443034 has been marked as a duplicate of this bug. ***
*** Bug 443080 has been marked as a duplicate of this bug. ***
*** Bug 443115 has been marked as a duplicate of this bug. ***
*** Bug 443178 has been marked as a duplicate of this bug. ***
*** Bug 443338 has been marked as a duplicate of this bug. ***
*** Bug 443369 has been marked as a duplicate of this bug. ***
*** Bug 443535 has been marked as a duplicate of this bug. ***
*** Bug 443575 has been marked as a duplicate of this bug. ***
*** Bug 443691 has been marked as a duplicate of this bug. ***
*** Bug 443857 has been marked as a duplicate of this bug. ***
*** Bug 444110 has been marked as a duplicate of this bug. ***
*** Bug 444483 has been marked as a duplicate of this bug. ***
*** Bug 444586 has been marked as a duplicate of this bug. ***
*** Bug 445007 has been marked as a duplicate of this bug. ***
*** Bug 445455 has been marked as a duplicate of this bug. ***
Re: bug 445455. I recompiled alacarte from the source rpm - no debug rpm was built. FWIW, I did install the gnome-menus-debuginfo-2.19.3-1.fc8 rpm, added an empty menu and attempted to delete that empty menu. This time there was no crash and the deletion was successful. I removed the gnome-menus-debuginfo rpm and successfully repeated the add/remove test.
*** Bug 445664 has been marked as a duplicate of this bug. ***
*** Bug 445968 has been marked as a duplicate of this bug. ***
*** Bug 446023 has been marked as a duplicate of this bug. ***
*** Bug 446024 has been marked as a duplicate of this bug. ***
*** Bug 444928 has been marked as a duplicate of this bug. ***
*** Bug 419924 has been marked as a duplicate of this bug. ***
Note: Please see bug 419924 comment 1 for notes (and its stacktrace for the missing function call in frame 6 here).
*** Bug 446455 has been marked as a duplicate of this bug. ***
*** Bug 446492 has been marked as a duplicate of this bug. ***
*** Bug 446701 has been marked as a duplicate of this bug. ***
*** Bug 446916 has been marked as a duplicate of this bug. ***
*** Bug 446990 has been marked as a duplicate of this bug. ***
*** Bug 447092 has been marked as a duplicate of this bug. ***
*** Bug 447236 has been marked as a duplicate of this bug. ***
*** Bug 447609 has been marked as a duplicate of this bug. ***
*** Bug 447692 has been marked as a duplicate of this bug. ***
*** Bug 448051 has been marked as a duplicate of this bug. ***
*** Bug 448122 has been marked as a duplicate of this bug. ***
*** Bug 448227 has been marked as a duplicate of this bug. ***
*** Bug 448295 has been marked as a duplicate of this bug. ***
*** Bug 448378 has been marked as a duplicate of this bug. ***
*** Bug 448646 has been marked as a duplicate of this bug. ***
*** Bug 448728 has been marked as a duplicate of this bug. ***
*** Bug 447767 has been marked as a duplicate of this bug. ***
*** Bug 447804 has been marked as a duplicate of this bug. ***
*** Bug 447820 has been marked as a duplicate of this bug. ***
*** Bug 448293 has been marked as a duplicate of this bug. ***
*** Bug 448998 has been marked as a duplicate of this bug. ***
*** Bug 449049 has been marked as a duplicate of this bug. ***
*** Bug 449145 has been marked as a duplicate of this bug. ***
*** Bug 449297 has been marked as a duplicate of this bug. ***
*** Bug 449530 has been marked as a duplicate of this bug. ***
*** Bug 449415 has been marked as a duplicate of this bug. ***
Running from the xterm as sudo gives the forllowing info when trying to look at the properties on the wine folder with alacarte. Traceback (most recent call last):
+ Trace 142925
file_path = os.path.join(util.getUserDirectoryPath(), os.path.split(item.get_desktop_file_path())[1])
i = p.rfind('/') + 1
Maybe this will Help
*** Bug 450244 has been marked as a duplicate of this bug. ***
*** Bug 450524 has been marked as a duplicate of this bug. ***
*** Bug 450507 has been marked as a duplicate of this bug. ***
*** Bug 450530 has been marked as a duplicate of this bug. ***
*** Bug 450560 has been marked as a duplicate of this bug. ***
*** Bug 450572 has been marked as a duplicate of this bug. ***
*** Bug 450610 has been marked as a duplicate of this bug. ***
*** Bug 450701 has been marked as a duplicate of this bug. ***
*** Bug 450764 has been marked as a duplicate of this bug. ***
*** Bug 450981 has been marked as a duplicate of this bug. ***
*** Bug 451196 has been marked as a duplicate of this bug. ***
*** Bug 451309 has been marked as a duplicate of this bug. ***
*** Bug 451330 has been marked as a duplicate of this bug. ***
*** Bug 451415 has been marked as a duplicate of this bug. ***
*** Bug 451454 has been marked as a duplicate of this bug. ***
*** Bug 451476 has been marked as a duplicate of this bug. ***
(In reply to comment #72) > *** Bug 451415 has been marked as a duplicate of this bug. *** > Specifically, I was in Main Menu (alacarte/menu editor) and I wanted to remove menu entries for items added by wine. The original menu structure was "Applications/Wine/Programs/Microsoft Games/AOE 2" I right clicked on "Microsoft Games" and selected "Delete". Nothing appeared to happen for several seconds. I then selected "AOE 2", right clicked, and selected Delete. Alacarte crashed and an automatic bug report was generated by Bug Buddy.
*** Bug 452094 has been marked as a duplicate of this bug. ***
*** Bug 452462 has been marked as a duplicate of this bug. ***
*** Bug 452236 has been marked as a duplicate of this bug. ***
*** Bug 452587 has been marked as a duplicate of this bug. ***
*** Bug 452590 has been marked as a duplicate of this bug. ***
*** Bug 452974 has been marked as a duplicate of this bug. ***
*** Bug 452525 has been marked as a duplicate of this bug. ***
*** Bug 452281 has been marked as a duplicate of this bug. ***
*** Bug 450944 has been marked as a duplicate of this bug. ***
*** Bug 450288 has been marked as a duplicate of this bug. ***
*** Bug 449893 has been marked as a duplicate of this bug. ***
*** Bug 449828 has been marked as a duplicate of this bug. ***
*** Bug 449691 has been marked as a duplicate of this bug. ***
*** Bug 446094 has been marked as a duplicate of this bug. ***
Good stacktrace from bug 446094, thanks Andras. REOPENing, confirming as per duplicates.
+ Trace 145162
(Note: Added a fake address to the top-most, crashing frame #4 for better syntax highlighting.)
*** Bug 453235 has been marked as a duplicate of this bug. ***
*** Bug 453216 has been marked as a duplicate of this bug. ***
*** Bug 453450 has been marked as a duplicate of this bug. ***
*** Bug 453598 has been marked as a duplicate of this bug. ***
91 dups total, 71 in the last 30 days. only fedora 7 reports, it seems.
*** Bug 454641 has been marked as a duplicate of this bug. ***
*** Bug 454946 has been marked as a duplicate of this bug. ***
*** Bug 455216 has been marked as a duplicate of this bug. ***
*** Bug 455488 has been marked as a duplicate of this bug. ***
*** Bug 455525 has been marked as a duplicate of this bug. ***
*** Bug 455736 has been marked as a duplicate of this bug. ***
*** Bug 458332 has been marked as a duplicate of this bug. ***
*** Bug 459114 has been marked as a duplicate of this bug. ***
*** Bug 459945 has been marked as a duplicate of this bug. ***
*** Bug 460081 has been marked as a duplicate of this bug. ***
*** Bug 460607 has been marked as a duplicate of this bug. ***
*** Bug 461160 has been marked as a duplicate of this bug. ***
*** Bug 461295 has been marked as a duplicate of this bug. ***
*** Bug 461332 has been marked as a duplicate of this bug. ***
*** Bug 461411 has been marked as a duplicate of this bug. ***
*** Bug 453811 has been marked as a duplicate of this bug. ***
*** Bug 461472 has been marked as a duplicate of this bug. ***
*** Bug 461640 has been marked as a duplicate of this bug. ***
*** Bug 461750 has been marked as a duplicate of this bug. ***
*** Bug 461937 has been marked as a duplicate of this bug. ***
*** Bug 462124 has been marked as a duplicate of this bug. ***
*** Bug 462671 has been marked as a duplicate of this bug. ***
*** Bug 462709 has been marked as a duplicate of this bug. ***
*** Bug 463337 has been marked as a duplicate of this bug. ***
*** Bug 463378 has been marked as a duplicate of this bug. ***
*** Bug 463562 has been marked as a duplicate of this bug. ***
*** Bug 463809 has been marked as a duplicate of this bug. ***
*** Bug 464228 has been marked as a duplicate of this bug. ***
*** Bug 464246 has been marked as a duplicate of this bug. ***
*** Bug 464248 has been marked as a duplicate of this bug. ***
*** Bug 456228 has been marked as a duplicate of this bug. ***
*** Bug 464314 has been marked as a duplicate of this bug. ***
*** Bug 435961 has been marked as a duplicate of this bug. ***
*** Bug 444251 has been marked as a duplicate of this bug. ***
*** Bug 446341 has been marked as a duplicate of this bug. ***
*** Bug 446919 has been marked as a duplicate of this bug. ***
*** Bug 446959 has been marked as a duplicate of this bug. ***
*** Bug 448376 has been marked as a duplicate of this bug. ***
*** Bug 448832 has been marked as a duplicate of this bug. ***
*** Bug 449660 has been marked as a duplicate of this bug. ***
*** Bug 449881 has been marked as a duplicate of this bug. ***
*** Bug 450299 has been marked as a duplicate of this bug. ***
*** Bug 453863 has been marked as a duplicate of this bug. ***
*** Bug 456527 has been marked as a duplicate of this bug. ***
*** Bug 459831 has been marked as a duplicate of this bug. ***
*** Bug 460291 has been marked as a duplicate of this bug. ***
*** Bug 463528 has been marked as a duplicate of this bug. ***
*** Bug 463669 has been marked as a duplicate of this bug. ***
*** Bug 463672 has been marked as a duplicate of this bug. ***
*** Bug 464963 has been marked as a duplicate of this bug. ***
*** Bug 465638 has been marked as a duplicate of this bug. ***
*** Bug 465675 has been marked as a duplicate of this bug. ***
*** Bug 465713 has been marked as a duplicate of this bug. ***
*** Bug 465714 has been marked as a duplicate of this bug. ***
*** Bug 465202 has been marked as a duplicate of this bug. ***
The crash is because of the way that gnome-menus is built for Fedora packaging. It gets built with ./configure --enable-debug=no This then leads to: DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS" Which makes g_return_val_if_fail a NOOP, which thus causes this crash because g_menu_ref uses this to guard against NULL values. I *strongly* recommend that gnome-menus is not built with this option and in fact that the option be removed from the configure.in since it's dangerous and confusing. Reassigning to gnome-menus. On a happier note, woot! We know the problem now!
Created attachment 93993 [details] [review] Patch to avoid calling gmenu_ref with NULL This patch avoids calling gmenu_tree_ref with NULL. We can't guarantee that gmenu_ref will accept NULL and this follows other uses in the same code.
Of course this neatly sidesteps the issue of why the tree is NULL in the first place.
I have committed the patch.
filed a downstream issue at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=253939
this should be fixed in gnome-menus-2.19.4-2.fc7 in fedora 7. every fedora user facing this issue please update.
*** Bug 470377 has been marked as a duplicate of this bug. ***
*** Bug 469738 has been marked as a duplicate of this bug. ***
*** Bug 469459 has been marked as a duplicate of this bug. ***
*** Bug 469418 has been marked as a duplicate of this bug. ***
*** Bug 467781 has been marked as a duplicate of this bug. ***
*** Bug 467239 has been marked as a duplicate of this bug. ***
*** Bug 473814 has been marked as a duplicate of this bug. ***
*** Bug 466553 has been marked as a duplicate of this bug. ***
*** Bug 474099 has been marked as a duplicate of this bug. ***
*** Bug 470720 has been marked as a duplicate of this bug. ***
*** Bug 470861 has been marked as a duplicate of this bug. ***
*** Bug 470082 has been marked as a duplicate of this bug. ***
*** Bug 468635 has been marked as a duplicate of this bug. ***
*** Bug 466280 has been marked as a duplicate of this bug. ***
*** Bug 474433 has been marked as a duplicate of this bug. ***
*** Bug 475695 has been marked as a duplicate of this bug. ***
*** Bug 478573 has been marked as a duplicate of this bug. ***
*** Bug 478245 has been marked as a duplicate of this bug. ***
*** Bug 481417 has been marked as a duplicate of this bug. ***
*** Bug 488069 has been marked as a duplicate of this bug. ***
*** Bug 489838 has been marked as a duplicate of this bug. ***
*** Bug 482141 has been marked as a duplicate of this bug. ***
*** Bug 488547 has been marked as a duplicate of this bug. ***
*** Bug 490490 has been marked as a duplicate of this bug. ***
*** Bug 491922 has been marked as a duplicate of this bug. ***
yepp, closing as per comment 156. fedora users please update to gnome-menus-2.19.4-2.fc7 in fedora 7.
*** Bug 499699 has been marked as a duplicate of this bug. ***
*** Bug 494153 has been marked as a duplicate of this bug. ***
*** Bug 512180 has been marked as a duplicate of this bug. ***
*** Bug 515558 has been marked as a duplicate of this bug. ***
*** Bug 505968 has been marked as a duplicate of this bug. ***
*** Bug 496592 has been marked as a duplicate of this bug. ***
*** Bug 516017 has been marked as a duplicate of this bug. ***