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

Re: slapadd segfaults with sub,approx indexing on UTF-8 data (ITS#1215)



On Mon, Jul 16, 2001 at 09:46:16AM +0200, Pierangelo Masarati wrote:
> libraries/libldbm/ldbm.c
> 
> void ldbm_shutdown_env(DB_ENV *env)
> {
>         env->close( env, 0 );
> }
> 
> is called with a NULL env.  My question is: is this correct
> (at least in TOOL mode) or is something causing the env to
> be corrupted right before shutting down the backend? Notice
> that by skipping this call when env is NULL makes all the 
> tests succeeed regularly.

I see the same thing as you, ITS#1239 was from you it seems.
I use Sleepycat 3.2.9 and get error in test 001 as well. However
if I install first and use slapadd with my own slapd.conf and
my own LDIF file, all works well. I checked that the env wasn't
NULL.

So I think the next step would be to check what test-001 really
does, and try to do the same thing on the installation.

Can you try the same and dig further? I don't think this has
anything to do with the UTF8 code either.

Stig