[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 05:03:32 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):

 Yawning says:
 {{{
 re your logging thing
 the routine that frees the log doesn't flush the ones that have callbacks
 tied to them
 so that's probably your issue
 butthat was just 5 mins of skimming the code
 ...
 and there may be a sneeky flush somewhere
 I'm not sure what makes a log get a callback vs not either
 but the cleanup routines def just obliterate all the things
 }}}

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


More information about the tor-bugs mailing list