From owner-freebsd-gnome Sat Mar 22 20:22:58 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE8E837B404 for ; Sat, 22 Mar 2003 20:22:55 -0800 (PST) Received: from hotmail.com (f26.sea2.hotmail.com [207.68.165.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84CDE43FB1 for ; Sat, 22 Mar 2003 20:22:52 -0800 (PST) (envelope-from reigncracks@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 22 Mar 2003 20:22:52 -0800 Received: from 68.103.32.11 by sea2fd.sea2.hotmail.msn.com with HTTP; Sun, 23 Mar 2003 04:22:51 GMT X-Originating-IP: [68.103.32.11] X-Originating-Email: [reigncracks@hotmail.com] From: "Mezz bsdforums.org" To: gnome@freebsd.org Subject: Running straw with gdb (debug), any hint? Date: Sat, 22 Mar 2003 23:22:51 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 23 Mar 2003 04:22:52.0342 (UTC) FILETIME=[DEAD6560:01C2F0F3] Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 (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 to continue, or q 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