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

Re: Assert failed in schema_init.c (ITS#1270)



On Thu, Aug 02, 2001 at 06:19:52AM +0000, josh@traffion.com wrote:

> Version: 2.0.11

> Im running a custom schema using numericStrings, and all my entries import fine
> (~60k entries). However, when I do an ldapsearch, slapd dumps core with:
> 
> Assertion failed: newval->bv_val < p, file schema_init.c, line 3221, pid e43401
> Abort (core dumped)

> Perhaps its a problem with my schema...
> 
> Any ideas ?

http://www.openldap.org/its/index.cgi/Incoming?id=1254;expression=assertion;user=guest;selectid=1254

The assertions are wrong. Note they're comparing memory addresses on two 
chunks of memory that were allocated separately. Remove/comment out the 
assertions and recompile. Or grab OPENDLAP_REL_ENG_2 from CVS, as it has 
completely rewritten the function with the bad assertions, and soon should
be released as 2.0.12.

-Peter