[tor-bugs] #27808 [Core Tor/Tor]: tor 0.3.5.early-alpha: Raw assertion failed at smartlist_core.c::191191 : idx>=0

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 10 21:52:22 UTC 2018


#27808: tor 0.3.5.early-alpha: Raw assertion failed at smartlist_core.c::191191 :
idx>=0
---------------------------------+------------------------------------
 Reporter:  jchevali             |          Owner:  rl1987
     Type:  defect               |         Status:  reopened
 Priority:  Very High            |      Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor         |        Version:  Tor: 0.3.5.1-alpha
 Severity:  Normal               |     Resolution:
 Keywords:  regression 035-must  |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+------------------------------------
Changes (by jchevali):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I've tested dev at commit de86a70 which is where they were last merged.
 For reference, connection.c's md5sum at this point is
 8a928954d14790ed8f2a9d494d14ea58 (please verify).

 It falls down as follows:

 {{{
 [info] routerlist_remove_old_routers(): We have 6432 live routers and
 15253 old router descriptors.
 [notice] Opening OR listener on 0.0.0.0:9999
 [warn] Could not bind to 0.0.0.0:9999: Address already in use. Is Tor
 already running?
 [notice] Opening OR listener on 0.0.0.0:9999
 [warn] Could not bind to 0.0.0.0:9999: Address already in use. Is Tor
 already running?
 [err] tor_assertion_failed_(): Bug: src/core/mainloop/connection.c:2901:
 retry_all_listeners: Assertion new_conn failed; aborting.
 [err] Bug: Assertion new_conn failed in retry_all_listeners at
 src/core/mainloop/connection.c:2901. Stack trace:
 [err] Bug:     ./tor(log_backtrace_impl+0x47) [0x55ce6e0bd117]
 [err] Bug:     ./tor(tor_assertion_failed_+0x93) [0x55ce6e0b87a3]
 [err] Bug:     ./tor(retry_all_listeners+0x6e9) [0x55ce6df2be99]
 [err] Bug:     ./tor(+0x6383b) [0x55ce6df2f83b]
 [err] Bug:     ./tor(+0x68621) [0x55ce6df34621]
 [err] Bug:     /usr/lib/x86_64-linux-gnu/libevent-2.1.so.6(+0x22c05)
 [0x7fb7a7442c05]
 [err] Bug:     /usr/lib/x86_64-linux-
 gnu/libevent-2.1.so.6(event_base_loop+0x5a7) [0x7fb7a7443537]
 [err] Bug:     ./tor(do_main_loop+0x91) [0x55ce6df34081]
 [err] Bug:     ./tor(tor_run_main+0x1373) [0x55ce6df22023]
 [err] Bug:     ./tor(tor_main+0x3a) [0x55ce6df1f47a]
 [err] Bug:     ./tor(main+0x19) [0x55ce6df1efd9]
 [err] Bug:     /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
 [0x7fb7a6386b45]
 [err] Bug:     ./tor(+0x53029) [0x55ce6df1f029]
 }}}

 If I uncomment in torrc the second ORPort line containing the IPv6 it does
 not fall down.

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


More information about the tor-bugs mailing list