Issue Details (XML | Word | Printable)

Key: MODPYTHON-83
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Graham Dumpleton
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

mod_python doesn't work if threads not compiled into Python

Created: 15/Oct/05 12:08 PM   Updated: 05/Mar/06 02:32 PM
Return to search
Component/s: core
Affects Version/s: 3.1.4, 3.2.7
Fix Version/s: 3.2.7

Time Tracking:
Not Specified

Resolution Date: 22/Oct/05 03:46 PM


 Description  « Hide
If threads aren't built into Python, mod_python generates errors:

  Fatal Python error: PyThreadState_Delete: tstate is still current

when a request arrives for mod_python and crashes the Apache child subprocess.

The fix as previously described in:

  http://www.modpython.org/pipermail/mod_python/2005-October/019236.html

does appear to fix the problem on initial testing.

Testing was done on Linux with no threads builtin to Python.

This problem is probably more prevelant on FreeBSD where Python still seems to
default to not having thread support builtin.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #327638 Sat Oct 22 06:42:29 UTC 2005 nlehuen - better fix for MODPYTHON-82 (using dummy_threading instead of reimplementing Lock)
- fix for MODPYTHON-83
Files Changed
MODIFY /httpd/mod_python/trunk/lib/python/mod_python/cache.py
MODIFY /httpd/mod_python/trunk/src/mod_python.c
MODIFY /httpd/mod_python/trunk/src/include/mpversion.h