Tor crash on FreeBSD
Tor crashes at random times, sometimes it will last days or even weeks, sometimes only a few hours until a crash.
This has been going on for a while over the past few months with various tor versions. I just now got around to compiling it with debug symbols.
This is the gdb from the crash today, its my first crash since compiling with debug so im not sure if it always crashes in the same place, I will update the bug on the next crash. I'm not sure if I am doing this right, let me know if you need me to provide some different info.
OS is FreeBSD 7.2 32bit.
gdb /usr/local/bin/tor tor.core
GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `tor'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libz.so.4...done. Loaded symbols for /lib/libz.so.4 Reading symbols from /usr/local/lib/libevent-1.4.so.3...done. Loaded symbols for /usr/local/lib/libevent-1.4.so.3 Reading symbols from /usr/local/lib/libssl.so.5...done. Loaded symbols for /usr/local/lib/libssl.so.5 Reading symbols from /usr/local/lib/libcrypto.so.5...done. Loaded symbols for /usr/local/lib/libcrypto.so.5 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 set_streams_blocked_on_circ (circ=Variable "circ" is not available. ) at relay.c:1764 1764 relay.c: No such file or directory. in relay.c [New Thread 0x28501040 (LWP 100379)] (gdb) bt #0 set_streams_blocked_on_circ (circ=Variable "circ" is not available. ) at relay.c:1764 #1 0x080b5774 in connection_or_flush_from_first_active_circuit (conn=0x28dedbb0, max=1, now=1258328897) at relay.c:1832 #2 (closed) 0x0807c73b in connection_or_flushed_some (conn=0x28dedbb0) at connection_or.c:293 #3 (closed) 0x0806f3b4 in connection_flushed_some (conn=0x28dedbb0) at connection.c:2832 #4 (closed) 0x080731ad in connection_handle_write (conn=0x28dedbb0, force=0) at connection.c:2385 #5 (closed) 0x080ab249 in conn_write_callback (fd=164, events=4, _conn=0x28dedbb0) at main.c:488 #6 (closed) 0x28187692 in event_base_loop () from /usr/local/lib/libevent-1.4.so.3 #7 (closed) 0x281879c9 in event_loop () from /usr/local/lib/libevent-1.4.so.3 #8 (closed) 0x080aaf49 in do_main_loop () at main.c:1444 #9 (closed) 0x080ab167 in tor_main (argc=11, argv=0xbfbfec08) at main.c:2070 #10 (closed) 0x080e8a02 in main (argc=Cannot access memory at address 0x0 ) at tor_main.c:30
[Automatically added by flyspray2trac: Operating System: BSD]
Trac:
Username: foundbug