[tor-bugs] #21369 [- Select a component]: Tor crashes with tor_assertion_failed_()

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 1 16:08:03 UTC 2017


#21369: Tor crashes with tor_assertion_failed_()
--------------------------------------+--------------------------
     Reporter:  svengo                |      Owner:
         Type:  defect                |     Status:  new
     Priority:  Medium                |  Milestone:
    Component:  - Select a component  |    Version:  Tor: 0.2.9.9
     Severity:  Critical              |   Keywords:
Actual Points:                        |  Parent ID:
       Points:                        |   Reviewer:
      Sponsor:                        |
--------------------------------------+--------------------------
 One (of two) tor instance has crashed two times today:

 {{{
 Feb  1 13:15:58 arnor Tor-eriador[5110]: tor_assertion_failed_(): Bug:
 ../src/or/buffers.c:832: write_to_buf: Assertion buf->datalen < INT_MAX
 failed; aborting. (on Tor 0.2.9.9 )
 Feb  1 13:15:58 arnor Tor-eriador[5110]: Bug: Assertion buf->datalen <
 INT_MAX failed in write_to_buf at ../src/or/buffers.c:832.
 Stack trace: (on Tor 0.2.9.9 )
 Feb  1 13:15:58 arnor Tor-eriador[5110]: Bug:
 /usr/bin/tor(log_backtrace+0x42) [0x556620673ba2] (on Tor 0.2.9.9 )
 Feb  1 13:15:58 arnor Tor-eriador[5110]: Bug:
 /usr/bin/tor(tor_assertion_failed_+0x8d) [0x55662068b71d] (on Tor 0.2.9.9
 )
 Feb  1 13:15:58 arnor Tor-eriador[5110]: Bug:     /usr/bin/tor(+0xadf7a)
 [0x5566205daf7a] (on Tor 0.2.9.9 )
 Feb  1 13:15:58 arnor Tor-eriador[5110]: Bug:
 /usr/bin/tor(connection_write_to_buf_impl_+0x294) [0x556620620294] (on Tor
 0.2.9.9 )
 Feb  1 13:15:58 arnor Tor-eriador[5110]: Bug:     /usr/bin/tor(+0x1081e6)
 [0x5566206351e6] (on Tor 0.2.9.9 )
 Feb  1 13:15:58 arnor Tor-eriador[5110]: Bug:     /usr/lib/x86_64-linux-
 gnu/libevent-2.0.so.5(event_base_loop+0x7fc) [0x7f5a40489a0c] (on Tor
 0.2.9.9 )
 Feb  1 13:15:58 arnor Tor-eriador[5110]: Bug:
 /usr/bin/tor(do_main_loop+0x27d) [0x55662057079d] (on Tor 0.2.9.9 )
 Feb  1 13:15:58 arnor Tor-eriador[5110]: Bug:
 /usr/bin/tor(tor_main+0x1c25) [0x556620574105] (on Tor 0.2.9.9 )
 Feb  1 13:15:58 arnor Tor-eriador[5110]: Bug:     /usr/bin/tor(main+0x19)
 [0x55662056c1b9] (on Tor 0.2.9.9 )
 Feb  1 13:15:58 arnor Tor-eriador[5110]: Bug:     /lib/x86_64-linux-
 gnu/libc.so.6(__libc_start_main+0xf0) [0x7f5a3f5c4830] (on Tor 0.2.9.9 )
 Feb  1 13:15:58 arnor Tor-eriador[5110]: Bug:
 /usr/bin/tor(_start+0x29) [0x55662056c209] (on Tor 0.2.9.9 )
 Feb  1 13:15:58 arnor systemd[1]: tor at eriador.service: Main process
 exited, code=killed, status=6/ABRT
 }}}

 And three hours later:

 {{{
 Feb  1 16:54:26 arnor Tor-eriador[24009]: tor_assertion_failed_(): Bug:
 ../src/or/buffers.c:832: write_to_buf: Assertion buf->datalen < INT_MAX
 failed; aborting. (on Tor 0.2.9.9 )
 Feb  1 16:54:26 arnor Tor-eriador[24009]: Bug: Assertion buf->datalen <
 INT_MAX failed in write_to_buf at ../src/or/buffers.c:832. Stack trace:
 (on Tor 0.2.9.9 )
 Feb  1 16:54:26 arnor Tor-eriador[24009]: Bug:
 /usr/bin/tor(log_backtrace+0x42) [0x55744384dba2] (on Tor 0.2.9.9 )
 Feb  1 16:54:26 arnor Tor-eriador[24009]: Bug:
 /usr/bin/tor(tor_assertion_failed_+0x8d) [0x55744386571d] (on Tor 0.2.9.9
 )
 Feb  1 16:54:26 arnor Tor-eriador[24009]: Bug:     /usr/bin/tor(+0xadf7a)
 [0x5574437b4f7a] (on Tor 0.2.9.9 )
 Feb  1 16:54:26 arnor Tor-eriador[24009]: Bug:
 /usr/bin/tor(connection_write_to_buf_impl_+0x294) [0x5574437fa294] (on Tor
 0.2.9.9 )
 Feb  1 16:54:26 arnor Tor-eriador[24009]: Bug:     /usr/bin/tor(+0x1081e6)
 [0x55744380f1e6] (on Tor 0.2.9.9 )
 Feb  1 16:54:26 arnor Tor-eriador[24009]: Bug:     /usr/lib/x86_64-linux-
 gnu/libevent-2.0.so.5(event_base_loop+0x7fc) [0x7f164f746a0c] (on Tor
 0.2.9.9 )
 Feb  1 16:54:26 arnor Tor-eriador[24009]: Bug:
 /usr/bin/tor(do_main_loop+0x27d) [0x55744374a79d] (on Tor 0.2.9.9 )
 Feb  1 16:54:26 arnor Tor-eriador[24009]: Bug:
 /usr/bin/tor(tor_main+0x1c25) [0x55744374e105] (on Tor 0.2.9.9 )
 Feb  1 16:54:26 arnor Tor-eriador[24009]: Bug:     /usr/bin/tor(main+0x19)
 [0x5574437461b9] (on Tor 0.2.9.9 )
 Feb  1 16:54:26 arnor Tor-eriador[24009]: Bug:     /lib/x86_64-linux-
 gnu/libc.so.6(__libc_start_main+0xf0) [0x7f164e881830] (on Tor 0.2.9.9 )
 Feb  1 16:54:26 arnor Tor-eriador[24009]: Bug:
 /usr/bin/tor(_start+0x29) [0x557443746209] (on Tor 0.2.9.9 )
 Feb  1 16:54:26 arnor systemd[1]: tor at eriador.service: Main process
 exited, code=killed, status=6/ABRT
 }}}

 The rest of the time everything was okay.

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


More information about the tor-bugs mailing list