[tor-bugs] #8746 [Tor]: Tor tries to kill nonexistent proxy PID on second SIGINT

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Apr 20 02:56:44 UTC 2013


#8746: Tor tries to kill nonexistent proxy PID on second SIGINT
--------------------+-------------------------------------------------------
 Reporter:  dcf     |          Owner:     
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:     
Component:  Tor     |        Version:     
 Keywords:          |         Parent:     
   Points:          |   Actualpoints:     
--------------------+-------------------------------------------------------

Comment(by dcf):

 I think that doing a non-blocking `waitpid` before `kill` would at least
 reduce the race window. In the mailing list thread I also suggested
 requiring proxies to stay running until the second SIGINT, but that's not
 so good because the proxy could have crashed or stopped running for a
 different reason. Also the SIGINT behavior is only a "should" in the spec.

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


More information about the tor-bugs mailing list