[tor-bugs] #20203 [Core Tor]: tor_assertion_failed on low memory

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 21 17:58:36 UTC 2016


#20203: tor_assertion_failed on low memory
-----------------------------+--------------------------------
     Reporter:  tmpname0901  |      Owner:
         Type:  defect       |     Status:  new
     Priority:  Medium       |  Milestone:  Tor: 0.2.8.x-final
    Component:  Core Tor     |    Version:  Tor: 0.2.8.7
     Severity:  Major        |   Keywords:  assert
Actual Points:               |  Parent ID:
       Points:               |   Reviewer:
      Sponsor:               |
-----------------------------+--------------------------------
 Tor crashed with the output below.  This was seen on a VMware VPS, running
 on a fully-updated 64-bit CentOS v6.8 system with 1GB of RAM.  No
 indication of low memory was seen in the system logs, and no swap space
 was apparently used by the system.

 --------------------------


 Sep 03 16:27:12.000 [notice] We're low on memory.  Killing circuits with
 over-long queues. (This behavior is controlled by MaxMemInQueues.)
 Sep 03 16:27:12.000 [notice] Removed 782124800 bytes by killing 3
 circuits; 1120 circuits remain alive. Also killed 0 non-linked directory
 connections.
 Sep 03 16:27:12.000 [err] tor_assertion_failed_(): Bug:
 src/or/relay.c:2618: channel_flush_from_first_active_circuit: Assertion
 queue->n > 0 failed; aborting. (on Tor 0.2.8.7 )
 Sep 03 16:27:12.000 [err] Bug: Assertion queue->n > 0 failed in
 channel_flush_from_first_active_circuit at src/or/relay.c:2618. Stack
 trace: (on Tor 0.2.8.7 )
 Sep 03 16:27:12.000 [err] Bug:     /usr/bin/tor(log_backtrace+0x42)
 [0x7fbe9d5e89f2] (on Tor 0.2.8.7 )
 Sep 03 16:27:12.000 [err] Bug:
 /usr/bin/tor(tor_assertion_failed_+0xa3) [0x7fbe9d5f9663] (on Tor 0.2.8.7
 )
 Sep 03 16:27:12.000 [err] Bug:
 /usr/bin/tor(channel_flush_from_first_active_circuit+0x40b)
 [0x7fbe9d50c25b] (on Tor 0.2.8.7 )
 Sep 03 16:27:12.000 [err] Bug:
 /usr/bin/tor(channel_flush_some_cells+0x103) [0x7fbe9d55a773] (on Tor
 0.2.8.7 )
 Sep 03 16:27:12.000 [err] Bug:     /usr/bin/tor(scheduler_run+0x115)
 [0x7fbe9d54beb5] (on Tor 0.2.8.7 )
 Sep 03 16:27:12.000 [err] Bug:     /usr/bin/tor(+0x10d1c7)
 [0x7fbe9d54c1c7] (on Tor 0.2.8.7 )
 Sep 03 16:27:12.000 [err] Bug:     /usr/bin/tor(event_base_loop+0x53c)
 [0x7fbe9d655aec] (on Tor 0.2.8.7 )
 Sep 03 16:27:12.000 [err] Bug:     /usr/bin/tor(do_main_loop+0x3d9)
 [0x7fbe9d4ecf59] (on Tor 0.2.8.7 )
 Sep 03 16:27:12.000 [err] Bug:     /usr/bin/tor(tor_main+0xde5)
 [0x7fbe9d4edfc5] (on Tor 0.2.8.7 )
 Sep 03 16:27:12.000 [err] Bug:     /usr/bin/tor(main+0x19)
 [0x7fbe9d4ea019] (on Tor 0.2.8.7 )
 Sep 03 16:27:12.000 [err] Bug:
 /lib64/libc.so.6(__libc_start_main+0xfd) [0x7fbe9c613d1d] (on Tor 0.2.8.7
 )
 Sep 03 16:27:12.000 [err] Bug:     /usr/bin/tor(+0xaaf29) [0x7fbe9d4e9f29]
 (on Tor 0.2.8.7 )

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


More information about the tor-bugs mailing list