Date: Sun, 23 Mar 2003 01:48:10 -0500 From: "Mezz bsdforums.org" <reigncracks@hotmail.com> To: tg@FreeBSD.org Cc: ports@freebsd.org, gnome@freebsd.org Subject: Re: Running straw with gdb (debug), any hint? (py-mx-base has bug?) Message-ID: <F70myIeDPYsdjUCiqrF00008cdd@hotmail.com>
next in thread | raw e-mail | index | archive | help
><snip gdm stuff> > <snip 2nd email> Sorry for spamming, but I am learning to debug stuff... :-) I think I have found the real problem is... py-mx-base (mxDateTime).. I have rebuilt the whole py-* again, but with the python2.2 compiled with --with-pydebug this time and got the better info. Here's error msg from gdb following: ============================= $ gdb python2.2 GNU gdb 5.2.1 (FreeBSD) <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)... Adding parser accelerators ... Done. (no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0x080580ab in _Py_ForgetReference () (gdb) bt #0 0x080580ab in _Py_ForgetReference () #1 0x2907d156 in mxDateTime_Free (datetime=0x85b2ac0) at mx/DateTime/mxDateTime/mxDateTime.c:365 #2 0x08058112 in _Py_Dealloc () #3 0x08081985 in PyEval_EvalCode () #4 0x08084297 in PyEval_EvalCodeEx () #5 0x0807bad7 in PyEval_EvalCode () #6 0x080994e3 in PyImport_ExecCodeModuleEx () ... ... to (Do I need to copy the rest 1 to 73?) #73 0x08052845 in _start () ============================= So, I decide to try re-install lang/py-mx-base and I caught the error msgs during the compile. Here's error msg: ============================= macros to undefine: [] running build_ext building 'mx.DateTime.mxDateTime.mxDateTime' extension creating build/temp.freebsd-5.0-CURRENT-i386-2.2 creating build/temp.freebsd-5.0-CURRENT-i386-2.2/mx creating build/temp.freebsd-5.0-CURRENT-i386-2.2/mx/DateTime creating build/temp.freebsd-5.0-CURRENT-i386-2.2/mx/DateTime/mxDateTime creating build/temp.freebsd-5.0-CURRENT-i386-2.2/mx/DateTime/mxDateTime/mxDateTime cc -O -pipe -g -march=pentium3 -D_THREAD_SAFE -fPIC -Imx/DateTime/mxDateTime -I/usr/local/include/python2.2 -c mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.freebsd-5.0-CURRENT-i386-2.2/mx/DateTime/mxDateTime/mxDateTime/mxDateTime.o -O -pipe -g -march=pentium3 mx/DateTime/mxDateTime/mxDateTime.c: In function `mxDateTime_New': mx/DateTime/mxDateTime/mxDateTime.c:333: warning: passing arg 1 of `_Py_NewReference' from incompatible pointer type mx/DateTime/mxDateTime/mxDateTime.c: In function `mxDateTime_Free': mx/DateTime/mxDateTime/mxDateTime.c:365: warning: passing arg 1 of `_Py_ForgetReference' from incompatible pointer type mx/DateTime/mxDateTime/mxDateTime.c: In function `mxDateTimeDelta_New': mx/DateTime/mxDateTime/mxDateTime.c:3076: warning: passing arg 1 of `_Py_NewReference' from incompatible pointer type mx/DateTime/mxDateTime/mxDateTime.c: In function `mxDateTimeDelta_Free': mx/DateTime/mxDateTime/mxDateTime.c:3103: warning: passing arg 1 of `_Py_ForgetReference' from incompatible pointer type ============================= I have no clue how to fix it, but at least it should give the hints to you guys/gals who know the programming stuff. ;-) BTW: cc'ing to -ports and Thomas Gellekum (tg@FreeBSD.org) this time, it's kind of has nothing to do with gnome for now.. Cheers, Mezz _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F70myIeDPYsdjUCiqrF00008cdd>