xml.dom.minidom.parseString segmentation fault on mod_python

Q

qertoip

Python 2.4.4
mod_python 3.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)


Outside mod_python code works well. Any ideas? I would be grateful.
 
Z

Ziga Seilnacht

Python 2.4.4
mod_python 3.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)

Outside mod_python code works well. Any ideas? I would be grateful.

http://www.python.org/sf/1558223
http://www.python.org/sf/1295808
http://www.python.org/sf/1075984

Try to compile all your dependencies against the same version of
Expat or upgrade to python 2.5.

Ziga
 
G

Graham Dumpleton

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)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,235
Latest member
Top Crypto Podcasts_

Latest Threads

Top