[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: back-bdb core dump (ITS#3358)



On Friday 08 October 2004 13:08, rhafer@suse.de wrote:

> Well I was now able to get it crashing with "cachesize 1" as well. I just
> used a bit different test case. I have now two clients, one is just adding
> a 10000 entry LDIF and the other is adding an removing 10 entry in a loop.
> After a few interation of the loop the server crashed. (BTW it seems that
> on SMP machines the crash is triggered faster)

What sees to happen is that another thread calls bdb_cache_lru_add, which 
cleans out the EntryInfo structure, before bdb_cache_delete_cleanup is 
called. I was however not yet able to come up with a reasonable fix for that.

-- 
Ralf