[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
Mon Oct 1 18:05:33 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:  needs_information
 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:
---------------------------------+------------------------------------

Comment (by rl1987):

 I'm using the following Docker setup: https://github.com/rl1987/tor-
 docker-images/tree/master/debian

 I edited my Docker configuration JSON to make it is as follows:
 {{{
 {
   "fixed-cidr-v6" : "2001:db8:1::/64",
   "debug" : true,
   "ipv6" : true,
   "experimental" : true
 }
 }}}

 Then I did `docker build .` in the `debian` folder of my tor-docker-images
 repo (linked above). Docker container with debian on tor is now built.

 Shelled into the container by running `docker run -it --entrypoint
 /bin/bash 9da6b7fb8b7b` and verified that it has IPv6 network interface:
 {{{
 tor at 128312c91195:/src/tor$ ip -6 addr
 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1
     inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
 37: eth0 at if38: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP
     inet6 2001:db8:1::242:ac11:2/64 scope global nodad
        valid_lft forever preferred_lft forever
     inet6 fe80::42:acff:fe11:2/64 scope link
        valid_lft forever preferred_lft forever
 }}}

 Now let's run tor with above torrc entries:
 {{{
 tor at 128312c91195:/src/tor$ printf "ORPort 9999\nORPort
 [2001:db8:1::242:ac11:2]:9999\n" | tor -f -
 Oct 01 18:02:01.027 [notice] Tor 0.3.5.2-alpha-dev (git-43211c3a0c4b56d4)
 running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1t, Zlib 1.2.8,
 Liblzma N/A, and Libzstd N/A.
 Oct 01 18:02:01.028 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Oct 01 18:02:01.028 [notice] This version is not a stable Tor release.
 Expect more bugs than usual.
 Oct 01 18:02:01.031 [notice] Your ContactInfo config option is not set.
 Please consider setting it, so we can contact you if your server is
 misconfigured or something else goes wrong.
 Oct 01 18:02:01.032 [notice] Based on detected system memory,
 MaxMemInQueues is set to 1499 MB. You can override this by setting
 MaxMemInQueues by hand.
 Oct 01 18:02:01.032 [notice] By default, Tor does not run as an exit
 relay. If you want to be an exit relay, set ExitRelay to 1. To suppress
 this message in the future, set ExitRelay to 0.
 Oct 01 18:02:01.032 [notice] Opening Socks listener on 127.0.0.1:9050
 Oct 01 18:02:01.032 [notice] Opened Socks listener on 127.0.0.1:9050
 Oct 01 18:02:01.033 [notice] Opening OR listener on 0.0.0.0:9999
 Oct 01 18:02:01.033 [notice] Opened OR listener on 0.0.0.0:9999
 Oct 01 18:02:01.033 [notice] Opening OR listener on
 [2001:db8:1::242:ac11:2]:9999
 Oct 01 18:02:01.033 [notice] Opened OR listener on
 [2001:db8:1::242:ac11:2]:9999
 }}}

 It does not crash and proceeds to download network information from
 directory server.

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


More information about the tor-bugs mailing list