[tor-bugs] #14901 [Tor]: Segfault when calling SETCONF

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Feb 14 20:08:40 UTC 2015


#14901: Segfault when calling SETCONF
--------------------+---------------------
 Reporter:  atagar  |          Owner:
     Type:  defect  |         Status:  new
 Priority:  major   |      Milestone:
Component:  Tor     |        Version:
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
--------------------+---------------------
 Awwww, ran into one [https://trac.torproject.org/projects/tor/ticket/14803
 last weekend too].
 [http://www.quickmeme.com/img/7e/7e6b26bf6b1a422e6316de71ffbb5043c92b81cf03fc69750f1af1656bb78ef2.jpg
 *sob*]

 {{{
 For tor...

 % git checkout 5644d92
 % git clean -fdx
 % make dist-clean; ./autogen.sh && ./configure && make
 % mkdir /tmp/tor_test
 [made a torrc...]

 % cat /tmp/tor_test/torrc
 DataDirectory /tmp/tor_test
 ControlPort 1111

 % tor -f /tmp/tor_test/torrc
 }}}

 And then...

 {{{
 atagar at odin:~/Desktop/stem$ telnet localhost 1111
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 AUTHENTICATE
 250 OK
 GETINFO version
 250-version=0.2.6.2-alpha-dev (git-5644d92dd7081e4a)
 250 OK
 SETCONF ORPort=9090
 Connection closed by foreign host.
 }}}

 The tor instance fails with...

 {{{
 Feb 14 12:05:03.000 [notice] Now checking whether ORPort
 174.21.175.181:9090 is reachable... (this may take up to 20 minutes --
 look for log messages indicating success)

 ============================================================ T= 1423944303
 Tor 0.2.6.2-alpha-dev (git-5644d92dd7081e4a) died: Caught signal 11
 tor(+0x12234e)[0xb772c34e]
 /lib/i386-linux-gnu/libpthread.so.0(__pthread_mutex_lock+0x17)[0xb7332cb7]
 /lib/i386-linux-gnu/libpthread.so.0(__pthread_mutex_lock+0x17)[0xb7332cb7]
 tor(tor_mutex_acquire+0x2c)[0xb774634c]
 tor(threadpool_queue_update+0x55)[0xb77452a5]
 tor(cpuworkers_rotate_keyinfo+0x4f)[0xb76f69af]
 tor(set_options+0xf98)[0xb76ce5b8]
 tor(options_trial_assign+0xd7)[0xb76d0567]
 tor(+0xe4b81)[0xb76eeb81]
 tor(connection_control_process_inbuf+0x6e4)[0xb76f2bf4]
 tor(+0xca744)[0xb76d4744]
 tor(connection_handle_read+0x7c7)[0xb76dadb7]
 tor(+0x28d41)[0xb7632d41]
 /usr/lib/libevent-2.0.so.5(event_base_loop+0x209)[0xb7554ce9]
 tor(do_main_loop+0x1bb)[0xb763372b]
 tor(tor_main+0x1f6d)[0xb76370dd]
 tor(main+0x33)[0xb762fa03]
 /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb718f4d3]
 tor(+0x25a4d)[0xb762fa4d]
 Aborted
 }}}

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


More information about the tor-bugs mailing list