[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: grr. DB crashing.

From: Karl Fogel <kfogel_at_collab.net>
Date: 2001-03-31 02:31:26 CEST

Greg Stein <gstein@lyra.org> writes:
> So... Berkeley DB is crashing on me. (wah!)
>
> When the FS gets cleaned up at pool-destruction time, it goes to close the
> "nodes" table. Inside DB, it destroys a list of cursors. Something down in
> libc barfs when one of those cursors is free'd.
>
> Sigh.
>
> libc's free() function has a pthread mutex in it, which it tries to lock. It
> is that lock which bombs. Annoying.
>
> I've built a debugging version of DB, but that isn't helping right now. It
> doesn't say much more since the issue is in libc. It doesn't appear to be a
> multiple free, but it doesn't look like it would adequately test that, so
> I'll add some testing code into DB for that.

Just an update, Ben and I traced this a little farther today, but
unfortunately we both have to run before we could finish. However, I
think it's safe to say that the bug will meet an early end, sometime
this weekend. :-)

-K
Received on Sat Oct 21 14:36:27 2006

This is an archived mail posted to the Subversion Dev mailing list.