[egenix-users] seg fault on import mx.DateTime Python2.3.3 egenix-base-2.0.5

M.-A. Lemburg mal at egenix.com
Mon Feb 9 11:31:50 CET 2004


Ross Brattain wrote:
> "M.-A. Lemburg" <mal at egenix.com> writes:
> 
> 
>>Are you using a Python version that's compiled with debug
>>mode enabled (or have you used such a Python version to
>>compile mxDateTime) ?
>>
> 
> 
> Another data point:

Could you try compiling the package with optimizations disabled
(-O0) ?!

> Python 2.3.3 (#1, Feb  6 2004, 01:59:49) 
> [GCC 3.3.3 20040125 (prerelease) (Debian)] on linux2
> 
> built from:
> egenix-mx-base-2.1.0-2003-07-29.zip
> 
> (gdb) bt
> #0  mxDateTime_FromDateAndTime (year=1, month=1, day=1, hour=1, minute=1, second=0) at mx/DateTime/mxDateTime/mxDateTime.c:341
> #1  0x402eeaba in mxDateTime_DateTime (self=0x0, args=0x1) at mx/DateTime/mxDateTime/mxDateTime.c:4091
> #2  0x080fc7aa in PyCFunction_Call (func=0x402b174c, arg=0x402b7914, kw=0x1) at Objects/methodobject.c:108
> #3  0x080aa664 in call_function (pp_stack=0xbfffcefc, oparg=1) at Python/ceval.c:3439
> #4  0x080a8a1e in eval_frame (f=0x816e4fc) at Python/ceval.c:2116
> #5  0x080a95ac in PyEval_EvalCodeEx (co=0x402b47a0, globals=0x1, locals=0x1, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2663
> #6  0x080abda9 in PyEval_EvalCode (co=0x1, globals=0x1, locals=0x1) at Python/ceval.c:537
> #7  0x080cad76 in PyImport_ExecCodeModuleEx (name=0xbfffd910 "mx.DateTime.DateTime", co=0x402b47a0, pathname=0xbfffcff0 "/tmp/test/lib/python2.3/site-packages/mx/DateTime/DateTime.pyc") at Python/import.c:621
> #8  0x080cdb53 in load_source_module (name=0xbfffd910 "mx.DateTime.DateTime", pathname=0xbfffcff0 "/tmp/test/lib/python2.3/site-packages/mx/DateTime/DateTime.pyc", fp=0x813b058) at Python/import.c:894
> #9  0x080cb8be in load_module (name=0xbfffd910 "mx.DateTime.DateTime", fp=0x813b058, buf=0xbfffd480 "/tmp/test/lib/python2.3/site-packages/mx/DateTime/DateTime.py", type=1, loader=0x1) at Python/import.c:1699
> 
> -Ross B.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Feb 09 2004)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2004-01-23: Released mxODBC.Zope.DA 1.0.8        http://zope.egenix.com/

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::


More information about the egenix-users mailing list