This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cooyeah
Recipients Dustin.Kirkland, cooyeah, pitrou, sbt
Date 2012-04-19.04:35:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334810155.62.0.299188608445.issue14308@psf.upfronthosting.co.za>
In-reply-to
Content
I saw the similar problem on Ubuntu 12.04 with django development server with mediageneartor. As Dustin suggested, I don't think this is related to the "del _Thread__block" statement.

I hacked the __getattribute__ of DummyThread class

    def __getattribute__(self, name):
        if name == '_Thread__block':
            import traceback
            traceback.print_stack()
            raise AttributeError
        return Thread.__getattribute__(self, name)

And I got the following stacktrace:

  File "/tmp/ve/local/lib/python2.7/site-packages/mediagenerator/filters/coffeescript.py", line 54, in _compile
    shell=shell, universal_newlines=True)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1143, in _execute_child
    self.pid = os.fork()
  File "/usr/lib/python2.7/threading.py", line 907, in _after_fork
    thread._Thread__stop()
  File "/usr/lib/python2.7/threading.py", line 608, in __stop
    self.__block.acquire()
  File "/usr/lib/python2.7/threading.py", line 827, in __getattribute__
    traceback.print_stack()
History
Date User Action Args
2012-04-19 04:35:55cooyeahsetrecipients: + cooyeah, pitrou, sbt, Dustin.Kirkland
2012-04-19 04:35:55cooyeahsetmessageid: <1334810155.62.0.299188608445.issue14308@psf.upfronthosting.co.za>
2012-04-19 04:35:55cooyeahlinkissue14308 messages
2012-04-19 04:35:54cooyeahcreate