playground update blocks if bzr produces a lot of output
Bug #592662 reported by
Maciej Muehleisen
on 2010-06-11
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| openWNS SDK |
Medium
|
Karsten Klagges |
Bug Description
If a huge commit changed a lot of files playground.py upgrade will produce a lot of output. wnbsbase/
Related branches
Maciej Muehleisen (mue-comnets)
on 2010-06-11
Changed in openwns-sdk: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Daniel Bültmann (daniel.bueltmann) wrote : | #1 |
Changed in openwns-sdk: | |
status: | Confirmed → Incomplete |
Maciej Muehleisen (mue-comnets) wrote : | #2 |
import subprocess
p = subprocess.
p.wait()
This subprocess (listing directories recursively) produces a lot of output and therefore blocks when nobody "collects" it from stderr and stdin. In the shell "ls -R" takes a few seconds and is done. Above code results in a deadlock.
Maciej Muehleisen (mue-comnets)
on 2010-10-06
Changed in openwns-sdk: | |
status: | Incomplete → Triaged |
assignee: | nobody → Karsten Klagges (karsten.klagges) |
To post a comment you must log in.
I am not sure if this is easy to fix. I have tried to remove the call to subprocess.wait() in wnsbase.rcs.Bazaar which causes the blocking. At the moment I cannot verify that it fixes the problem. Could you provide a test or something, so that I can reproduce the bug?