xml.dom.minidom.parseString segmentation fault on mod_python

Graham Dumpleton grahamd at dscpl.com.au
Fri Jan 26 16:32:36 EST 2007



On Jan 26, 10:00 pm, "Ziga Seilnacht" <ziga.seilna... at gmail.com>
wrote:
> On Jan 26, 10:41 am, qert... at gmail.com wrote:
>
> > Python 2.4.4
> >mod_python3.2.10  +  Apache 2.0
>
> > def index( req, **params ):
> >     from xml.dom.minidom import parseString
> >     doc = parseString( "whatever" )
>
> > => blank screen, _no_any_exception_; Apache error_log:
> > [Fri Jan 26 10:18:48 2007] [notice] child pid 17596 exit signal
> > Segmentation fault (11)
>
> > Outsidemod_pythoncode works well. Any ideas? I would be grateful.http://www.python.org/sf/1558223http://www.python.org/sf/1295808http://www.python.org/sf/1075984
>
> Try to compile all your dependencies against the same version of
> Expat or upgrade to python 2.5.

For further information read:


http://www.dscpl.com.au/wiki/ModPython/Articles/ExpatCausingApacheCrash

Graham




More information about the Python-list mailing list