Segfault when calling SETCONF
Awwww, ran into one last weekend too. 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@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