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

RE: malloc error using slapadd



This is a known bug (ITS#2587) that is fixed in OpenLDAP 2.1.22. You should
upgrade.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Gary LaVoy

> Hello there,
>
> So when I import my data into openldap 2.1.21, i periodicly
> get this error:
>
>
> *** malloc[11906]: Deallocation of a pointer not malloced:
> 0x1c13d0; This could
> be a double free(), or free() called with the middle of an
> allocated block; Try
> setting environment variable MallocHelp to see tools to help debug
>
> It's always on the same records. The only thing these records
> have in common is
> the telephonenumber attribute looks like this:
>
> telephonenumber: -
>
> If I remove that attribute or 'fix' it, then I don't get the error.
>
> I realize that the data is not very friendly, but we have
> many thousands of
> records like this and it's not easy to keep it from happenning.
>
> Also, I am not sure if this is a "bug" that should or has
> been reported since I
> am not a 'developer' of openldap, just a user.
>
> So if this is useful to anyone, or if there is something I
> can do to keep it
> from occuring, please let me know.
>
> Cheers,
>
> Gary LaVoy
> Apple Computer, Inc.
>
>