[Glade-users] libglade: please help: file gobject.c: line 1222 (g_object_get): assertion `G_IS_OBJECT (object)' failed



Not sure what you mean by back trace. The problem is when I call:

glade_xml_new("filename.glade", NULL, NULL)

---------------------------------------- here is what I get from gdb/ddd:

Breakpoint 1, main (argc=3D1, argv=3D0xfee327d4) at test.c:11
(gdb) step
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
(gdb) nexti
(gdb) nexti
(gdb) nexti
(gdb) nexti
(gdb) nexti
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.
Error while reading shared library symbols:
: No such file or directory.

(test:12306): GLib-GObject-CRITICAL **: file gobject.c: line 1222
(g_object_get): assertion `G_IS_OBJECT (object)' failed

(test:12306): GLib-GObject-CRITICAL **: file gobject.c: line 1222
(g_object_get): assertion `G_IS_OBJECT (object)' failed

Program received signal SIGSEGV, Segmentation fault.
0x0053a726 in free () from /lib/tls/libc.so.6
(gdb) nexti
Couldn't get registers: No such process.
(gdb)=20

On Mon, 18 Oct 2004 22:44:07 -0700, Christopher Cramer
<crayc greatjustice org> wrote:
On Mon, Oct 18, 2004 at 08:19:46PM -0600, Neil Zanella wrote:
jdoe@fedoracore2 $ ./test

(test:5626): GLib-GObject-CRITICAL **: file gobject.c: line 1222
(g_object_get): assertion `G_IS_OBJECT (object)' failed

(test:5626): GLib-GObject-CRITICAL **: file gobject.c: line 1222
(g_object_get): assertion `G_IS_OBJECT (object)' failed
Segmentation fault
=20
Can you run it through gdb and get a backtrace?
=20
Strange that such a simple program would segfault. Although I've never
used autoconnect myself.
=20
--
Christopher Cramer <crayc greatjustice org>
On r=E9siste =E0 l'invasion des arm=E9es; on ne r=E9siste pas =E0 l'invas=
ion
des id=E9es. -- Victor Hugo
_______________________________________________
Glade-users maillist  -  Glade-users lists ximian com
http://lists.ximian.com/mailman/listinfo/glade-users





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]