[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:04:18 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):

 luckily I still I hadn't closed the debugging session yet. Here you are:
 {{{
 (gdb) up 2
 #2  0x0000000000464f34 in channel_closed (chan=0x1355950) at
 src/or/channel.c:1313
 1313    src/or/channel.c: No such file or directory.
         in src/or/channel.c
 (gdb) print *chan
 $2 = {magic = 2316903463, state = CHANNEL_STATE_OPENING, global_identifier
 = 10,
   registered = 1 '\001', reason_for_closing = CHANNEL_NOT_CLOSING,
   timestamp_created = 1351851696, timestamp_active = 0, free = 0,
   close = 0x4689c0 <channel_tls_close_method>,
   describe_transport = 0x4688e0 <channel_tls_describe_transport_method>,
   dumpstats = 0, cell_handler = 0x481740 <command_process_cell>,
   var_cell_handler = 0x481640 <command_process_var_cell>,
   get_remote_addr = 0x468780 <channel_tls_get_remote_addr_method>,
   get_remote_descr = 0x468580 <channel_tls_get_remote_descr_method>,
   has_queued_writes = 0x468460 <channel_tls_has_queued_writes_method>,
   is_canonical = 0x468340 <channel_tls_is_canonical_method>,
   matches_extend_info = 0x468220 <channel_tls_matches_extend_info_method>,
   matches_target = 0x4680c0 <channel_tls_matches_target_method>,
   write_cell = 0x467f60 <channel_tls_write_cell_method>,
   write_packed_cell = 0x467e00 <channel_tls_write_packed_cell_method>,
   write_var_cell = 0x467ca0 <channel_tls_write_var_cell_method>,
   identity_digest =
 "\271=\314\005=\177\004r\273\027\244QN\006\376v\331\373qK",
   nickname = 0x0, next_with_same_id = 0x0, prev_with_same_id = 0x0,
   incoming_queue = 0x0, outgoing_queue = 0x0, cmux = 0x10b9470,
   circ_id_type = CIRC_ID_TYPE_LOWER, next_circ_id = 26634,
   num_n_circuits = 0, num_p_circuits = 0, is_bad_for_new_circs = 0,
   is_client = 0, is_incoming = 0, is_local = 0, timestamp_client = 0,
   timestamp_drained = 0, timestamp_recv = 0, timestamp_xmit = 0,
   timestamp_last_added_nonpadding = 1351851696, dirreq_id = 0,
   n_cells_recved = 0, n_cells_xmitted = 0}
 }}}

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


More information about the tor-bugs mailing list