[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
Fri Nov 2 16:22:19 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):

 Andrea, it looks like this is the kind of error we would expect to see
 when a connection_or is marked for close directly, and not via
 connection_or_close_for_error() or connection_or_close_normally().  Does
 that sound plausible to you?  If so I wonder whether we couldn't hack up a
 LD_BUG log message for that case... or detect it, issue an LD_BUG message
 with the offending line number, and allow Tor to continue running
 normally, seeing as that's the kind of error we're likely to encounter in
 the future.

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


More information about the tor-bugs mailing list