https://bugzilla.novell.com/show_bug.cgi?id=747134
https://bugzilla.novell.com/show_bug.cgi?id=747134#c2
Yarny Yarny changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Other |Development
Summary|Subprocesses of Python hang |Python subprocesses are not
|when accessing block |thread-safe
|devices in parallel |
--- Comment #2 from Yarny Yarny 2012-02-18 13:07:27 UTC ---
It seems this is not releated to block-devices either. The following python
code alone triggers the bug on my machine after about 40 cycles.
################################################################
from subprocess import call
from threading import Thread
from operator import methodcaller
from sys import stdout
while True:
stdout.write(".") # Dot indicates a cycle to the user
stdout.flush()
threads = list(Thread(target=call,args=(("sleep","0.01"),)) for d in
range(7))
map(methodcaller("start"),threads)
map(methodcaller("join"),threads)
################################################################
Yarny
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.