[tor-bugs] #7267 [Tor]: src/or/channel.c:1315 channel_closed: Assertion chan->state == CHANNEL_STATE_CLOSING || chan->state == CHANNEL_STATE_CLOSED || chan->state == CHANNEL_STATE_ERROR failed;

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Nov 2 15:49:40 UTC 2012


#7267: src/or/channel.c:1315 channel_closed: Assertion chan->state ==
CHANNEL_STATE_CLOSING || chan->state == CHANNEL_STATE_CLOSED || chan->state
== CHANNEL_STATE_ERROR failed;
-----------------------+----------------------------------------------------
 Reporter:  asn        |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  major      |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor        |        Version:  Tor: 0.2.4.4-alpha
 Keywords:  tor-relay  |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by eseifert):

 Here's the output:
 {{{
 (gdb) up
 #3  0x00000000004a2390 in connection_or_about_to_close (or_conn=0x13b6450)
 at src/or/connection_or.c:601
 601     src/or/connection_or.c: No such file or directory.
         in src/or/connection_or.c
 (gdb) p *or_conn
 $3 = {base_ = {magic = 2100428547, state = 1 '\001', type = 4, purpose =
 0,
     read_blocked_on_bw = 0, write_blocked_on_bw = 0,
 hold_open_until_flushed = 0,
     inbuf_reached_eof = 0, in_flushed_some = 0, linked = 0,
     reading_from_linked_conn = 0, writing_to_linked_conn = 0,
     active_on_link = 0, linked_conn_is_closed = 0, proxy_state = 0, s =
 -1,
     conn_array_index = 9, read_event = 0x0, write_event = 0x0, inbuf =
 0x0,
     outbuf = 0x0, outbuf_flushlen = 0, timestamp_lastread = 1351851696,
     timestamp_lastwritten = 1351851759, bufev = 0x0,
     timestamp_created = 1351851696, socket_family = 2, addr = {family = 2,
         addr = {dummy_ = 2780165965, in_addr = {s_addr = 2780165965},
             in6_addr = {__in6_u = {
                 __u6_addr8 = "M\367\265\245", '\000' <repeats 11 times>,
                 __u6_addr16 = {63309, 42421, 0, 0, 0, 0, 0, 0},
                 __u6_addr32 = {2780165965, 0, 0, 0}}}}},
     port = 110, marked_for_close = 3080,
     marked_for_close_file = 0x532604 "src/or/connection.c",
     address = 0x10180e0 "77.247.181.165", linked_conn = 0x0,
     global_identifier = 237},
   identity_digest =
 "\271=\314\005=\177\004r\273\027\244QN\006\376v\331\373qK",
   nickname = 0xf4bdc0 "politkovskaja2", tls = 0x0, tls_error = 0,
   chan = 0x1355950, real_addr = {family = 2, addr = {dummy_ = 2780165965,
             in_addr = {s_addr = 2780165965}, in6_addr = {__in6_u = {
                 __u6_addr8 = "M\367\265\245", '\000' <repeats 11 times>,
                 __u6_addr16 = {63309, 42421, 0, 0, 0, 0, 0, 0},
                 __u6_addr32 = {2780165965, 0, 0, 0}}}}},
   is_canonical = 1, is_connection_with_client = 0, is_outgoing = 1,
   proxy_type = 0, link_proto = 0 '\000', handshake_state = 0x0,
   timestamp_lastempty = 0, timestamp_last_added_nonpadding = 1351851696,
   bandwidthrate = 1073741824, bandwidthburst = 1073741824,
   bucket_cfg = 0x1423a80, next_with_same_id = 0x0}
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7267#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list