[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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

Attachment: pgp5IBO8wzKZK.pgp
Description: PGP signature