[tor-bugs] #4345 [Tor Relay]: Bug: closing wedged cpuworker.

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Mar 9 11:52:03 UTC 2012


#4345: Bug: closing wedged cpuworker.
-----------------------+----------------------------------------------------
 Reporter:  jn         |          Owner:                     
     Type:  defect     |         Status:  needs_information  
 Priority:  normal     |      Milestone:  Tor: unspecified   
Component:  Tor Relay  |        Version:  Tor: 0.2.3.10-alpha
 Keywords:             |         Parent:                     
   Points:             |   Actualpoints:                     
-----------------------+----------------------------------------------------

Comment(by ln5):

 It looks like the cpuworker is blocking on recv(fd, buf, 1, 0) in
 cpuworker_main() even when tor thinks it has written to the
 socketpair.  The worker process then gets 0 from recv as soon as tor
 has decided it's dead and closes the socket.

 Time to verify the write in tor.

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


More information about the tor-bugs mailing list