Windows-specific bug? cached-routers ignored on start-up

Nick Mathewson nickm at freehaven.net
Thu Dec 7 15:14:17 UTC 2006


On Thu, Dec 07, 2006 at 09:20:49AM -0500, Nick Mathewson wrote:
> On Thu, Dec 07, 2006 at 10:02:55PM +0800, John Kimble wrote:
> > It seems the current Tor+Privoxy+Vidalia bundle (0.1.2.4-alpha)
> > running on Windows XP does not load server descriptors from
> > cached-routers on start-up.
> 
> Hm.  This might have something to do with the fact that we now use
> mmap (or CreateFileMapping on Windows) to load cached-routers on
> startup, in order to let the OS use less RAM.  It looks like the
> Windows implementation could be broken, though.  If anybody with
> Windows coding fu wants to take a look at tor_mmap_file in compat.c,
> that would probably be where the error is.

Yup. There was indeed a bug there.  I've got a likely fix checked in
to the repository, which should appear in 0.1.2.5-x.  Please let me
know if it works, either by email or on the bug tracker entry at
   http://bugs.noreply.org/flyspray/index.php?do=details&id=365

yrs,
-- 
Nick Mathewson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20061207/02627f94/attachment.pgp>


More information about the tor-talk mailing list