[tor-bugs] #7086 [Tor]: moria1 asserts on startup

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Oct 12 18:34:24 UTC 2012


#7086: moria1 asserts on startup
----------------------+-----------------------------------------------------
 Reporter:  arma      |          Owner:                    
     Type:  defect    |         Status:  new               
 Priority:  major     |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor       |        Version:                    
 Keywords:  tor-auth  |         Parent:                    
   Points:            |   Actualpoints:                    
----------------------+-----------------------------------------------------

Comment(by nickm):

 Okay, it's in a directory connection, and finding that conn->addr is
 unassigned.  It's a connection that we accepted, since we are calling
 write_http_response_header.

 But looking at connection_handler_listener_read(), I don't see how it can
 ever generate a directory connection that doesn't have conn->addr set --
 the tor_addr_copy() on connection.c line 1254 seems pretty convincing.

 Are we sure this didn't come from begindir? I guess it doesn't look that
 way from the call chain, or from the way that it's including an X
 -Descriptor-Not-New header.

 It could be useful to see the output of 'print *conn' in
 write_http_response_header_impl.

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


More information about the tor-bugs mailing list