Apache Mod-Python - Created: (MODPYTHON-83) mod_python doesn't work if threads not compiled into Python

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > October 2005 > Created: (MODPYTHON-83) mod_python doesn't work if threads not compiled into Python





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Created: (MODPYTHON-83) mod_python doesn't work if threads not compiled into Python
Graham Dumpleton (JIRA)

2005-10-24, 9:26 am

mod_python doesn't work if threads not compiled into Python
-----------------------------------------------------------

Key: MODPYTHON-83
URL: http://issues.apache.org/jira/browse/MODPYTHON-83
Project: mod_python
Type: Bug
Components: core
Versions: 3.1.4, 3.2.0
Reporter: Graham Dumpleton


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/...ber/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.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com