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 350298 - gnome-panel menu applet crashes when launching menu editor
gnome-panel menu applet crashes when launching menu editor
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: menu
git master
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-07 15:44 UTC by Ray Strode [halfline]
Modified: 2006-08-09 08:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
reinitialize error variable to NULL (623 bytes, patch)
2006-08-07 15:46 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2006-08-07 15:44:24 UTC
(from https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201439)

gnome-panel aborts when right clicking on the menu applet and clicking "Edit Menus".

Stack trace:

(gdb) bt
  • #0 __kernel_vsyscall
  • #1 __lll_mutex_lock_wait
    from /lib/libc.so.6
  • #2 _L_lock_43
    from /lib/libc.so.6
  • #3 ptmalloc_lock_all
    from /lib/libc.so.6
  • #4 fork
    from /lib/libc.so.6
  • #5 fork
    from /lib/libpthread.so.0
  • #6 libgnomeui_segv_handle
    at gnome-ui-init.c line 844
  • #7 <signal handler called>
  • #8 __kernel_vsyscall
  • #9 raise
    from /lib/libc.so.6
  • #10 abort
    from /lib/libc.so.6
  • #11 __libc_message
    from /lib/libc.so.6
  • #12 _int_free
    from /lib/libc.so.6
  • #13 free
    from /lib/libc.so.6
  • #14 IA__g_free
    at gmem.c line 187
  • #15 IA__g_error_free
    at gerror.c line 125
  • #16 panel_menu_bar_invoke_menu
    at panel-menu-bar.c line 483
  • #17 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #18 IA__g_closure_invoke
  • #19 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #20 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #21 IA__g_signal_emit
    at gsignal.c line 2241
  • #22 IA__gtk_widget_activate
    at gtkwidget.c line 3932
  • #23 IA__gtk_menu_shell_activate_item
    at gtkmenushell.c line 1024
  • #24 gtk_menu_shell_button_release
    at gtkmenushell.c line 630
  • #25 gtk_menu_button_release
    at gtkmenu.c line 2619
  • #26 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #27 g_type_class_meta_marshal
    at gclosure.c line 567
  • #28 IA__g_closure_invoke
  • #29 signal_emit_unlocked_R
    at gsignal.c line 2476
  • #30 IA__g_signal_emit_valist
    at gsignal.c line 2207
  • #31 IA__g_signal_emit
    at gsignal.c line 2241
  • #32 gtk_widget_event_internal
    at gtkwidget.c line 3901
  • #33 IA__gtk_propagate_event
    at gtkmain.c line 2187
  • #34 IA__gtk_main_do_event
    at gtkmain.c line 1421
  • #35 gdk_event_dispatch
    at gdkevents-x11.c line 2320
  • #36 IA__g_main_context_dispatch
    at gmain.c line 2043
  • #37 g_main_context_iterate
    at gmain.c line 2675
  • #38 IA__g_main_loop_run
    at gmain.c line 2879
  • #39 IA__gtk_main
    at gtkmain.c line 1000
  • #40 main
    at main.c line 94

Comment 1 Ray Strode [halfline] 2006-08-07 15:46:13 UTC
Created attachment 70400 [details] [review]
reinitialize error variable to NULL
Comment 2 Vincent Untz 2006-08-09 08:38:36 UTC
Thanks. I also fixed this in panel-menu-button.c.