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

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


I've installed and confirmed that the fix works perfectly. Thanks.

- John

On 12/7/06, Nick Mathewson <nickm@xxxxxxxxxxxxx> wrote:
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 (
> > 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  Please let me
know if it works, either by email or on the bug tracker entry at

Nick Mathewson