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

multiple/redundant interpreter creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.3
    • 3.2.7
    • None
    • None
    • mod_python 3.1.3 + a threaded MPM (observed on Win32 and Mac OS X)

    Description

      A small bug in mod_python.c allows the creation of many Python interpreters, where there should be only one. As a result, modules can be loaded multiple times (once per interpreter) and some higher level bugs can occur (beginning with higher memory usage). Graham Dumpleton found the bug in mod_python.c, and I completed the fix with a patch to apache.py (in the import_module) function.

      Attachments

        1. mod_python.c.patch
          2 kB
          Nicolas Lehuen

        Activity

          People

            nlehuen Nicolas Lehuen
            nlehuen Nicolas Lehuen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: