[tor-bugs] #32564 [Core Tor/Tor]: Assertion pol->magic failed

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 21 15:51:51 UTC 2019


#32564: Assertion pol->magic failed
--------------------------+------------------------------
 Reporter:  Logforme      |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:  Tor: 0.4.1.6
 Severity:  Normal        |     Resolution:
 Keywords:  assert        |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------

Comment (by dgoulet):

 So the only path into the EWMA subsystem I can find from
 `circuit_receive_relay_cell()` is through this path:

 * circuit_receive_relay_cell()
   * append_cell_to_circuit_queue()
     * update_circuit_on_cmux_()
       * circuitmux_set_num_cells()
         * circuitmux_make_circuit_inactive() _OR_
         * circuitmux_make_circuit_active()

 Both either call `notify_circ_inactive()` or `notify_circ_active()` which
 EWMA subsystem sets those function pointers.

 Which means that we have in the `chanid_circid_muxinfo_map` map an entry
 that has either things that were freed() or never initialized.

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


More information about the tor-bugs mailing list