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

Re: (ITS#8821) memory leak during slap_send_ldap_result()



valdemar.pavesi@nokia.com wrote:
> Full_Name: VALDEMAR PAVESI
> Version: 2.4.40
> OS: 3.10.0-514.26.2.el7.x86_64
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (131.228.48.70)
> 
> 
> hello,
> 
> during add an delete there is a memory leak.

This could be ITS#8031 or ITS#8690. 2.4.40 is nearly 4 years old. Please use a 
newer release and report back if you're still seeing the problem.

> got 1000 times memory leaked:
> 
> 
> 0x00007fc8000f8f70 libc-2.17.so __malloc()+0
> 0x00007fc8017cf2b5 liblber-2.4.so ber_memalloc_x()+53
> 0x00007fc8017cf5de liblber-2.4.so ber_dupbv_x()+62
> 0x00007fc801ea1c23 slapd
> 0x00007fc801ea2172 slapd attrs_dup()+66
> 0x00007fc801ea551b slapd entry_dup2()+75
> 0x00007fc7fc6f1403 syncprov-2.4.so
> 0x00007fc7fc6f20c2 syncprov-2.4.so
> 0x00007fc801ea91f3 slapd
> 0x00007fc801ea97b0 slapd
> 0x00007fc801eaa342 slapd slap_send_ldap_result()+114
> 0x00007fc801f1807d slapd bdb_modify()+1325
> 0x00007fc801f07926 slapd overlay_op_walk()+134
> 0x00007fc801f07a94 slapd
> 0x00007fc801efe7bf slapd
> 0x00007fc801f008eb slapd
> 0x00007fc801e999a1 slapd
> 0x00007fc8019e9fba libldap_r-2.4.so
> 0x00007fc800caddc5 libpthread-2.17.so start_thread()+197
> 0x00007fc80017076d libc-2.17.so __clone()+109
> 
> +++++++++++++++++++++++++++++++++

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/