[tor-bugs] #31036 [Core Tor/Tor]: Logfile grow upto 2GB tor fails and refuse to start

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 2 03:23:37 UTC 2019


#31036: Logfile grow upto 2GB tor fails and refuse to start
--------------------------+------------------------
 Reporter:  cypherpunks   |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------

Comment (by cypherpunks):

 Seems the startup fails, while not able to appending to logfile because
 some magic size limits. (looks like INT_MAX bytes here? 2 GByte)
 Also possible solution for startup fail should be the non default setting
 i found:

 {{{
 # TruncateLogFile TruncateLogFile 0|1
 #     If 1, Tor will overwrite logs at startup and in response to a HUP
 signal,
 #     instead of appending to them. (Default: 0)
 }}}
 But this will not help for running tor trying for writing above the
 filelimits.


 Replying to [comment:1 nickm]:
 >   Does deleting the log file help?
 Yes, of course Sorry. rm the log file helped.
 Replying to [comment:1 nickm]:
 > What version of tor?
 Tor 0.4.0.5
 Replying to [comment:1 nickm]:
 > What kind of messages?
 repeated messages:
 Jun 26 07:01:30.000 [warn] {BUG} tor_bug_occurred_(): Bug:
 buffers_tls.c:73: buf_read_from_tls: Non-fatal assertion !(buf->datalen >=
 INT
 #_MAX - at_most) failed. (on Tor 0.4.0.5 )



 Replying to [comment:2 nickm]:
 > Oh, also: what operating system are you using?
 excuse me for not mentioning in reports this details. win10 - mingw-64

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


More information about the tor-bugs mailing list