[mod_python] PATCH: server cleanup callback

David Fraser davidf at sjsoft.com
Thu Jul 29 20:10:35 EDT 2004


To verify, this seems to fix the problem for me as well ... and prevents 
crashes / very slow restarts. Thanks so much Stéphane!

David

Gregory (Grisha) Trubetskoy wrote:

>
> Yes, definitely makes sense... It was probably a result of a bad copy 
> from the request cleanup code. I'll check this into CVS, thanks!
>
> Grisha
>
> On Mon, 26 Jul 2004, [iso-8859-1] St?phane Bidoul wrote:
>
>> Hi,
>>
>> Hi went back into debugging this
>> http://www.modpython.org/pipermail/mod_python/2004-April/015475.html
>> and I found out it was not related to threading at all
>> (this time I was getting crashes instead of restricted mode errors).
>>
>> Actually, the interpreter name that was stored in the cleanup_info 
>> structure
>> was deallocated when the python_cleanup was called during child 
>> shutdown.
>>
>> Does the attached patch make sense?
>>
>> -sbi
>



More information about the Mod_python mailing list