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 352377 - Warning when setting group/contact submenu (?)
Warning when setting group/contact submenu (?)
Status: RESOLVED FIXED
Product: gossip
Classification: Deprecated
Component: General
0.14
Other All
: High normal
: ---
Assigned To: Gossip Maintainers
Gossip Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-22 12:15 UTC by Frej Soya
Modified: 2006-08-24 05:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Frej Soya 2006-08-22 12:15:48 UTC
What were you doing when the application crashed?
Not sure :/


Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.15.91 2006-08-08 (Ubuntu)
BugBuddy Version: 2.15.90

Memory status: size: 35287040 vsize: 0 resident: 35287040 share: 0 rss: 18268160 rss_rlim: 0
CPU usage: start_time: 1156248324 rtime: 0 utime: 223 stime: 0 cutime:203 cstime: 0 timeout: 20 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/local/bin/gossip'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1226721088 (LWP 14786)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1226721088 (LWP 14786))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 871
  • #3 <signal handler called>
  • #4 _gtk_action_sync_menu_visible
    at gtkaction.c line 611
  • #5 update_smart_separators
    at gtkuimanager.c line 2057
  • #6 IA__g_cclosure_marshal_VOID__PARAM
    at gmarshal.c line 531
  • #7 IA__g_closure_invoke
    at gclosure.c line 490
  • #8 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #9 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #10 IA__g_signal_emit
    at gsignal.c line 2241
  • #11 g_object_dispatch_properties_changed
    at gobject.c line 561
  • #12 g_object_notify_dispatcher
    at gobject.c line 242
  • #13 IA__g_object_notify
    at gobjectnotifyqueue.c line 123
  • #14 IA__gtk_widget_show
    at gtkwidget.c line 2213
  • #15 _gtk_action_sync_menu_visible
    at gtkaction.c line 614
  • #16 _gtk_action_sync_visible
    at gtkaction.c line 1203
  • #17 IA__gtk_action_set_visible
    at gtkaction.c line 1239
  • #18 gossip_contact_list_get_contact_menu
    at gossip-contact-list.c line 1906
  • #19 app_edit_button_press_event_cb
    at gossip-app.c line 1155
  • #20 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #21 IA__g_closure_invoke
    at gclosure.c line 490
  • #22 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #23 IA__g_signal_emit_valist
    at gsignal.c line 2207
  • #24 IA__g_signal_emit
    at gsignal.c line 2241
  • #25 gtk_widget_event_internal
    at gtkwidget.c line 3901
  • #26 IA__gtk_propagate_event
    at gtkmain.c line 2210
  • #27 IA__gtk_main_do_event
    at gtkmain.c line 1444
  • #28 gdk_event_dispatch
    at gdkevents-x11.c line 2320
  • #29 IA__g_main_context_dispatch
    at gmain.c line 2043
  • #30 g_main_context_iterate
    at gmain.c line 2675
  • #31 IA__g_main_loop_run
    at gmain.c line 2879
  • #32 IA__gtk_main
    at gtkmain.c line 1023
  • #33 main
    at gossip-main.c line 201
  • #0 __kernel_vsyscall

Comment 1 Richard Hult 2006-08-22 18:42:59 UTC
The reason this is a crash is because gnome 2.15 aborts on critical warnings during the development period, not really critical, but we should still fix it.
Comment 2 Richard Hult 2006-08-22 19:04:03 UTC
Took the liberty to guess from the backtrace what the action was here. 
Comment 3 Richard Hult 2006-08-22 19:24:01 UTC
What version is this really? 0.14 didn't use UI manager so it must be a CVS version. Could you try with the latest CVS?
Comment 4 Frej Soya 2006-08-22 20:20:37 UTC
Say thank you to the new bug-buddy, I never bothered with the old one :). (Lazy!)

This is _not_ 0.14, blame gossip.desktop for that, and me not running autofoo. It is indeed very recent cvs (yesterday i think). I'll do a clean compilation and see if it changes anything.

Also, I can't right click (macbook pro). But it is probably related to the contact dialog, since I did view an contact info dialog via edit->contact->contact information. Crashed a few seconds later, but maybe the info is fetched via a callback method, and with network latency involved... :=)
Just guessing :)
Comment 5 Richard Hult 2006-08-23 06:06:51 UTC
Aah thanks! Updating the summary again :)

The code in queestion looks a bit suspicious, the menus should not be handled like that (in button press event on the menu...). We'll have to fix that. I'm not sure if that is really related to the bug, but at least the stack trace says so.

The way to handle menu merging like that is to use the merging features of the ui manager, and do the merging when the item (group/contact) is selected.
Comment 6 Richard Hult 2006-08-23 19:09:36 UTC
The bug was actually just an unref too many. But my comments above are still valid, we should use the merge API.
Comment 7 Martyn Russell 2006-08-23 21:39:26 UTC
I agree, but currently Glade doesn't use the UI manager from what I can see, OR perhaps you know something I don't? 

You did mention checking how gimp does this, should we still do that? 

Or can we wait for a newer version of glade (glade3) or even the glade addition to gtk+ to fix this?
Comment 8 Richard Hult 2006-08-24 05:58:27 UTC
We can wait until glade or something else supports ui manager, I guess.