[tor-bugs] #7267 [Tor]: src/or/channel.c:1315 channel_closed: Assertion chan->state == CHANNEL_STATE_CLOSING || chan->state == CHANNEL_STATE_CLOSED || chan->state == CHANNEL_STATE_ERROR failed;

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Nov 4 00:12:40 UTC 2012


#7267: src/or/channel.c:1315 channel_closed: Assertion chan->state ==
CHANNEL_STATE_CLOSING || chan->state == CHANNEL_STATE_CLOSED || chan->state
== CHANNEL_STATE_ERROR failed;
-----------------------+----------------------------------------------------
 Reporter:  asn        |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  major      |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor        |        Version:  Tor: 0.2.4.4-alpha
 Keywords:  tor-relay  |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by nickm):

 Just closed #7303 as a likely duplicate of this.

 Andrea, I think for the solution, or at least part of it, we need to make
 it so that it's safe to call connection_mark_for_close on an OR connection
 without necessarily also invoking
 connection_or_close{_for_error,_normally}.  So far there seem to be at
 least three cases where we're marking generic connections without going
 through the right "ahem, channels" -- there will probably be more.

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


More information about the tor-bugs mailing list