[tor-bugs] #22752 [Core Tor/Tor]: Assertion failure in consensus_cache_entry_handle_get on Windows

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 8 02:17:48 UTC 2017


#22752: Assertion failure in consensus_cache_entry_handle_get on Windows
--------------------------+------------------------------------
 Reporter:  ahf           |          Owner:
     Type:  defect        |         Status:  needs_information
 Priority:  High          |      Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.1.3-alpha
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:  Sponsor4
--------------------------+------------------------------------

Comment (by Vort):

 > I think this bug might be caused by the fact that (I think!) on windows,
 you can't unlink a file that's in use.

 Yes, adding of `consensus_cache_entry_unmap` call hides "unlink" warnings:
 attachment:unmap_hack.patch
 But adds other ones, of course.

 > But our code tries to unlink these files while they are still mapped.

 Using of deleted file is a strange thing for me.

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


More information about the tor-bugs mailing list