[tor-bugs] #9862 [Stem]: Tor hangs because stem isn't reading its stdout

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 29 17:02:35 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 zwol):

 Replying to [comment:20 atagar]:
 > > 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.

 Tor ''could'' contain code to gracefully handle its stdout/stderr/other
 log files being closed out from under it, in which case this would work
 fine; but I don't actually know if it does this.  I don't have time to dig
 into it this week.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9862#comment:21>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list