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

Re: (ITS#6005) error free() function ber_memfree_x, file memory.c



rupreht@rupreht.ru wrote:
> Full_Name: NIkolay Ermolovich
> Version: 2.4.15
> OS: FreeBSD 7.0
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (217.76.176.1)
>
>
> ldapsearch: @(#) $OpenLDAP: ldapsearch 2.4.15 (Mar  6 2009 18:48:23) $
>          root@serv1.olympus.ru:/usr/ports/net/openldap24-client/work/openldap-2.4.15/clients/tools
>          (LDAP library: OpenLDAP 20415)
>
> ----------
>
> ...
> bm_top: 0xdeaddada
> 0x00000017 0x48402160 -f- 24 ber_memfree 399
> bm_top: 0xdeaddada
> 0x00000011 0x48425040 -f- 236 ber_memfree 163
> bm_top: 0xdeaddada
> 0x00000010 0x484020d0 -f- 21 ber_memfree 142
> bm_top: 0xdeaddada
> 0x00000001 0x48403040 -f- 27 ber_memfree 115
> bm_top: 0x00000000
> Assertion failed: (mh->bm_top == LBER_MEM_JUNK), function ber_memfree_x, file
> memory.c, line 137.

Please note:
/*
  * LDAP_MEMORY_DEBUG should only be enabled for the purposes of
  * debugging memory management within OpenLDAP libraries and slapd.
  *
  * It should only be enabled by an experienced developer as it causes
  * the inclusion of numerous assert()'s, many of which may be triggered
  * by a prefectly valid program.  If LDAP_MEMORY_DEBUG & 2 is true,
  * that includes asserts known to break both slapd and current clients.
  *

This is not a bug, this ITS will be closed.
-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/