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 311430 - Glade 2.6.8 crashes on cut & paste
Glade 2.6.8 crashes on cut & paste
Status: RESOLVED DUPLICATE of bug 171965
Product: glade-legacy
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Damon Chaplin
Damon Chaplin
Depends on:
Blocks:
 
 
Reported: 2005-07-24 19:07 UTC by John
Modified: 2005-07-25 14:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
This is the glade xml file (133.87 KB, text/plain)
2005-07-25 05:41 UTC, John
Details

Description John 2005-07-24 19:07:50 UTC
Version details: 2.6.8
Distribution/Version: Kernel 2.6.10

The error is erratic but repeatable. I mean, it does always happen at the same
spot in the same project, but I cannot find a sure way to present an example.
If someone is interested, I'll send the xml file.
The crash appears, when cutting a fairly complicated section of a GUI to move
it to somewhere else. As far as I can see, notebooks must be present, but it
is not necessary to be cutting the actual notebook itself.
Comment 1 John 2005-07-24 19:12:16 UTC
The error in GDB:

(glade-2:6223): Gtk-CRITICAL **: gtk_container_foreach: assertion
`GTK_IS_CONTAINER (container)' failed

Program received signal SIGSEGV, Segmentation fault.

Thread 16384 (LWP 6223)

  • #0 gail_scrolled_window_scrollbar_visibility_changed
    at gailscrolledwindow.c line 210
  • #1 g_cclosure_marshal_VOID__PARAM
    from /usr/lib/libgobject-2.0.so.0
  • #2 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #3 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #4 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #5 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #6 g_object_interface_list_properties
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_object_type_init
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_cclosure_new_object_swap
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_object_notify
    from /usr/lib/libgobject-2.0.so.0
  • #10 IA__gtk_widget_hide
    at gtkwidget.c line 2099
  • #11 gtk_widget_dispose
    at gtkwidget.c line 6473
  • #12 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #13 IA__gtk_object_destroy
    at gtkobject.c line 362
  • #14 IA__gtk_widget_destroy
    at gtkwidget.c line 1958
  • #15 gtk_scrolled_window_destroy
    at gtkscrolledwindow.c line 633
  • #16 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 gtk_object_dispose
    at gtkobject.c line 377
  • #23 gtk_widget_dispose
    at gtkwidget.c line 6479
  • #24 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #25 IA__gtk_object_destroy
    at gtkobject.c line 362
  • #26 IA__gtk_widget_destroy
    at gtkwidget.c line 1958
  • #27 gtk_bin_forall
    at gtkbin.c line 166
  • #28 IA__gtk_container_foreach
    at gtkcontainer.c line 1292
  • #29 gtk_container_destroy
    at gtkcontainer.c line 829
  • #30 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #32 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #35 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #36 gtk_object_dispose
    at gtkobject.c line 377
  • #37 gtk_widget_dispose
    at gtkwidget.c line 6479
  • #38 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #39 IA__gtk_object_destroy
    at gtkobject.c line 362
  • #40 IA__gtk_widget_destroy
    at gtkwidget.c line 1958
  • #41 gtk_frame_forall
    at gtkframe.c line 304
  • #42 IA__gtk_container_foreach
    at gtkcontainer.c line 1292
  • #43 gtk_container_destroy
    at gtkcontainer.c line 829
  • #44 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #45 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #46 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #47 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #48 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #49 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #50 gtk_object_dispose
    at gtkobject.c line 377
  • #51 gtk_widget_dispose
    at gtkwidget.c line 6479
  • #52 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #53 IA__gtk_object_destroy
    at gtkobject.c line 362
  • #54 IA__gtk_widget_destroy
    at gtkwidget.c line 1958
  • #55 gtk_box_forall
    at gtkbox.c line 702
  • #56 IA__gtk_container_foreach
    at gtkcontainer.c line 1292
  • #57 gtk_container_destroy
    at gtkcontainer.c line 829
  • #58 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #59 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #60 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #61 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #62 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #63 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #64 gtk_object_dispose
    at gtkobject.c line 377
  • #65 gtk_widget_dispose
    at gtkwidget.c line 6479
  • #66 g_object_run_dispose
    from /usr/lib/libgobject-2.0.so.0
  • #67 IA__gtk_object_destroy
    at gtkobject.c line 362
  • #68 IA__gtk_widget_destroy
    at gtkwidget.c line 1958
  • #69 gtk_bin_forall
    at gtkbin.c line 166
  • #70 IA__gtk_container_foreach
    at gtkcontainer.c line 1292
  • #71 gtk_container_destroy
    at gtkcontainer.c line 829
  • #72 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #73 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #74 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #75 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #76 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #77 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #78 gtk_object_dispose
    at gtkobject.c line 377
  • #79 gtk_widget_dispose
    at gtkwidget.c line 6479
  • #80 g_object_interface_list_properties
    from /usr/lib/libgobject-2.0.so.0
  • #81 g_object_steal_data
    from /usr/lib/libgobject-2.0.so.0
  • #82 g_value_unset
    from /usr/lib/libgobject-2.0.so.0
  • #83 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #84 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #85 IA__gtk_container_remove
    at gtkcontainer.c line 995
  • #86 gb_widget_replace_child
    at gbwidget.c line 2852
  • #87 editor_delete_widget
    at editor.c line 3503
  • #88 glade_clipboard_cut_or_copy
    at glade_clipboard.c line 255
  • #89 glade_project_window_cut
    at glade_project_window.c line 1732
  • #90 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #91 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #92 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #93 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #94 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #95 closure_accel_activate
    at gtkwidget.c line 3050
  • #96 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #97 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #98 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #99 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #100 IA__gtk_accel_group_activate
    at gtkaccelgroup.c line 766
  • #101 IA__gtk_accel_groups_activate
    at gtkaccelgroup.c line 804
  • #102 IA__gtk_window_activate_key
    at gtkwindow.c line 7359
  • #103 gtk_window_key_press_event
    at gtkwindow.c line 4455
  • #104 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #105 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #106 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #107 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #108 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #109 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #110 gtk_widget_event_internal
    at gtkwidget.c line 3631
  • #111 IA__gtk_propagate_event
    at gtkmain.c line 2119
  • #112 IA__gtk_main_do_event
    at gtkmain.c line 1383
  • #113 gdk_event_dispatch
    at gdkevents-x11.c line 2221
  • #114 IA__g_main_context_dispatch
    at gmain.c line 1933
  • #115 g_main_context_iterate
    at gmain.c line 2564
  • #116 IA__g_main_loop_run
    at gmain.c line 2768
  • #117 bonobo_main
    at bonobo-main.c line 297
  • #118 main
    at main.c line 217

Comment 2 Teppo Turtiainen 2005-07-25 04:04:31 UTC
According to simple-dup-finder this is a unique stack trace. And please do
attach the xml file that is causing this.
Comment 3 John 2005-07-25 05:41:15 UTC
Created attachment 49699 [details]
This is the glade xml file

The glade file gives basically three parts - a frame left and right, and a
notebook in the middle. Ctrl-X-ing the middle (notebook), crashes glade
reliably.
Ctrl-X on the smaller notebook on page 4 of the larger one, also crashes.
Several other ops also cause crahes, such as Ctrl-X on the right frame...
Comment 4 Damon Chaplin 2005-07-25 10:52:05 UTC
This looks like a duplicate of a gail bug.

Run 'pkg-config --modversion gail' to check which version of gail you have.

The bug was fixed after 1.6.6.

*** This bug has been marked as a duplicate of 171965 ***
Comment 5 John 2005-07-25 14:31:23 UTC
Thanks for the fast reply guys!

John