[tor-bugs] #23570 [Core Tor/Tor]: Tor sometimes loses the last few log lines on shutdown on macOS
    Tor Bug Tracker & Wiki 
    blackhole at torproject.org
       
    Tue Sep 19 01:37:57 UTC 2017
    
    
  
#23570: Tor sometimes loses the last few log lines on shutdown on macOS
----------------------------+----------------------------------
 Reporter:  teor            |          Owner:  (none)
     Type:  defect          |         Status:  new
 Priority:  Medium          |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor    |        Version:
 Severity:  Normal          |     Resolution:
 Keywords:  tor-log, macos  |  Actual Points:
Parent ID:                  |         Points:  1
 Reviewer:                  |        Sponsor:
----------------------------+----------------------------------
Comment (by teor):
 Adding a `sleep(1);` before `tor_cleanup();` makes the logs flush
 correctly. I wonder what the race condition is?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23570#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list