[tor-bugs] #8746 [Tor]: Tor tries to kill nonexistent proxy PID on second SIGINT
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Apr 10 15:26:04 UTC 2014
#8746: Tor tries to kill nonexistent proxy PID on second SIGINT
-------------------------+-------------------------------------------------
Reporter: dcf | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.5.x-final
Component: Tor | Version:
Resolution: | Keywords: tor-client, pt, 024-deferrable,
Actual Points: | 025-triaged
Points: | Parent ID:
-------------------------+-------------------------------------------------
Comment (by nickm):
I think there's a fix in my branch "bug8746", though I still need to write
more tests for it.
On unix, it just does "use waitpid properly". It dumps the "waitpid and
discard" loop in main.c, and instead does a proper callback-notification
thing.
On windows, it terminates the process by handle, not by pid.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8746#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list