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 627031 - Glade crashes when copying a widget
Glade crashes when copying a widget
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
3.6.x
Other Linux
: Normal critical
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
: 597474 627078 628686 633641 635418 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-08-16 10:11 UTC by David Planella
Modified: 2010-11-21 23:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Planella 2010-08-16 10:11:59 UTC
(Forwarded from the downstream bug at https://bugs.launchpad.net/ubuntu/+source/glade-3/+bug/618582)


When trying to copy a particular widget, Glade crashes.

TEST CASE:

1. Open Glade
2. Add a dialog box (GtkDialog)
3. Right click on its dialog-action_area1 child
4. Choose 'Copy' on the context dialog
5. Glade crashes
Comment 1 Fabio Durán Verdugo 2010-08-16 13:59:38 UTC
Yes I can confirm this bug, here the backtrace

(glade-3:2877): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.25.13/gobject/gsignal.c:2275: signal `delete' is invalid for instance `0x8193190'

Program received signal SIGSEGV, Segmentation fault.
0x00177edb in glade_widget_dup_internal (parent=<value optimized out>, template_widget=<value optimized out>, exact=0) at glade-widget.c:1444
1444	glade-widget.c: No such file or directory.
	in glade-widget.c
(gdb) bt full
  • #0 glade_widget_dup_internal
    at glade-widget.c line 1444
  • #1 glade_widget_dup
    at glade-widget.c line 2294
  • #2 glade_command_copy
    at glade-command.c line 1807
  • #3 glade_app_command_copy
    at glade-app.c line 1175
  • #4 glade_popup_copy_cb
    at glade-popup.c line 139
  • #5 g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.25.13/gobject/gmarshal.c line 79
  • #6 g_closure_invoke
    at /build/buildd/glib2.0-2.25.13/gobject/gclosure.c line 766
  • #7 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.25.13/gobject/gsignal.c line 3252
  • #8 g_signal_emit_valist
    at /build/buildd/glib2.0-2.25.13/gobject/gsignal.c line 2983
  • #9 g_signal_emit
    at /build/buildd/glib2.0-2.25.13/gobject/gsignal.c line 3040
  • #10 IA__gtk_widget_activate
    at /build/buildd/gtk+2.0-2.21.5/gtk/gtkwidget.c line 5012
  • #11 IA__gtk_menu_shell_activate_item
    at /build/buildd/gtk+2.0-2.21.5/gtk/gtkmenushell.c line 1354
  • #12 gtk_menu_shell_button_release
    at /build/buildd/gtk+2.0-2.21.5/gtk/gtkmenushell.c line 781
  • #13 gtk_menu_button_release
    at /build/buildd/gtk+2.0-2.21.5/gtk/gtkmenu.c line 3013
  • #14 _gtk_marshal_BOOLEAN__BOXED
    at /build/buildd/gtk+2.0-2.21.5/gtk/gtkmarshalers.c line 86
  • #15 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.25.13/gobject/gclosure.c line 877
  • #16 g_closure_invoke
    at /build/buildd/glib2.0-2.25.13/gobject/gclosure.c line 766
  • #17 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.25.13/gobject/gsignal.c line 3290
  • #18 g_signal_emit_valist
    at /build/buildd/glib2.0-2.25.13/gobject/gsignal.c line 2993
  • #19 g_signal_emit
    at /build/buildd/glib2.0-2.25.13/gobject/gsignal.c line 3040
  • #20 gtk_widget_event_internal
    at /build/buildd/gtk+2.0-2.21.5/gtk/gtkwidget.c line 4981
  • #21 IA__gtk_propagate_event
    at /build/buildd/gtk+2.0-2.21.5/gtk/gtkmain.c line 2465
  • #22 IA__gtk_main_do_event
    at /build/buildd/gtk+2.0-2.21.5/gtk/gtkmain.c line 1665
  • #23 gdk_event_dispatch
    at /build/buildd/gtk+2.0-2.21.5/gdk/x11/gdkevents-x11.c line 2377
  • #24 g_main_dispatch
    at /build/buildd/glib2.0-2.25.13/glib/gmain.c line 2119
  • #25 g_main_context_dispatch
    at /build/buildd/glib2.0-2.25.13/glib/gmain.c line 2672
  • #26 g_main_context_iterate
    at /build/buildd/glib2.0-2.25.13/glib/gmain.c line 2750
  • #27 g_main_loop_run
    at /build/buildd/glib2.0-2.25.13/glib/gmain.c line 2958
  • #28 IA__gtk_main
    at /build/buildd/gtk+2.0-2.21.5/gtk/gtkmain.c line 1237
  • #29 ??
  • #30 __libc_start_main
    from /lib/libc.so.6
  • #31 ??
(gdb)
Comment 2 Fabio Durán Verdugo 2010-08-16 14:01:40 UTC
*** Bug 597474 has been marked as a duplicate of this bug. ***
Comment 3 Tristan Van Berkom 2010-08-29 05:54:37 UTC
*** Bug 627078 has been marked as a duplicate of this bug. ***
Comment 4 Tristan Van Berkom 2010-08-29 05:58:47 UTC
This bug is recently fixed by correcting the internal GtkTreeIter stamp
handling in GladeProject.
Comment 5 smithsp 2010-08-30 17:41:14 UTC
(In reply to comment #4)
> This bug is recently fixed by correcting the internal GtkTreeIter stamp
> handling in GladeProject.

Is this fix in a publicly released version?  If so, of what?
Comment 6 Tristan Van Berkom 2010-09-01 10:44:00 UTC
No its not.

And unfortunately since a recent GSEAL fix in GTK+ master
Glade wont compile with latest GTK+.

I'm going to focus on this in the coming week.
Comment 7 Fabio Durán Verdugo 2010-09-16 17:32:42 UTC
*** Bug 628686 has been marked as a duplicate of this bug. ***
Comment 8 Fabio Durán Verdugo 2010-11-01 15:16:13 UTC
*** Bug 633641 has been marked as a duplicate of this bug. ***
Comment 9 Fabio Durán Verdugo 2010-11-21 23:12:53 UTC
*** Bug 635418 has been marked as a duplicate of this bug. ***