Uploaded image for project: 'mod_python'
  1. mod_python
  2. MODPYTHON-83

mod_python doesn't work if threads not compiled into Python

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.4, 3.2.7
    • 3.2.7
    • core
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            grahamd Graham Phillip Dumpleton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: