[mod_python] glibc failure with mod_python 3.1.4 & Apache 2

Earle Ady earle.ady at gmail.com
Thu Sep 29 16:58:57 EDT 2005


After some continued use of mod_python with Apache, in a pure PSP
environment, I have stumbled on an occasional error, which appears
to happen at inconsistent times in inconsistent places.  I am unable
to produce this when trying.

When the problem occurs, some of the Apache threads fail to respond,
while others still work when accessing the same page which was the
last to be accessed before the crash happens.

 From the log it appears the content of the PSP it's attempting to  
use is
becoming corrupted or lost in memory.

Has anyone else experienced this type of behavoir?

I am running mod_python 3.1.4 & Apache 2-current under Linux.

Apache Logs as follows:

*** glibc detected *** double free or corruption (!prev): 0x09292190 ***
[Thu Sep 29 16:42:20 2005] [notice] child pid 13745 exit signal  
Aborted (6)
*** glibc detected *** double free or corruption (!prev): 0x092a7e70 ***
*** glibc detected *** double free or corruption (!prev): 0x091ef918 ***
*** glibc detected *** double free or corruption (!prev): 0x09253568 ***
[Thu Sep 29 16:42:20 2005] [error] [client 68.34.232.186]  
PythonHandler mod_python.psp: Traceback (most recent call last):,  
referer: http://www.bountynetwork.com/login.psp
[Thu Sep 29 16:42:20 2005] [error] [client 68.34.232.186]  
PythonHandler mod_python.psp:   File "/usr/lib/python2.3/site- 
packages/mod_python/apache.py", line 299, in HandlerDispatch\n     
result = object(req), referer: http://www.bountynetwork.com/login.psp
[Thu Sep 29 16:42:20 2005] [error] [client 68.34.232.186]  
PythonHandler mod_python.psp:   File "/usr/lib/python2.3/site- 
packages/mod_python/psp.py", line 296, in handler\n    p = PSP(req),  
referer: http://www.bountynetwork.com/login.psp
[Thu Sep 29 16:42:20 2005] [error] [client 68.34.232.186]  
PythonHandler mod_python.psp:   File "/usr/lib/python2.3/site- 
packages/mod_python/psp.py", line 111, in __init__\n     
self.load_from_file(), referer: http://www.bountynetwork.com/login.psp
[Thu Sep 29 16:42:20 2005] [error] [client 68.34.232.186]  
PythonHandler mod_python.psp:   File "/usr/lib/python2.3/site- 
packages/mod_python/psp.py", line 177, in load_from_file\n    code =  
compile(source, filename, "exec"), referer: http:// 
www.bountynetwork.com/login.psp
[Thu Sep 29 16:42:20 2005] [error] [client 68.34.232.186]  
PythonHandler mod_python.psp: TypeError: compile() expected string  
without null bytes, referer: http://www.bountynetwork.com/login.psp
[Thu Sep 29 16:42:21 2005] [notice] child pid 10826 exit signal  
Aborted (6)
[Thu Sep 29 16:42:21 2005] [notice] child pid 10829 exit signal  
Aborted (6)
[Thu Sep 29 16:42:21 2005] [notice] child pid 11939 exit signal  
Aborted (6)
*** glibc detected *** free(): invalid next size (normal): 0x0925d1e0  
***
*** glibc detected *** double free or corruption (!prev): 0x091fbcd0 ***
[Thu Sep 29 16:42:25 2005] [notice] child pid 10888 exit signal  
Aborted (6)
[Thu Sep 29 16:42:25 2005] [notice] child pid 11094 exit signal  
Aborted (6)
*** glibc detected *** double free or corruption (!prev): 0x091dead0 ***
[Thu Sep 29 16:42:27 2005] [notice] child pid 14413 exit signal  
Aborted (6)
*** glibc detected *** double free or corruption (!prev): 0x091ceb38 ***
[Thu Sep 29 16:42:30 2005] [notice] child pid 14723 exit signal  
Aborted (6)

etc.



More information about the Mod_python mailing list