Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue7194] test_thread is flaky

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Oct 23, 2009, 11:20 AM

Post #1 of 4 (216 views)
Permalink
[issue7194] test_thread is flaky

New submission from Antoine Pitrou <pitrou [at] free>:

test_thread sometimes tries to release an unacquired mutex. It is easier
to reproduce when using the "-j" option (on trunk and py3k, since the
option doesn't exist on 2.6/3.1):

./python -m test.regrtest -j4 test_thread test_thread test_thread
test_thread
test_thread
test_thread
test_thread
Unhandled exception in thread started by <bound method
ThreadRunningTests.task of <test.test_thread.ThreadRunningTests
testMethod=test_stack_size>>
Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/test/test_thread.py", line 49, in
task
self.done_mutex.release()
_thread.error: release unlocked lock
test_thread

----------
components: Library (Lib), Tests
messages: 94392
nosy: pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: test_thread is flaky
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7194>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Oct 23, 2009, 11:36 AM

Post #2 of 4 (186 views)
Permalink
[issue7194] test_thread is flaky [In reply to]

Antoine Pitrou <pitrou [at] free> added the comment:

Fixed in trunk, py3k and 3.1. Waiting for 2.6 to unfreeze before merging
there.

----------
assignee: -> pitrou
resolution: -> accepted
stage: needs patch -> committed/rejected
versions: -Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7194>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Oct 27, 2009, 6:11 AM

Post #3 of 4 (170 views)
Permalink
[issue7194] test_thread is flaky [In reply to]

Antoine Pitrou <pitrou [at] free> added the comment:

Backported to 2.6 in r75748.

----------
resolution: accepted -> fixed
status: open -> closed

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7194>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Oct 28, 2009, 2:20 AM

Post #4 of 4 (167 views)
Permalink
[issue7194] test_thread is flaky [In reply to]

Ned Deily <nad [at] acm> added the comment:

Duplicate of Issue6186?

----------
nosy: +ned.deily

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7194>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.