Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2003 23:22:51 -0500
From:      "Mezz bsdforums.org" <reigncracks@hotmail.com>
To:        gnome@freebsd.org
Subject:   Running straw with gdb (debug), any hint?
Message-ID:  <F26RRxsStF0Oj0Sd6hx0000863e@hotmail.com>

next in thread | raw e-mail | index | archive | help
Here's what I have rebuilt stuff with -g option ("CFLAGS= -O -pipe -g" in 
/etc/make.conf) for debug following:

====================
adns-1.0
db3-3.3.11,1
db4-4.0.14_1,1
py-gnome-1.99.15_1
py22-adns-1.0.0
py22-bsddb3-db3-4.1.3
py22-gtk-1.99.15
py22-mx-base-2.0.3
py22-numeric-21.0
py22-orbit-1.99.3
py22-xml-0.8.1
python-2.2.2_2
====================

Here's info what I have ran the gdb on python2.2 following:

====================
$ gdb python2.2

<snip, copyright stuff>

(no debugging symbols found)...

(gdb) run /usr/X11R6/bin/straw
Starting program: /usr/local/bin/python2.2 /usr/X11R6/bin/straw
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...

(straw:11516): GLib-GObject-WARNING **: gobject.c:946: object class 
`GnomeProgram' has no property named `default-icon'
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x286fb7e2 in gnome_app_get_type () from /usr/X11R6/lib/libgnomeui-2.so.200

(gdb) bt
#0  0x286fb7e2 in gnome_app_get_type () from 
/usr/X11R6/lib/libgnomeui-2.so.200
#1  0x282e1453 in g_type_create_instance ()
   from /usr/local/lib/libgobject-2.0.so.200
#2  0x282cce7f in g_object_constructor ()
   from /usr/local/lib/libgobject-2.0.so.200
#3  0x282cc793 in g_object_newv () from /usr/local/lib/libgobject-2.0.so.200
#4  0x28ee2700 in glade_standard_build_widget ()
   from /usr/X11R6/lib/libglade-2.0.so.0
#5  0x2916a3ac in app_build () from /usr/X11R6/lib/libglade/2.0/libgnome.so
#6  0x28ee2beb in glade_xml_build_widget ()
   from /usr/X11R6/lib/libglade-2.0.so.0
#7  0x28ee1946 in glade_flags_from_string ()
   from /usr/X11R6/lib/libglade-2.0.so.0
#8  0x28edfd57 in glade_xml_construct () from 
/usr/X11R6/lib/libglade-2.0.so.0
#9  0x28edfc3b in glade_xml_new () from /usr/X11R6/lib/libglade-2.0.so.0
#10 0x28ed6755 in _wrap_glade_xml_new (self=0x860d420, args=0x1, kwargs=0x1)
    at libglade.c:40
#11 0x0805e66b in PyTuple_Fini ()
#12 0x080a3809 in PyObject_Call ()
#13 0x0807713d in PyEval_GetFuncDesc ()
#14 0x08075084 in PyEval_EvalCode ()
#15 0x08075faf in PyEval_EvalCodeEx ()
#16 0x080b2bb3 in PyFunction_SetClosure ()
---Type <return> to continue, or q <return> to quit---
#17 0x080a3809 in PyObject_Call ()
#18 0x080a969b in PyMethod_New ()
#19 0x080a3809 in PyObject_Call ()
#20 0x08076bea in PyEval_CallObjectWithKeywords ()
#21 0x080a603a in PyInstance_New ()
#22 0x080a3809 in PyObject_Call ()
#23 0x0807713d in PyEval_GetFuncDesc ()
#24 0x08075084 in PyEval_EvalCode ()
#25 0x08075faf in PyEval_EvalCodeEx ()
#26 0x08073027 in PyEval_EvalCode ()
#27 0x0808eaee in PyRun_FileExFlags ()
#28 0x0808ea96 in PyRun_FileExFlags ()
#29 0x0808ea45 in PyRun_FileExFlags ()
#30 0x0808dc34 in PyRun_SimpleFileExFlags ()
#31 0x0808d67d in PyRun_AnyFileExFlags ()
#32 0x08052e4e in Py_Main ()
#33 0x080526eb in main ()
#34 0x08052615 in _start ()
====================

So, do I need to rebuild the libgnomeui-2, libgobject-2, libglade-2 and 
libgnome with the debug option (-g) too? Or, this is good enough info? It's 
my first time to use gdb, so hope I am doing it in the right way to debug 
stuff. :-)

Cheers,
Mezz

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F26RRxsStF0Oj0Sd6hx0000863e>