% DISPLAY=localhost:1 gdb =gedit
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) r
Starting program: /usr/local/gtk/bin/gedit
[Thread debugging using libthread_db enabled]
[New Thread -1224714560 (LWP 8024)]

(gedit:8024): Bonobo-WARNING **: ARGH - different serious ORB screwup

(gedit:8024): Bonobo-WARNING **: ARGH - different serious ORB screwup

(gedit:8024): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

Program received signal SIGSTOP, Stopped (signal).
[Switching to Thread -1224714560 (LWP 8024)]
0xb79354e8 in raise () from /lib/tls/libpthread.so.0
(gdb) bt
#0  0xb79354e8 in raise () from /lib/tls/libpthread.so.0
#1  0xb721fcd2 in IA__g_log (log_domain=0x0, log_level=G_LOG_LEVEL_CRITICAL, format=0x0) at gmessages.c:520
#2  0xb721fd3c in IA__g_return_if_fail_warning (log_domain=0x0, pretty_function=0xb72a760c "g_object_ref", expression=0x0) at gmessages.c:534
#3  0xb72896d7 in IA__g_object_ref (_object=0x80cd730) at gobject.c:1628
#4  0xb760e7e8 in _gtk_widget_propagate_hierarchy_changed (widget=0xb7938ff4, previous_toplevel=0x82ef700) at gtkwidget.c:5056
#5  0xb7609c47 in IA__gtk_widget_unparent (widget=0x82ef490) at gtkwidget.c:1958
#6  0xb7443522 in gtk_bin_remove (container=0x82ef700, child=0x82ef490) at gtkbin.c:145
#7  0xb7296d25 in IA__g_cclosure_marshal_VOID__OBJECT (closure=0x81213b8, return_value=0x0, n_param_values=2, param_values=0xbfe4c110, invocation_hint=0xbfe4bff8,
    marshal_data=0xb74434a0) at gmarshal.c:636
#8  0xb72844e9 in g_type_class_meta_marshal (closure=0x81213b8, return_value=0x0, n_param_values=0, param_values=0xbfe4c110, invocation_hint=0x0, marshal_data=0x0)
    at gclosure.c:569
#9  0xb7284215 in IA__g_closure_invoke (closure=0x81213b8, return_value=0x0, n_param_values=0, param_values=0x0, invocation_hint=0x0) at gclosure.c:492
#10 0xb72956d1 in signal_emit_unlocked_R (node=0x8121400, detail=0, instance=0x82ef700, emission_return=0x0, instance_and_params=0xbfe4c110) at gsignal.c:2415
#11 0xb7294f1c in IA__g_signal_emit_valist (instance=0x82ef700, signal_id=0, detail=0, var_args=0xbfe4c2a0 "8\237-\b#M\023\b####cm#\220#.\b\220#.\b####\na#")
    at gsignal.c:2244
#12 0xb72951a6 in IA__g_signal_emit (instance=0x0, signal_id=0, detail=0) at gsignal.c:2288
#13 0xb7483010 in IA__gtk_container_remove (container=0x82ef700, widget=0x82ef490) at gtkcontainer.c:995
#14 0xb7610afc in gtk_widget_dispose (object=0x82ef490) at gtkwidget.c:6648
#15 0xb72897c9 in IA__g_object_unref (_object=0x82ef490) at gobject.c:1674
#16 0xb7ddf6f0 in gnome_popup_menu_get_accel_group () from /usr/lib/libgnomeui-2.so.0
#17 0xb7296328 in IA__g_cclosure_marshal_VOID__VOID (closure=0x82f05c0, return_value=0x0, n_param_values=1, param_values=0x13, invocation_hint=0xbfe4c458,
    marshal_data=0x0) at gmarshal.c:77
#18 0xb7284215 in IA__g_closure_invoke (closure=0x82f05c0, return_value=0x0, n_param_values=0, param_values=0x0, invocation_hint=0x0) at gclosure.c:492
#19 0xb7295e4f in signal_emit_unlocked_R (node=0x80bedc0, detail=0, instance=0x82d9e90, emission_return=0x0, instance_and_params=0xbfe4c570) at gsignal.c:2485
#20 0xb7294f1c in IA__g_signal_emit_valist (instance=0x82d9e90, signal_id=0, detail=0,
    var_args=0xbfe4c6fc "#cm##cm#\220\236-\b(###\na#\220\236-\b\220\236-\b#x\v\bP#*#P#*#\220\236-\bH##Qf(#\220\236-\bP") at gsignal.c:2244
#21 0xb72951a6 in IA__g_signal_emit (instance=0x0, signal_id=0, detail=0) at gsignal.c:2288
#22 0xb7534565 in gtk_object_dispose (gobject=0x82d9e90) at gtkobject.c:378
#23 0xb7610ac4 in gtk_widget_dispose (object=0x82d9e90) at gtkwidget.c:6656
#24 0xb7286651 in IA__g_object_run_dispose (object=0x82d9e90) at gobject.c:567
#25 0xb75344db in IA__gtk_object_destroy (object=0x82d9e90) at gtkobject.c:363
#26 0xb7609dc5 in IA__gtk_widget_destroy (widget=0x82d9e90) at gtkwidget.c:1995
#27 0xb7447105 in gtk_box_forall (container=0x82d9f38, include_internals=0, callback=0xb7609d80 <IA__gtk_widget_destroy>, callback_data=0x0) at gtkbox.c:703
#28 0xb748384a in IA__gtk_container_foreach (container=0x82d9f38, callback=0xb7609d80 <IA__gtk_widget_destroy>, callback_data=0x0) at gtkcontainer.c:1292
#29 0xb7482a9e in gtk_container_destroy (object=0x82d9f38) at gtkcontainer.c:829
#30 0xb7296328 in IA__g_cclosure_marshal_VOID__VOID (closure=0x80bed78, return_value=0x0, n_param_values=1, param_values=0x13, invocation_hint=0xbfe4c958,
    marshal_data=0xb7482a60) at gmarshal.c:77
#31 0xb72844e9 in g_type_class_meta_marshal (closure=0x80bed78, return_value=0x0, n_param_values=0, param_values=0xbfe4ca70, invocation_hint=0x0, marshal_data=0x0)
    at gclosure.c:569
#32 0xb7284215 in IA__g_closure_invoke (closure=0x80bed78, return_value=0x0, n_param_values=0, param_values=0x0, invocation_hint=0x0) at gclosure.c:492
#33 0xb7295ac8 in signal_emit_unlocked_R (node=0x80bedc0, detail=0, instance=0x82d9f38, emission_return=0x0, instance_and_params=0xbfe4ca70) at gsignal.c:2601
#34 0xb7294f1c in IA__g_signal_emit_valist (instance=0x82d9f38, signal_id=0, detail=0, var_args=0xbfe4cbfc "#cm##cm#8\237-\b(###\na#8\237-\b\001") at gsignal.c:2244
#35 0xb72951a6 in IA__g_signal_emit (instance=0x0, signal_id=0, detail=0) at gsignal.c:2288
#36 0xb7534565 in gtk_object_dispose (gobject=0x82d9f38) at gtkobject.c:378
#37 0xb7610ac4 in gtk_widget_dispose (object=0x82d9f38) at gtkwidget.c:6656
#38 0xb72897c9 in IA__g_object_unref (_object=0x82d9f38) at gobject.c:1674
#39 0xb7609cb7 in IA__gtk_widget_unparent (widget=0x82d9f38) at gtkwidget.c:1967
#40 0xb752ed28 in gtk_notebook_remove_tab_label (notebook=0x8198210, page=0x82f51b0) at gtknotebook.c:2642
#41 0xb752edf4 in gtk_notebook_real_remove (notebook=0x8198210, list=0x8195918, destroying=0) at gtknotebook.c:2678
#42 0xb75320dc in IA__gtk_notebook_remove_page (notebook=0x8198210, page_num=0) at gtknotebook.c:4437
#43 0x0807b664 in bonobo_mdi_remove_view (mdi=0x80e7340, view=0x0, force=1) at bonobo-mdi.c:1811
#44 0x0807bd32 in bonobo_mdi_remove_child (mdi=0x80e7340, child=0x815a9d8, force=1) at bonobo-mdi.c:1958
#45 0x0807bff6 in bonobo_mdi_remove_all (mdi=0x80e7340, force=0) at bonobo-mdi.c:2031
#46 0x0807a22a in app_close_book (win=0x8123898, event=0x81d6898, mdi=0x80e7340) at bonobo-mdi.c:1234
#47 0xb7515f70 in _gtk_marshal_BOOLEAN__BOXED (closure=0x8123858, return_value=0xbfe4cef0, n_param_values=2, param_values=0xbfe4d030, invocation_hint=0xbfe4cf18,
    marshal_data=0x0) at gtkmarshalers.c:83
#48 0xb7284215 in IA__g_closure_invoke (closure=0x8123858, return_value=0x0, n_param_values=0, param_values=0x0, invocation_hint=0x0) at gclosure.c:492
#49 0xb7295e4f in signal_emit_unlocked_R (node=0x811d7d0, detail=0, instance=0x8123898, emission_return=0xbfe4cfc0, instance_and_params=0xbfe4d030) at gsignal.c:2485
#50 0xb7294cfa in IA__g_signal_emit_valist (instance=0x8123898, signal_id=0, detail=0, var_args=0xbfe4d1c0 "######") at gsignal.c:2254
#51 0xb72951a6 in IA__g_signal_emit (instance=0x0, signal_id=0, detail=0) at gsignal.c:2288
#52 0xb760c5b7 in gtk_widget_event_internal (widget=0x8123898, event=0x81d6898) at gtkwidget.c:3735
#53 0xb75137e4 in IA__gtk_main_do_event (event=0x81d6898) at gtkmain.c:1453
#54 0xb73b4615 in gdk_event_dispatch (source=0x0, callback=0, user_data=0x0) at gdkevents-x11.c:2294
#55 0xb7216e72 in g_main_dispatch (context=0x80e4168) at gmain.c:1934
#56 0xb7217ee8 in IA__g_main_context_dispatch (context=0x80e4168) at gmain.c:2484
#57 0xb7218220 in g_main_context_iterate (context=0x80e4168, block=1, dispatch=1, self=0x80bc2a0) at gmain.c:2565
#58 0xb72187c3 in IA__g_main_loop_run (loop=0x81f5080) at gmain.c:2769
#59 0xb7513133 in IA__gtk_main () at gtkmain.c:985
#60 0x08060f2b in main (argc=19, argv=0xbfe4d434) at gedit2.c:435
(gdb) 
