[tor-bugs] #7350 [Tor]: Assertion chan->state == CHANNEL_STATE_OPENING || chan->state == CHANNEL_STATE_OPEN || chan->state == CHANNEL_STATE_MAINT failed

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 19 20:04:35 UTC 2013


#7350: Assertion chan->state == CHANNEL_STATE_OPENING || chan->state ==
CHANNEL_STATE_OPEN || chan->state == CHANNEL_STATE_MAINT failed
-----------------------+----------------------------------------------------
    Reporter:  andrea  |       Owner:  andrea            
        Type:  defect  |      Status:  reopened          
    Priority:  major   |   Milestone:  Tor: 0.2.4.x-final
   Component:  Tor     |     Version:  Tor: 0.2.4.5-alpha
  Resolution:          |    Keywords:  tor-relay         
      Parent:          |      Points:                    
Actualpoints:          |  
-----------------------+----------------------------------------------------

Comment(by andrea):

 Replying to [comment:16 nickm]:
 > Ah, okay.  The channel is closing because we're hibernating.  So it
 marks the or_connection, but tells it to flush.  And then a
 connection_edge_end tells it to queue an END cell while the or_connection
 is marked but flushing and the channel is in state CHANNEL_STATE_CLOSING.

 I think the fix is to not mark the or_connection or close the channel
 right away, but keep track of that until after we queue the END cell.  I'd
 have to have a closer look to know how complex that is.

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


More information about the tor-bugs mailing list