getinfo orconn-status sometimes crashes
Requesting 'getinfo orconn-status' from the Controller sometimes causes Tor to crash.
On most of my servers, this request consistently works normally, but on serifos, this
request seems to consistently cause the crash condition. I have no explanation, though
I suspect that perhaps some combination of high-volume client activity and high-volume
server activity is to blame. This is my test:
$ telnet localhost 9051
authenticate
250 OK
getinfo orconn-status
Connection closed by foreign host.
The crash is violent, and there are no interesting error messages in the log.
The backtrace is as follows:
(gdb) bt
#0 0xb7ce8c73 in strlen () from /lib/tls/i686/cmov/libc.so.6
#1 0x080733f5 in handle_control_getinfo (conn=0xb4289cf0, len=<value optimized out>, body=0x8abe078 "orconn-status\r\n") at control.c:1415
legacy/trac#2 0x08075dde in connection_control_process_inbuf_v1 (conn=0xb4289cf0) at control.c:2185
legacy/trac#3 0x08075f59 in connection_control_process_inbuf (conn=0xb4289cf0) at control.c:2374
legacy/trac#4 0x08065efa in connection_process_inbuf (conn=0x0, package_partial=1) at connection.c:1918
legacy/trac#5 0x08068439 in connection_handle_read (conn=0xb4289cf0) at connection.c:1225
legacy/trac#6 0x08086769 in conn_read_callback (fd=186, event=2, _conn=0xb4289cf0) at main.c:383
legacy/trac#7 0xb7db5c79 in event_base_priority_init () from /usr/lib/libevent-1.1a.so.1
legacy/trac#8 0xb7db5f65 in event_base_loop () from /usr/lib/libevent-1.1a.so.1
legacy/trac#9 0xb7db5dcb in event_loop () from /usr/lib/libevent-1.1a.so.1
legacy/trac#10 0xb7db5cb0 in event_dispatch () from /usr/lib/libevent-1.1a.so.1
legacy/trac#11 0x080887d7 in tor_main (argc=0, argv=0x0) at main.c:1155
legacy/trac#12 0xb7c8feb0 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
legacy/trac#13 0x0804c5c1 in _start () at ../sysdeps/i386/elf/start.S:119
[Automatically added by flyspray2trac: Operating System: All]
issue