[Glade-devel] how to debug ?



Hey Francesco,

If you've compiled the glade source yourself, make sure you've compiled it
with debug information. Usually that involves compiling with the GCC -g
flag. Try the following

export CFLAGS='-g' ; ./configure

With that GDB will show you proper names in stack traces instead of hex
values of addresses of functions, routines etc.

And you're right, what you have is not enough. All that part says is that
the Gtk+ subsystem got a NULL value instead of a valid Gtk+ object id. So
probably some funtion/routine higher up in the call stack that is faulty.

Hope that helps,
Archit

On Tue, Jan 18, 2011 at 12:47 PM, francesco at promotux.it <
francesco at promotux.it> wrote:

I have a segmentation fault on glade3.7.3 compiled from source.
Some devel can write please wich steps to do for the right trace ?

For now i have just that but i think it is not enough

(glade-3:31430): GLib-GObject-WARNING **:
/tmp/buildd/glib2.0-2.27.91/./gobject/gtype.c:4197: type id `0' is invalid

(glade-3:31430): GLib-GObject-WARNING **: can't peek value table for
type `<invalid>' which is not currently referenced
Segmentation fault


thanks

--

_______________________________________________
Glade-devel maillist  -  Glade-devel at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-devel/attachments/20110118/36fbee7d/attachment.html 




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