After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 312512 - panel crashes when changing a desktop file
panel crashes when changing a desktop file
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: general
2.11.x
Other Linux
: High critical
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-03 22:19 UTC by Sebastien Bacher
Modified: 2005-08-04 08:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Sebastien Bacher 2005-08-03 22:19:08 UTC
With gnome-menus/gnome-panel 2.11.90 the panel crashes when a desktop file is
changed:

Backtrace was generated from '/usr/bin/gnome-panel'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1223894816 (LWP 7245)]
[New Thread -1228158032 (LWP 7285)]
0xffffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1228158032 (LWP 7285))

  • #0 __kernel_vsyscall
  • #1 poll
    from /lib/tls/i686/cmov/libc.so.6
  • #2 g_main_context_iterate
    at gmain.c line 2867

Comment 1 Sebastien Bacher 2005-08-03 22:36:47 UTC
Breakpoint 1, submenu_to_display (data=0x807d3f4) at menu.c:1322
1322            menu = GTK_WIDGET (data);
(gdb) n

Program received signal SIGSEGV, Segmentation fault.
IA__g_type_check_instance_cast (type_instance=0x835c4d0, iface_type=135391928)
at gtype.c:3160
3160              node = lookup_type_node_I (type_instance->g_class->g_type);
Comment 2 Teppo Turtiainen 2005-08-04 06:30:48 UTC
According to simple-dup-finder this is a unique stack trace.
Comment 3 Mark McLoughlin 2005-08-04 07:08:45 UTC
Thanks

2005-08-04  Mark McLoughlin  <mark@skynet.ie>

        Remove the idle handler for menus if the menu is
        destroyed. Fixes crash in bug #312512

        * menu.c:
        (submenu_to_display_in_idle): unset the idle-id.
        (remove_submenu_to_display_idle): remove the idle
        handler if the menu is destroyed.
        (create_fake_menu), (create_applications_menu):
        attach the idle-id to the menu so we can remove
        it when the menu is destroyed.
Comment 4 Sebastien Bacher 2005-08-04 08:43:01 UTC
thank you for the quick fix