[gtkada] Segfault in Pack_End
Manuel Op de Coul
manuel.op.de.coul at eon-benelux.com
Thu May 12 15:15:34 CEST 2005
I wonder if people have seen this problem too, or know if it's
GtkAda related or not.
Every dialog in my application which uses Pack_End to put a
button in a hbox crashes when opened.
This happens in recent Linux versions like Ubuntu Hoary and
Redhat Fedora 2 with gcc 3.3-5, glib 2.6.4.
Thanks,
Manuel
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218866208 (LWP 17197)]
0xb795506a in IA__g_object_get_data (object=0x86ba510,
key=0xb7cc2f2c "gtk-button-connection") at gobject.c:1643
1643 g_return_val_if_fail (G_IS_OBJECT (object), NULL);
#0 0xb795506a in IA__g_object_get_data (object=0x86ba510,
key=0xb7cc2f2c "gtk-button-connection") at gobject.c:1643
#1 0xb7aef645 in gtk_button_screen_changed (widget=0x879d900,
previous_screen=0x0) at gtkbutton.c:1700
#2 0xb79623d3 in IA__g_cclosure_marshal_VOID__OBJECT (closure=0x86b14f0,
return_value=0x0, n_param_values=2, param_values=0xbfffde70,
invocation_hint=0xbfffdd58, marshal_data=0xb7aef5f0) at gmarshal.c:636
#3 0xb79500f9 in g_type_class_meta_marshal (closure=0x86b14f0,
return_value=0x1, n_param_values=1, param_values=0xbfffde70,
invocation_hint=0x1, marshal_data=0x1) at gclosure.c:514
#4 0xb794fe66 in IA__g_closure_invoke (closure=0x86b14f0,
return_value=0x1,
n_param_values=1, param_values=0x1, invocation_hint=0x1) at
gclosure.c:437
#5 0xb7960f85 in signal_emit_unlocked_R (node=0x86b1540, detail=0,
instance=0x879d900, emission_return=0x0,
instance_and_params=0xbfffde70)
at gsignal.c:2526
#6 0xb79605cc in IA__g_signal_emit_valist (instance=0x879d900,
signal_id=0,
detail=0, var_args=0xbfffe000 "") at gsignal.c:2247
#7 0xb7960856 in IA__g_signal_emit (instance=0x1, signal_id=1, detail=1)
at gsignal.c:2291
#8 0xb7ca4d03 in do_screen_change (widget=0x879d900, old_screen=0x0,
new_screen=0x869e450) at gtkwidget.c:4857
#9 0xb7ca4daf in gtk_widget_propagate_hierarchy_changed_recurse (
widget=0x879d900, client_data=0xbfffe060) at gtkwidget.c:4881
#10 0xb7ca4e8e in _gtk_widget_propagate_hierarchy_changed
(widget=0x879d900,
previous_toplevel=0x0) at gtkwidget.c:4921
#11 0xb7ca4068 in IA__gtk_widget_set_parent (widget=0x879d900, parent=0x0)
at gtkwidget.c:4382
#12 0xb7aebe23 in IA__gtk_box_pack_end (box=0x88323d0, child=0x879d900,
expand=0, fill=0, padding=141272336) at gtkbox.c:424
#13 0xb7ec253e in gtk__box__pack_end () from
/usr/local/lib/libgtkada-2.4.so.0
#14 0x084350be in calc_dialog_pkg.initialize (calc_dialog=0x8807910,
<calc_dialogF>=0) at calc_dialog_pkg.adb:256
(gdb) l
631 data1 = g_value_peek_pointer (param_values + 0);
632 data2 = closure->data;
633 }
634 callback = (GMarshalFunc_VOID__OBJECT) (marshal_data ?
marshal_data : cc->callback);
635
636 callback (data1,
637 g_marshal_value_peek_object (param_values + 1),
638 data2);
639 }
640
(gdb) down
#1 0xb7aef645 in gtk_button_screen_changed (widget=0x879d900,
previous_screen=0x0) at gtkbutton.c:1700
1700 show_image_connection =
(gdb) l
1695 if (!gtk_widget_has_screen (widget))
1696 return;
1697
1698 settings = gtk_widget_get_settings (widget);
1699
1700 show_image_connection =
1701 GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (settings),
1702 "gtk-button-connection"));
1703
1704 if (show_image_connection)
(gdb) down
#0 0xb795506a in IA__g_object_get_data (object=0x86ba510,
key=0xb7cc2f2c "gtk-button-connection") at gobject.c:1643
1643 g_return_val_if_fail (G_IS_OBJECT (object), NULL);
(gdb) l
1638 g_object_get_data (GObject *object,
1639 const gchar *key)
1640 {
1641 GQuark quark;
1642
1643 g_return_val_if_fail (G_IS_OBJECT (object), NULL);
1644 g_return_val_if_fail (key != NULL, NULL);
1645
1646 quark = g_quark_try_string (key);
1647
-----------------------------------------------------------------
The information contained in this message is confidential and
intended for the addressee only. If you are not the intended
recipient, please notify the sender immediately and delete the
message. Any unauthorised use, dissemination of information or
copying of this message is prohibited. Views represented in this
email are not necessarily those of E.ON Benelux. Internet e-mail
is subject to risks. E.ON Benelux therefore declines any
responsibility for damages from the use of internet e-mail.
-----------------------------------------------------------------
More information about the gtkada
mailing list