[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 Aug 27 19:09:38 UTC 2019


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

Comment (by cypherpunks):

 Sorry, can be platform specific. but i could have this again reproduced
 and it just happened randomly again.
 warning log file filled over 7GB within one hour.
 all messages are the same:


 {{{
 Aug 26 09:47:20.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 )
 }}}
 tor process does not start afterwards. without setting

 {{{
 TruncateLogFile 1
 }}}

 error:

 {{{
 Aug 27 07:03:46.000 [warn] Couldn't open file for 'Log warn file
 C:\tools\msys64\home\tor\var\log\tor\warn.log': Invalid argument
 Aug 27 07:03:46.000 [warn] Failed to parse/validate config: Failed to init
 Log options. See logs for details.
 Aug 27 07:03:46.000 [err] Reading config failed--see warnings above.
 }}}

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


More information about the tor-bugs mailing list