[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #23570 [Core Tor/Tor]: Tor sometimes loses the last few log lines on shutdown on macOS



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs