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 622253 - Glade aborts when adding various container widgets to a project
Glade aborts when adding various container widgets to a project
Status: RESOLVED DUPLICATE of bug 619530
Product: glade
Classification: Applications
Component: general
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-21 01:07 UTC by James Liggett
Modified: 2010-06-22 02:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description James Liggett 2010-06-21 01:07:15 UTC
On glade 3.7.1 compiled from source, I'm getting assertion failures when adding various container widgets into my projects. I've seen it happen when trying to add frames, notebooks, and dialog boxes. There might be more that cause the problem; I just haven't run across them yet. This is the backtrace I get:

Program received signal SIGABRT, Aborted.
0x0012d422 in __kernel_vsyscall ()
(gdb) bt
  • #0 __kernel_vsyscall
  • #1 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #2 *__GI_abort
    at abort.c line 92
  • #3 g_assertion_message
    from /lib/libglib-2.0.so.0
  • #4 g_assertion_message_expr
    from /lib/libglib-2.0.so.0
  • #5 glade_project_model_get_path
    at glade-project.c line 4365
  • #6 gtk_tree_model_get_path
    from /usr/lib/libgtk-x11-2.0.so.0
  • #7 glade_project_add_object
    at glade-project.c line 2730
  • #8 glade_project_add_object
    at glade-project.c line 2706
  • #9 glade_project_add_object
    at glade-project.c line 2706
  • #10 glade_command_add_execute
    at glade-command.c line 1392
  • #11 glade_command_add_remove_execute
    at glade-command.c line 1454
  • #12 glade_command_add
    at glade-command.c line 1084
  • #13 glade_command_create
    at glade-command.c line 1739
  • #14 glade_palette_create_root_widget
    at glade-palette.c line 423
  • #15 glade_palette_toggled
    at glade-palette.c line 326
  • #16 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #17 ??
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 ??
    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 glade_palette_on_button_toggled
    at glade-palette.c line 498
  • #23 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #25 ??
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #28 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #29 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0

I did a git blame on the offending function and it appears that commit 944b46ff introduced the problem, which was not present on the earlier builds of glade I was using.
Comment 1 Fabio Durán Verdugo 2010-06-21 03:02:13 UTC
maybe this is dup of bug 619530
Comment 2 Johannes Schmid 2010-06-21 07:20:17 UTC
Have you tried git master? I think tristan fixed that (add least there is a comment in the code that suggests that this case was fixed).
Comment 3 James Liggett 2010-06-21 07:55:07 UTC
Yes, master works
Comment 4 James Liggett 2010-06-22 02:22:37 UTC
(In reply to comment #3)
> Yes, master works

Not completely. Frames work now, but notebooks don't. I get this error:


GladeUI:ERROR:glade-project.c:4358:glade_project_model_get_path: assertion failed: (child != NULL)
Comment 5 James Liggett 2010-06-22 02:26:16 UTC
It looks like Fabio's right, so let's move this discussion to bug 619530.

*** This bug has been marked as a duplicate of bug 619530 ***