From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120 Description of problem: Somewhere between mod_python 2.7.3 and 2.7.6 they introduced something that broke the cleanup handler. Red Hat 7.2 ships 2.7.6. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Create a mod_python handler 2. Watch it work OK without the cleanup handler defined, and segfaulting with a defined cleanup handler Actual Results: Apache segfaults. Since the cleanup handler is executed upon cleanup, the result is not visible to the client, since the request is correctly served. But the httpd process segfaults (tail -f /var/log/httpd/error.log) Additional info: IIRC every version after 2.7.4 has this problem. Browsing the CVS rep doesn't show me anything strange added between 2.7.3 and 2.7.4. I have to doublecheck if 2.7.4 is indeed the first version with the problem. 2.7.6 which ships with Red Hat is definitely broken.
Created attachment 40047 [details] COnfiguration file to be appended to httpd.conf (Include conf/crash.conf)
Created attachment 40048 [details] mod_python handlers (referred from crash.conf)
Attached the configuration file and the mod_python handler. To test this, point a browser to http://yourmachine.org/fisk You should see something on the screen, but /var/log/httpd/error.log would show httpd segfaulted
Created attachment 47622 [details] Patch that fixes the problem
asigned to nalin
Incorporated into 2.7.6-5 and later. Please also make sure the modpython.org folks get the patch.