[tor-bugs] #15776 [Tor]: assert_circuit_ok: Assertion c == c2 failed; aborting.

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 22 17:35:32 UTC 2015


#15776: assert_circuit_ok: Assertion c == c2 failed; aborting.
----------------------------+---------------------------
     Reporter:  Spider.007  |      Owner:
         Type:  defect      |     Status:  new
     Priority:  major       |  Milestone:
    Component:  Tor         |    Version:  Tor: 0.2.5.12
   Resolution:              |   Keywords:
Actual Points:              |  Parent ID:
       Points:              |
----------------------------+---------------------------

Comment (by cypherpunks):

 > Tor[22]: Bug: /usr/bin/tor(command_process_cell+0x499) [0x7f5f75f03019]

 According to offset, more likely it was command_process_destroy_cell().
 Could be wrong though.

 Then, every process function call of
 circuit_get_by_circid_channel(cell->circ_id, chan), and assert_circuit_ok
 check fails after:
 {{{
 circuit_t *c2 = circuit_get_by_circid_channel_impl(c->n_circ_id,
                                                    c->n_chan, NULL);
 }}}
 Two way to trigger this assert:
  circ->n_circ_id != cell->circ_id
   or
  circ->n_chan != chan

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


More information about the tor-bugs mailing list