On Tue, 24 Apr 2001, Damon Chaplin wrote:
> Daniel Wagner wrote:
> >
> > On Tue, 24 Apr 2001, Damon Chaplin wrote:
> >
> > > Rodrigo Moya wrote:
> > > >From reading the code I can't spot any major problems.
> > >
> > > Can't you spot the problem from the core dumps?
> >
> > Unfortunately not. I tried to investigate it by gdb and later by using
> > the Bugzilla tool (stacktrace) without success. That means not, it is
> > impossible, only I'm not able due lack of knowglegde or skill.
> >
> > I guess I try somewhere to derefence a pointer on a GdaConnection
> > which is not valid. But this is only a guess.
>
> Have you got a stack trace?
>
> i.e. run 'gdb ./glade core' on the core file.
>
> Then enter 'bt' in gdb. That should tell you exactly what is causing the
> crashes.
I used 'bt' already. In line #1 is the failure, but I do not know
where cnc has been corrupted:
** CRITICAL **: file gda-config.c: line 706 (gda_dsn_set_description):
assertion
`description != NULL' failed.
gda-connection.c: 540: gda_connection_close called
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 6011)]
0x4016d4a2 in gtk_type_check_object_cast () from
/usr/lib/libgtk-1.2.so.0
(gdb) bt
#0 0x4016d4a2 in gtk_type_check_object_cast () from /usr/lib/libgtk-1.2.so.0
#1 0x400403b6 in gda_connection_close (cnc=0x6f626f6e) at gda-connection.c:543
#2 0x80cba27 in gb_gnome_db_browser_set_properties (widget=0x81e5240,
data=0xbfffeaf8) at gnomedbbrowser.c:255
#3 0x806841b in gb_widget_apply_properties (widget=0x81e5240, property=0x81d6400) at
gbwidget.c:995
#4 0x808f1b4 in on_property_changed (widget=0x81d6470, property=0x81d6400) at
property.c:4150
#5 0x401165a5 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#6 0x40145ec7 in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
#7 0x40145325 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#8 0x40143403 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#9 0x400e907f in gtk_editable_insert_text () from /usr/lib/libgtk-1.2.so.0
#10 0x400ec564 in gtk_entry_get_text () from /usr/lib/libgtk-1.2.so.0
#11 0x4011622f in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#12 0x40145363 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#13 0x40143403 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#14 0x4017a00b in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#15 0x40181d0a in gtk_window_set_default_size () from /usr/lib/libgtk-1.2.so.0
#16 0x4011622f in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#17 0x40145363 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#18 0x40143403 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#19 0x4017a00b in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#20 0x401160f5 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#21 0x401152de in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#22 0x401c44d7 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
#23 0x4005f2b9 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#24 0x4005f8c3 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#25 0x4005fa5c in g_main_run () from /usr/lib/libglib-1.2.so.0
#26 0x40114bd7 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#27 0x40448c5d in bonobo_main () from /usr/lib/libbonobo.so.2
#28 0x80854eb in main (argc=1, argv=0xbffff9a4) at main.c:149
#29 0x4086ff5c in __libc_start_main () from /lib/libc.so.6
wagi
--
Daniel Wagner
email: [EMAIL PROTECTED]
GnuPG: 1024D/DCDE890A (public key available on any keyserver)
_______________________________________________
Glade-devel maillist - [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel