[tor-bugs] #6767 [- Select a component]: tor crashes with Assertion `idx == sd->routerlist_index`

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Sep 4 21:02:45 UTC 2012


#6767: tor crashes with Assertion `idx == sd->routerlist_index`
----------------------------------+-----------------------------------------
 Reporter:  darkk                 |          Owner:               
     Type:  defect                |         Status:  new          
 Priority:  normal                |      Milestone:               
Component:  - Select a component  |        Version:  Tor: 0.2.2.37
 Keywords:                        |         Parent:               
   Points:                        |   Actualpoints:               
----------------------------------+-----------------------------------------
 I started my gateway with stderr redirected to syslog and got following
 crash:
 {{{
 Sep  2 12:30:07 OpenWrt cron.info crond[708]: crond: USER root pid 1794
 cmd /root/tor-watchdog.sh
 Sep  2 12:43:19 OpenWrt daemon.err Tor[1280]: routerlist_remove_old():
 Bug: routerlist.c:3004: routerlist_remove_old: Assertion idx ==
 sd->routerlist_index failed; aborting.
 Sep  2 12:43:21 OpenWrt user.notice tor.stdout: routerlist.c:3004
 routerlist_remove_old: Assertion idx == sd->routerlist_index failed;
 aborting.
 Sep  2 12:45:01 OpenWrt cron.info crond[708]: crond: USER root pid 1797
 cmd /root/tor-watchdog.sh
 Sep  2 12:45:01 OpenWrt user.notice Tor.watchdog: pidfile exists and
 process is missing - start
 Sep  2 12:45:02 OpenWrt user.notice Tor.init: Sep 02 12:45:02.684 [notice]
 Tor v0.2.2.37 (git-fce6eb1c44e87bc2). This is experimental software. Do
 not rely on it for strong anonymity. (Running on Linux mips)
 }}}

 OpenWrt package versions: libopenssl - 1.0.1c-1, tor - 0.2.2.37-1

 openssl build information:
 {{{
 root at OpenWrt:~# strings /usr/lib/libcrypto.so.1.0.0 | grep gcc
 libgcc_s.so.1
 mipsel-openwrt-linux-uclibc-gcc -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB
 -DDSO_DLFCN -DHAVE_DLFCN_H -I/home/fnord/slave/brcm47xx/build/staging_dir
 /target-mipsel_uClibc-0.9.33.2/usr/include
 -I/home/fnord/slave/brcm47xx/build/staging_dir/target-
 mipsel_uClibc-0.9.33.2/include
 -I/home/fnord/slave/brcm47xx/build/staging_dir/toolchain-
 mipsel_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include
 -I/home/fnord/slave/brcm47xx/build/staging_dir/toolchain-
 mipsel_gcc-4.6-linaro_uClibc-0.9.33.2/include -DOPENSSL_SMALL_FOOTPRINT
 -DHAVE_CRYPTODEV -DOPENSSL_NO_ERR -DTERMIO -Os -pipe -mips32 -mtune=mips32
 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable
 -msoft-float -fpic -DOPENSSL_THREADS -pthread -D_REENTRANT -D_THREAD_SAFE
 -D_THREADSAFE -fomit-frame-pointer -Wall
 }}}

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


More information about the tor-bugs mailing list