Opened 14 years ago

Last modified 7 years ago

#97 closed defect (Fixed)

connection_dns_remove: Assertion failed

Reported by: goodell Owned by: nickm
Priority: Low Milestone: 0.0.9.5
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: goodell Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

on serifos, 0.0.9.4 (i386_linux24)

[log]
Feb 06 17:32:31.448 [warn] connection_edge_end(): Bug: Calling connection_edge_end on an already ended stream?
Feb 06 17:35:21.528 [warn] connection_edge_end(): Bug: Calling connection_edge_end on an already ended stream?
Feb 06 17:38:50.007 [notice] connection_expire_held_open(): Giving up on marked_for_close conn that's been flushing for 15s (fd 110, type Exit, state 3).
Feb 06 17:38:50.008 [notice] conn_close_if_marked(): Conn (addr 217.175.190.49, fd 110, type Exit, state 3) is being closed, but there are still 5486 bytes we can't write. (Marked at connection_edge.c:112)
Feb 06 17:39:27.677 [err] dns.c:319: connection_dns_remove: Assertion conn->state == EXIT_CONN_STATE_RESOLVING failed; aborting.

[backtrace]
#0 0x4014a741 in kill () from /lib/libc.so.6
#1 0x4014a4c5 in raise () from /lib/libc.so.6
#2 0x4014ba08 in abort () from /lib/libc.so.6
#3 0x08068f13 in connection_dns_remove (conn=0x8213bb0) at dns.c:319
#4 0x08051c97 in _circuit_mark_for_close (circ=0x81dc0b0) at circuitlist.c:386
#5 0x080554cc in command_process_destroy_cell (cell=0xbffff428, conn=0x89ab760) at command.c:309
#6 0x08054eb4 in command_process_cell (cell=0xbffff428, conn=0x89ab760) at command.c:137
#7 0x08061712 in connection_or_process_cells_from_inbuf (conn=0x89ab760) at connection_or.c:502
#8 0x080606f0 in connection_or_process_inbuf (conn=0x89ab760) at connection_or.c:62
#9 0x0805bcac in connection_process_inbuf (conn=0x89ab760, package_partial=1) at connection.c:1313
#10 0x0805aec5 in connection_handle_read (conn=0x89ab760) at connection.c:876
#11 0x0806cb04 in conn_read (i=193) at main.c:265
#12 0x0806dc19 in do_main_loop () at main.c:918
#13 0x0806e505 in tor_main (argc=1, argv=0xbffff984) at main.c:1426
#14 0x0807e4c4 in main (argc=1, argv=0xbffff984) at tor_main.c:18

(gdb) up 3
(gdb) print *conn
$1 = {magic = 2084319310, type = 5 '\005', state = 4 '\004', purpose = 2 '\002',

wants_to_read = 0 '\0', wants_to_write = 0 '\0', s = -1, poll_index = -1, marked_for_close = 0,
marked_for_close_file = 0x0, hold_open_until_flushed = 0, inbuf = 0x824ea08, inbuf_reached_eof = 0,
timestamp_lastread = 1107729523, outbuf = 0x82a7a10, outbuf_flushlen = 0,
timestamp_lastwritten = 1107729523, timestamp_created = 1107729523, addr = 2362680835, port = 0,
address = 0x84544f8 "irc.freenode.net", identity_pkey = 0x0,
identity_digest = '\0' <repeats 19 times>, nickname = 0x0, chosen_exit_name = 0x0, tls = 0x0,
next_circ_id = 13487, bandwidth = 0, receiver_bucket = 0, circ_id_type = CIRC_ID_TYPE_LOWER,
rend_query = '\0' <repeats 16 times>, stream_size = 0, stream_id = 17615, next_stream = 0x0,
cpath_layer = 0x0, package_window = 0, deliver_window = 0, done_sending = 0, done_receiving = 0,
has_sent_end = 0 '\0', socks_request = 0x0, event_mask = 0}

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (2)

comment:1 Changed 14 years ago by nickm

flyspray2trac: bug closed.
This should be fixed in CVS; we're releasing an 0095 soon.

comment:2 Changed 7 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.