tor crash cvs current on NetBSD 2.1_Stable
My tor server has crashed a few times with the following log messages
Aug 01 22:37:40.228 [warn] Please report: your clock just jumped 26 seconds forward; assuming established circuits no longer work. Aug 01 22:37:52.850 [warn] Please report: your clock just jumped 10 seconds forward; assuming established circuits no longer work. Aug 01 22:52:49.537 [warn] Please report: your clock just jumped 13 seconds forward; assuming established circuits no longer work. Aug 01 23:17:02.928 [err] dns.c:1212: assert_cache_ok: Assertion _cache_map_HT_REP_OK(&cache_root) failed; aborting.
The clock thing has been there a while, but the last line is the actual crash. I sync my clock via ntpd and my log entries indicate drift of less than 0.2 seconds per day.
gdb /usr/local/bin/tor tor.core GNU gdb 5.3nb1 Copyright 2002 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--netbsdelf"... Core was generated by `tor'. Program terminated with signal 6, Aborted. Reading symbols from /usr/libexec/ld.elf_so...done. Loaded symbols for /usr/libexec/ld.elf_so Reading symbols from /usr/pkg/lib/libz.so.1...done. Loaded symbols for /usr/pkg/lib/libz.so.1 Reading symbols from /usr/lib/libssl.so.3...done. Loaded symbols for /usr/lib/libssl.so.3 Reading symbols from /usr/lib/libcrypto.so.2...done. Loaded symbols for /usr/lib/libcrypto.so.2 Reading symbols from /usr/pkg/lib/libevent-1.1a.so.1...done. Loaded symbols for /usr/pkg/lib/libevent-1.1a.so.1 Reading symbols from /usr/lib/libc.so.12...done. Loaded symbols for /usr/lib/libc.so.12 #0 0x48230feb in kill () from /usr/lib/libc.so.12 (gdb) bt #0 0x48230feb in kill () from /usr/lib/libc.so.12 #1 0x482a5a3f in abort () from /usr/lib/libc.so.12 #2 (closed) 0x0807a75e in assert_cache_ok () at dns.c:1217 #3 (closed) 0x08078a5a in dns_resolve (exitconn=0x9588b00) at dns.c:425 #4 (closed) 0x080669da in connection_exit_begin_conn (cell=0xbfbff560, circ=0x957de00) at connection_edge.c:1683 #5 (closed) 0x08081e46 in connection_edge_process_relay_cell (cell=0xbfbff560, circ=0x957de00, conn=0x0, layer_hint=0x0) at relay.c:943 #6 (closed) 0x080806ec in circuit_receive_relay_cell (cell=0xbfbff560, circ=0x957de00, cell_direction=2) at relay.c:169 #7 (closed) 0x08058750 in command_process_relay_cell (cell=0xbfbff560, conn=0x9557500) at command.c:316 #8 (closed) 0x08068a30 in connection_or_process_cells_from_inbuf (conn=0x9557500) at connection_or.c:778 #9 (closed) 0x08061677 in connection_handle_read (conn=0x9557500) at connection.c:1223 #10 (closed) 0x0807ca5f in conn_read_callback (fd=31, event=2, _conn=0x9557500) at main.c:407 #11 (closed) 0x48211988 in event_process_active () from /usr/pkg/lib/libevent-1.1a.so.1 #12 (closed) 0x48211bee in event_base_loop () from /usr/pkg/lib/libevent-1.1a.so.1 #13 (closed) 0x48211a77 in event_loop () from /usr/pkg/lib/libevent-1.1a.so.1 #14 (closed) 0x482119b6 in event_dispatch () from /usr/pkg/lib/libevent-1.1a.so.1 #15 (closed) 0x0807dcb8 in do_main_loop () at main.c:1153 #16 (closed) 0x0807e8a9 in tor_main (argc=7, argv=0xbfbffb1c) at main.c:2128 #17 (closed) 0x080966e3 in main (argc=7, argv=0xbfbffb1c) at tor_main.c:22 #18 (closed) 0x0804c072 in ___start ()
Thanks, gene
[Automatically added by flyspray2trac: Operating System: BSD]
Trac:
Username: yancm