[tor-bugs] #8387 [Tor]: Unbuilt one-hop circuits sometimes hang around forever

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 10 12:43:54 UTC 2015


#8387: Unbuilt one-hop circuits sometimes hang around forever
---------------------------+------------------------------------
     Reporter:  mikeperry  |      Owner:  nickm
         Type:  defect     |     Status:  accepted
     Priority:  major      |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor        |    Version:
   Resolution:             |   Keywords:  tor-client 025-triaged
Actual Points:             |  Parent ID:
       Points:             |
---------------------------+------------------------------------

Comment (by cypherpunks):

 Extra information could help for more diagnostic, for example:
 {{{
      log_notice(LD_HEARTBEAT, "  #%d created at %s. %s, %s. %s for close.
 "
 +               "Package window: %d. "
                 "%s for new conns. %s.",
                 ocirc_sl_idx,
                 created,
                 circuit_state_to_string(circ->state),
                 circuit_purpose_to_string(circ->purpose),
                 circ->marked_for_close ? "Marked" : "Not marked",
 +               circ->package_window,
                 ocirc->unusable_for_new_conns ? "Not usable" : "usable",
                 dirty);
      tor_free(dirty);
 @@ -869,12 +871,17 @@

        log_notice(LD_HEARTBEAT, "     Stream#%d created at %s. "
                   "%s conn in state %s. "
 +                 "It is %slinked and %sreading from linked connection. "
 +                 "Package window: %d. "
                   "%s for close (%s:%d). Hold-open is %sset. "
                   "Has %ssent RELAY_END. %s on circuit.",
                   stream_num,
                   stream_created,
                   conn_type_to_string(c->type),
                   conn_state_to_string(c->type, c->state),
 +                 c->linked ? "" : "not ",
 +                 c->reading_from_linked_conn ? "" : "not ",
 +                 conn->package_window,
                   c->marked_for_close ? "Marked" : "Not marked",
                   c->marked_for_close_file ? c->marked_for_close_file :
 "--",
                   c->marked_for_close,
 }}}

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


More information about the tor-bugs mailing list