[tor-bugs] #9862 [Stem]: Tor hangs because stem isn't reading its stdout
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu May 29 15:56:12 UTC 2014
#9862: Tor hangs because stem isn't reading its stdout
------------------------+------------------------
Reporter: zwol | Owner: atagar
Type: defect | Status: new
Priority: major | Milestone:
Component: Stem | Version:
Resolution: | Keywords: controller
Actual Points: | Parent ID:
Points: |
------------------------+------------------------
Comment (by atagar):
>> waiting for the answer to "If you call tor_process.stdout.close() does
this still manifest?"
>
> I'm sorry - to me, that so obviously won't work that I didn't even
register it as a question. If you do that, the Tor process will get a
SIGPIPE and crash the very next time it writes to its stdout (resp.
stderr).
Hi zwol. Are you sure about this? I just tried making this tweak...
https://gitweb.torproject.org/user/atagar/stem.git/commitdiff/4f38835
... and Stem's integ tests pass. I'm not sure if this fixes the issue
where tor seizes up, but tor seems to gracefully handle the closure of
stdout/stderr.
Would someone running into this issue mind giving this change a try?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9862#comment:20>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list