[mod_python] segmentation fault

Jim Gallacher jpg at jgassociates.ca
Tue Jun 6 08:47:52 EDT 2006


Julien Cigar wrote:
> Hello,
> 
> Any idea what could make Apache2 segfaulting when I have an: <%@ include 
> file="/foo/bar/views/lol.html" %> in a PSP template ?
> 
> [Tue Jun 06 14:21:35 2006] [notice] child pid 28455 exit signal 
> Segmentation fault (11)
> 
> If I remove the <%@ include %> statement, everything work fine.
> 
> (mod_python 3.2.8, apache 2.0.55)

Is lol.html just html, or does it contain python or psp code as well?

Does lol.html parse correctly on its own? You can test it in a command 
line interpreter:

from mod_python import _psp

code = _psp.parse('lol.html')
print code

Jim



More information about the Mod_python mailing list