Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #4212

Closed (moved)
(moved)
Open
Created Oct 10, 2011 by Robert Ransom@rransom

Circuit in CIRCUIT_PURPOSE_C_INTRODUCING with no rend_data

With a somewhat recent Git master (commit 2725a88d5e3ec362a4f866f53c26ca20f943eb49):

Oct 09 19:13:41.000 [info] circuit_expire_building(): Abandoning circ [redacted] (state 3:open, purpose 6)
Oct 09 19:13:41.000 [info] internal (high-uptime) circ (length 4): [redacted](open) [redacted](open) [redacted](open) [redacted](open)
Oct 09 19:13:41.000 [err] _circuit_mark_for_close(): Bug: circuitlist.c:1222: _circuit_mark_for_close: Assertion ocirc->rend_data failed; aborting.

(CIRCUIT_PURPOSE_C_INTRODUCING == 6)

The assertion occurred in the following chunk of code, added to help fix #3825 (moved):

 } else if (circ->purpose == CIRCUIT_PURPOSE_C_INTRODUCING &&
             reason != END_STREAM_REASON_TIMEOUT) {
    origin_circuit_t *ocirc = TO_ORIGIN_CIRCUIT(circ);
    tor_assert(ocirc->build_state->chosen_exit);
    tor_assert(ocirc->rend_data);
    log_info(LD_REND, "Failed intro circ %s to %s "
             "(building circuit to intro point). "
             "Marking intro point as possibly unreachable.",
             safe_str_client(ocirc->rend_data->onion_address),
           safe_str_client(build_state_get_exit_nickname(ocirc->build_state)));
    rend_client_report_intro_point_failure(ocirc->build_state->chosen_exit,
                                           ocirc->rend_data,
                                           INTRO_POINT_FAILURE_UNREACHABLE);

But we should never have a circuit with that purpose with its rend_data field unset.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking