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

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

Kinda OT, but what is the status on implementing a float type to the
core schema ? 
Is the proposal making its way through IETF drafts ? 
I have seen some hacks using a bogus OID ending in .59, but I'd
obviously prefer to use an 'official' schema element.


Joshua Reich.

-----Original Message-----
From: Peter W [mailto:peterw@usa.net]
Sent: Friday, 3 August 2001 12:59 AM
To: Josh Reich
Cc: openldap-its@OpenLDAP.org
Subject: 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
> 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 ?


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
be released as 2.0.12.