Bug#393907: [Pkg-openldap-devel] Bug#393907: slapadd: ad.c:163: slap_bv2ad: Assertion `*ad == ((void *)0)' failed

Frederik Himpe fhimpe at telenet.be
Wed Oct 18 20:04:25 CEST 2006


On Wed, Oct 18, 2006 at 08:39:12AM -0700, Quanah Gibson-Mount wrote:
> 
> 
> --On Wednesday, October 18, 2006 12:52 PM +0200 Frederik Himpe 
> <fhimpe at telenet.be> wrote:
> 
> >Subject: slapadd: ad.c:163: slap_bv2ad: Assertion `*ad == ((void *)0)'
> >failed Package: slapd
> >Version: 2.3.27-1
> >Severity: important
> >
> >*** Please type your report below this line ***
> >When running slapcat or slapadd, I always get this error:
> > slapadd: ad.c:163: slap_bv2ad: Assertion `*ad == ((void *)0)' failed
> >
> >I tried purging slapd and reinstalling with an empty database, and the
> >postinstall slapadd script too fails with this error. Im running slapd in
> >Xen with libc6-xen.
> 
> What are your exact options to slapadd?
> I assume slapd isn't running when you run the slapadd command.
> 
> How large is the LDIF file?  Do you have a DB_CONFIG file?

This last failure happend when reinstalling slapd without /var/lib/ldap.
So /var/lib/ldap is created when installing slapd and contains default
DB_CONFIG file. The ldif file which is being added, is the small ldif file
generated by the slapd Debian configuration wizard (contains basic
structure and rootdn and password). I guess something is broken on my
system, but I'm not sure what, and this assertion does not really help in
finding this out...

-- 
Frederik




More information about the Pkg-openldap-devel mailing list