[Xapian-devel] Test failures

Richard Boulton richard at lemurconsulting.com
Mon Jun 25 00:20:44 BST 2007


Olly Betts wrote:
> Turns out this is a red herring.  The leaks appear to be the buffers
> inside a stdio "FILE" structure, so the sizes probably just vary by
> glibc version, or other unrelated factors.
> 
> The fix is two lines, and my tree now passes all the tests!  I'll
> check that in shortly.

Oh, well done!  I must remember that 0.1% chances happen 9 times out of 
10... (or whatever it is that Pratchett says).

> It seems we're leaking a file descriptor per remotetcp database opened
> though, which isn't ideal.  That may be harder to fix though.

Does the use of valgrind not track the file descriptors as well?

-- 
Richard



More information about the Xapian-devel mailing list