[tor-bugs] #25976 [Core Tor/Tor]: connection_dir_finished_flushing(): Bug: called in unexpected state 3

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jun 12 14:54:55 UTC 2018


#25976: connection_dir_finished_flushing(): Bug: called in unexpected state 3
----------------------------------+------------------------------------
 Reporter:  dgoulet               |          Owner:  (none)
     Type:  defect                |         Status:  new
 Priority:  Medium                |      Milestone:  Tor: 0.3.4.x-final
Component:  Core Tor/Tor          |        Version:
 Severity:  Normal                |     Resolution:
 Keywords:  regression, 034-must  |  Actual Points:
Parent ID:                        |         Points:
 Reviewer:                        |        Sponsor:
----------------------------------+------------------------------------

Comment (by dgoulet):

 So when a client directory connection ends sending it goes back in
 `DIR_CONN_STATE_CLIENT_READING`. This is the only transition I could find.

 Meaning, once we are done flushing data on the wire, we go back in READING
 mode. Thus, one theory is that something in tor wrote things on that
 connection outbuf after it was done sending whatever it had...?

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


More information about the tor-bugs mailing list