[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-30 21:46:43 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.
>
> Hmm. Gonna have to do some more work, I guess. Anybody else seeing this?

Yes, I am seeing this the last couple of days, and also have
reproduction recipes, as it sounds like you do. I hadn't started
debugging it yet (too many burners, not enough cooks :-) ); it sounds
like you've already traced it a bit further than I had.

> This has me stuck...
>
> Off to bed now.

Any more news since you went to bed? :-)

(Ben and I were planning to debug this today, so we've love to know
any leads you have...)

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

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.