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

Re: [tor-bugs] #27813 [Core Tor/Tor]: Tor 0.3.4.8 is leaking memory



#27813: Tor 0.3.4.8 is leaking memory
-------------------------------------------------+-------------------------
 Reporter:  anong                                |          Owner:  (none)
     Type:  defect                               |         Status:  new
 Priority:  Very High                            |      Milestone:  Tor:
                                                 |  0.3.5.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.4.8
 Severity:  Critical                             |     Resolution:
 Keywords:  regression? memleak oom              |  Actual Points:
  034-backport tor-relay 035-must                |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by wrmsr):

 It seems that Tor doesn't like Valgrind's memory profiler:

 {{{
 Tor[22094]: connection_dir_finished_flushing(): Bug: Emptied a dirserv
 buffer, but it's still spooling! (on Tor 0.3.4.8 da95b91355248ad8)
 Tor[22094]: connection_mark_for_close_internal_(): Bug: Duplicate call to
 connection_mark_for_close at src/or/directory.c:5201 (first at
 src/or/main.c:1210) (on Tor 0.3.4.8 da95b91355248ad8)
 Tor[22094]: tor_bug_occurred_(): Bug: src/or/connection.c:841:
 connection_mark_for_close_internal_: This line should not have been
 reached. (Future instances of this warning will be silenced.) (on Tor
 0.3.4.8 da95b91355248ad8)
 Tor[22094]: Bug: Line unexpectedly reached at
 connection_mark_for_close_internal_ at src/or/connection.c:841. Stack
 trace: (on Tor 0.3.4.8 da95b91355248ad8)
 Tor[22094]: Bug:     /usr/bin/tor(log_backtrace+0x45) [0x2970b5] (on Tor
 0.3.4.8 da95b91355248ad8)
 Tor[22094]: Bug:     /usr/bin/tor(tor_bug_occurred_+0xbc) [0x2b26cc] (on
 Tor 0.3.4.8 da95b91355248ad8)
 Tor[22094]: Bug:     /usr/bin/tor(connection_dir_finished_flushing+0xad)
 [0x24a33d] (on Tor 0.3.4.8 da95b91355248ad8)
 Tor[22094]: Bug:     /usr/bin/tor(connection_handle_read+0xb00) [0x21f5b0]
 (on Tor 0.3.4.8 da95b91355248ad8)
 Tor[22094]: Bug:     /usr/bin/tor(+0x4fbff) [0x157bff] (on Tor 0.3.4.8
 da95b91355248ad8)
 Tor[22094]: Bug:     /usr/lib/libevent-2.1.so.6(+0x220d8) [0x4c120d8] (on
 Tor 0.3.4.8 da95b91355248ad8)
 Tor[22094]: Bug:     /usr/lib/libevent-2.1.so.6(event_base_loop+0x53f)
 [0x4c12b1f] (on Tor 0.3.4.8 da95b91355248ad8)
 Tor[22094]: Bug:     /usr/bin/tor(do_main_loop+0x225) [0x15a0b5] (on Tor
 0.3.4.8 da95b91355248ad8)
 Tor[22094]: Bug:     /usr/bin/tor(tor_run_main+0x1125) [0x15c935] (on Tor
 0.3.4.8 da95b91355248ad8)
 Tor[22094]: Bug:     /usr/bin/tor(tor_main+0x3b) [0x15440b] (on Tor
 0.3.4.8 da95b91355248ad8)
 Tor[22094]: Bug:     /usr/bin/tor(main+0x1a) [0x15418a] (on Tor 0.3.4.8
 da95b91355248ad8)
 Tor[22094]: Bug:     /usr/lib/libc.so.6(__libc_start_main+0xf3)
 [0x5b81223] (on Tor 0.3.4.8 da95b91355248ad8)
 Tor[22094]: Bug:     /usr/bin/tor(_start+0x2e) [0x1541ee] (on Tor 0.3.4.8
 da95b91355248ad8)
 Tor[22094]: Failing because we have 991 connections already. Please read
 doc/TUNING for guidance.
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27813#comment:18>
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