[tor-bugs] #8031 [Tor]: Assertion fast_memeq(md->body, "onion-key", 9) failed;

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 11 19:10:34 UTC 2013


#8031: Assertion fast_memeq(md->body, "onion-key", 9) failed;
----------------------------------------------------+-----------------------
 Reporter:  cypherpunks                             |          Owner:                    
     Type:  defect                                  |         Status:  needs_review      
 Priority:  major                                   |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor                                     |        Version:  Tor: 0.2.4.6-alpha
 Keywords:  tor-relay assertion crash 023-backport  |         Parent:                    
   Points:                                          |   Actualpoints:                    
----------------------------------------------------+-----------------------
Changes (by nickm):

  * keywords:  tor-relay assertion crash => tor-relay assertion crash
               023-backport
  * status:  new => needs_review


Comment:

 I've got an attempt to fix this stuff in branch "bug8031" in my public
 repository. It's against 0.2.3, but I'm only suggesting it for 0.2.4 for
 now.  What it does is:

   * Uses fd syscalls instead of stdio to rebuild microdescriptor stuff.
   * Actually checks error codes on return values from
 finish_writing_to_file.
   * Makes sure that our offset in the file keeps pace with the computed
 offset as we're rebuilding the cache.  (I think this is needless, but hey,
 we have a bug.)

 I don't know if we can call this one 'fixed' after merging these, but we
 can rule out a couple of possible causes.

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


More information about the tor-bugs mailing list