gnome-main-menu crashes when adding to panel

Bug #85084 reported by Jean-Christophe Baptiste
20
Affects Status Importance Assigned to Milestone
GNOME New Main Menu
Fix Released
Medium
gnome-main-menu (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: gnome-main-menu

When I try to add the menu to the panel, it crashes and gives the following backtrace :

Memory status: size: 34467840 vsize: 0 resident: 34467840 share: 0 rss: 13160448 rss_rlim: 0
CPU usage: start_time: 1171454375 rtime: 0 utime: 43 stime: 0 cutime:39 cstime: 0 timeout: 4 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/libexec/gnome-main-menu'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1226279248 (LWP 14691)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7388323 in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7ed41b6 in gnome_gtk_module_info_get () from /usr/lib/libgnomeui-2.so.0
#3 <signal handler called>
#4 0x0805e9d3 in egg_recent_item_unref ()
#5 0x08053f65 in ?? ()
#6 0x080651f4 in _IO_stdin_used ()
#7 0x00000000 in ?? ()

Thread 1 (Thread -1226279248 (LWP 14691)):
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7388323 in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb7ed41b6 in gnome_gtk_module_info_get () from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#3 <signal handler called>
No symbol table info available.
#4 0x0805e9d3 in egg_recent_item_unref ()
No symbol table info available.
#5 0x08053f65 in ?? ()
No symbol table info available.
#6 0x080651f4 in _IO_stdin_used ()
No symbol table info available.
#7 0x00000000 in ?? ()
No symbol table info available.
#0 0xffffe410 in __kernel_vsyscall ()

Thanks in advance.

JCB

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. What version of Ubuntu do you use? Could you get a backtrace with gnome-main-menu-dbgsym (https://wiki.ubuntu.com/DebuggingProgramCrash) installed?

Changed in slab:
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Jean-Christophe Baptiste (jc-baptiste) wrote :
Download full text (9.9 KiB)

I am on Edgy.

Here is the backtrace :

Memory status: size: 34480128 vsize: 0 resident: 34480128 share: 0 rss: 13246464 rss_rlim: 0
CPU usage: start_time: 1171459162 rtime: 0 utime: 48 stime: 0 cutime:44 cstime: 0 timeout: 4 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/libexec/gnome-main-menu'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1226754384 (LWP 7607)]
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7314323 in __waitpid_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7e601b6 in libgnomeui_segv_handle (signum=11) at gnome-ui-init.c:874
#3 <signal handler called>
#4 0x0805e9d3 in get_gconf_value (
    key=0x80651f4 "/apps/panel/global/disable_lock_screen")
    at gnome-utils.c:137
#5 0x08053f65 in build_main_menu_window (ui=0x8091288) at main-menu-ui.c:922
#6 0x08054aa4 in main_menu_ui_new (applet=0x80ba800, conf=0x80c9400,
    engine=0x80df648) at main-menu-ui.c:230
#7 0x08052922 in main_menu_applet_init (applet=0x80ba800,
    iid=0x80cd180 "OAFIID:GNOME_MainMenu", user_data=0x0) at main-menu.c:66
#8 0xb7ece7fe in panel_applet_marshal_BOOLEAN__STRING ()
   from /usr/lib/libpanel-applet-2.so.0
#9 0xb73be79b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#10 0xb7cd2d84 in bonobo_closure_invoke_va_list ()
   from /usr/lib/libbonobo-2.so.0
#11 0xb7cd2fec in bonobo_closure_invoke () from /usr/lib/libbonobo-2.so.0
#12 0xb7ecd4a6 in panel_applet_add_preferences ()
   from /usr/lib/libpanel-applet-2.so.0
#13 0xb73cbb29 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#14 0xb73be79b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#15 0xb73ceb93 in g_signal_chain_from_overridden ()
   from /usr/lib/libgobject-2.0.so.0
#16 0xb73d00b7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#17 0xb73d0279 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#18 0xb7db886b in bonobo_control_add_listener ()
   from /usr/lib/libbonoboui-2.so.0
#19 0xb7cd5bc1 in _ORBIT_skel_small_Bonobo_Control_setFrame ()
   from /usr/lib/libbonobo-2.so.0
#20 0xb7be1b07 in IOP_start_profiles () from /usr/lib/libORBit-2.so.0
#21 0xb7be7c75 in ORBit_OAObject_invoke () from /usr/lib/libORBit-2.so.0
#22 0xb7bd4dbc in ORBit_small_invoke_adaptor () from /usr/lib/libORBit-2.so.0
#23 0xb7be5916 in ORBit_recv_buffer_return_sys_exception ()
   from /usr/lib/libORBit-2.so.0
#24 0xb7be5fc2 in ORBit_recv_buffer_return_sys_exception ()
   from /usr/lib/libORBit-2.so.0
#25 0xb7be6a33 in ORBit_skel_class_register () from /usr/lib/libORBit-2.so.0
#26 0xb7be7e12 in ORBit_handle_request () from /usr/lib/libORBit-2.so.0
#27 0xb7bd1077 in giop_connection_handle_input ()
   from /usr/lib/libORBit-2.so.0
#28 0xb7beea1d in link_connection_state_changed ()
   from /usr/lib/libORBit-2.so.0
#29 0xb7bf19ce in link_io_add_watch_fd () from /usr/lib/libORBit-2.so.0
#30 0xb7346802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0xb73497df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#32 0xb7349b89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#33 0xb7cc...

Revision history for this message
Stéphane Graber (stgraber) wrote :

Is this bug a dup of #78146 ?
The problem seems to be the same and both are using Edgy.

Revision history for this message
Jean-Christophe Baptiste (jc-baptiste) wrote :

I am having the same problem.
It appeared on Edgy and still persists on Feisty.

Thought it had worked for a while, I don't know why it suddenly stopped.

I have tried purging the packet, removing manually files and gconf schemas (on that point not sure that it was done correctly).
I encountered the same problem with the various versions that I downloaded and compiled.

When I add the applet on the panel, just a very thin line appear. It freezes the panel until I killall main-menu.
A few times, after several minutes, I got a correct display but also frozen.

I like this menu and wonder what is going on...

Changed in gnome-main-menu:
status: Unknown → Confirmed
Changed in gnome-main-menu:
status: Incomplete → Triaged
Revision history for this message
Pizuz (florian-fahr) wrote :

Same with Hardy. It has worked perfectly for months, now, but suddenly it stopped functioning at all. Usually it takes the entire Gnome Panel with it. There were even cases in which it rendered the entire desktop unusable, because I could neither access the Terminal nor the Gnome app launcher via Alt+F2.

Revision history for this message
Pizuz (florian-fahr) wrote :

The 0.9.9 update made it work, once again. It took hours to load initially (on adding it to the panel the first time), but once that was finished, everything worked perfectly. Even when rebooting it seems to load instantly. Nice performance boost.

I guess, this can be considered fixed.

Revision history for this message
thekip (thekip) wrote :

I got the same error when adding gnome-main-menu:
"OAFIID:GNOME_MainMenu"

however I did 2 installs of 8.04 on the same machine, the first time for some testing purposes the second time as a real install.

The first time I didn't have any trouble whatsoever with adding, the second time I did. The difference was in the configuration settings in /home/username. The first time I added gnome-main-menu BEFORE restoring my entire home-dir from my backup, and the second time I added it after I copied it. And only the second time I got this error.

A few minutes later I discovered that the file attributes (rwx) weren't properly set (due to the copying from backup) and after I did a chmod en chown on my entire home dir everything worked. So if you run into this check your home dir file attributes too!

Changed in gnome-main-menu:
status: Confirmed → Fix Released
Revision history for this message
Przemek K. (azrael) wrote :

According to upstream bug, this is fixed in the current supported Gnome releases.
If you have a similar problem on the latest Ubuntu release, please report a new bug.

Changed in gnome-main-menu (Ubuntu):
status: Triaged → Fix Released
Changed in gnome-main-menu:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.