[egenix-users] mxDateTime segfaults...

M.-A. Lemburg mal at lemburg.com
Sun Oct 19 16:06:15 CEST 2003


Harald Ragger wrote:
> Hello,
> 
> gentoo linux
> mxBase 2.0.5
> python2.3.2
> 
> mxBase builds and installs fine, but segfaults on import:
> 
> ------------
> (gdb) run
> Starting program: /usr/local/bin/python2.3
> [New Thread 16384 (LWP 1807)]
> Python 2.3.2 (#1, Oct 16 2003, 21:49:53)
> [GCC 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> from mx.DateTime import *
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 1807)]
> mxDateTime_FromDateAndTime (year=1, month=1, day=1, hour=1, minute=1, 
> second=0)
>     at mx/DateTime/mxDateTime/mxDateTime.c:333
> 333             _Py_NewReference(datetime);
> (gdb)
> [5]+  Stopped                 gdb python2.3
> --------------------
> 
> any ideas?
> 
> i also tried 2.1.0: segfaults too.

This is a known problem, but only occurrs on Python debug builds,
not the normal non-debug builds.

Solution: use a standard Python build or install the latest
egenix-mx-base 2.1 snapshot (see mailing list archives).

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Software directly from the Source  (#1, Oct 19 2003)
 >>> Python/Zope Products & Consulting ...         http://www.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

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



More information about the egenix-users mailing list