_DummyThread' object has no attribute '_Thread__block

Bug #1119195 reported by Milo Casagrande
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Python
Unknown
Unknown
python2.7 (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Triaged
Medium
Unassigned

Bug Description

[Impact]

Based on the test script available at the upstream issue link, the exception is thrown in programs that use threads and os.fork() (like could be the case with subprocess).

As reported upstream, the exception when a "dummy" thread is in the threading module's active list after a fork().

[Test Case]

Run the following program, available in the upstream issue:

http://bugs.python.org/file25511/bad-thread.py

to reproduce the problem.

[Regression Potential]

None seen at the moment.
Upstream patch contains also a test case to address this issue:

http://hg.python.org/cpython/rev/ab9d6c4907e7

Milo Casagrande (milo)
description: updated
Changed in python2.7 (Ubuntu):
status: New → Fix Released
Changed in python2.7 (Ubuntu Precise):
status: New → Triaged
importance: Undecided → Medium
milestone: none → ubuntu-12.04.3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.