assert errors on answering begin_dir
I think this was SVN r9422.
moria1 and moria2 both died with:
Jan 30 20:44:41.536 [err] connection.c:2380: assert_connection_ok: Assertion con nection_is_writing(conn) || conn->wants_to_write failed; aborting.
#0 0x0000002a95e43545 in raise () from /lib/libc.so.6 #1 0x0000002a95e44cce in abort () from /lib/libc.so.6 #2 (closed) 0x0000000000420834 in assert_connection_ok (conn=0x1819230, now=19842) at connection.c:2524 #3 (closed) 0x0000000000440e7b in conn_read_callback (fd=19842, event=19842, _conn=0x6) at main.c:424 #4 (closed) 0x0000002a95d0e82d in event_base_priority_init () from /usr/lib/libevent-1.1a.so.1 #5 (closed) 0x0000002a95d0ea72 in event_base_loop () from /usr/lib/libevent-1.1a.so.1 #6 (closed) 0x0000002a95d0e8e5 in event_loop () from /usr/lib/libevent-1.1a.so.1 #7 (closed) 0x0000002a95d0e84b in event_dispatch () from /usr/lib/libevent-1.1a.so.1 #8 (closed) 0x000000000044259b in do_main_loop () at main.c:1234 #9 (closed) 0x000000000044323a in tor_main (argc=19842, argv=0x4d82) at main.c:2344 #10 (closed) 0x0000002a95e31441 in __libc_start_main () from /lib/libc.so.6 #11 (closed) 0x000000000040622a in _start () at ../sysdeps/x86_64/elf/start.S:96
$7 = {magic = 2575892462, type = 9 '\t', state = 6 '\006', purpose = 9 '\t', wants_to_read = 0, wants_to_write = 0, hold_open_until_flushed = 0, inbuf_reached_eof = 0, edge_has_sent_end = 0, or_is_obsolete = 0, chosen_exit_optional = 0, s = 1503, conn_array_index = 1977, read_event = 0x6b1feb0, write_event = 0x3230750, inbuf = 0x6a188a0, outbuf = 0x14e3670, outbuf_flushlen = 141, timestamp_lastread = 1170207881, timestamp_lastwritten = 1170207879, timestamp_created = 1170207879, addr = , port = 0, marked_for_close = 0, marked_for_close_file = 0x0, address = 0x6f3880 "Tor network"}
Check out the "address" field -- I think that's our hint. Somewhere we're making it stop writing but the assert doesn't take this into account.
[Automatically added by flyspray2trac: Operating System: All]