[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Leak in syncprov_matchops()?
- To: OpenLDAP Devel <openldap-devel@openldap.org>
- Subject: Leak in syncprov_matchops()?
- From: Pierangelo Masarati <ando@sys-net.it>
- Date: Sat, 22 Nov 2008 18:07:24 +0100
- User-agent: Thunderbird 2.0.0.17 (X11/20081001)
==30484== 1,371 bytes in 43 blocks are definitely lost in loss record 12
of 13
==30484== at 0x40053C0: malloc (vg_replace_malloc.c:149)
==30484== by 0x8258EFB: ber_memalloc_x (memory.c:226)
==30484== by 0x80A743C: ch_malloc (ch_malloc.c:54)
==30484== by 0x81747E5: bdb_entry_get (id2entry.c:421)
==30484== by 0x8104832: overlay_entry_get_ov (backover.c:365)
==30484== by 0x81FF53A: syncprov_matchops (syncprov.c:1151)
==30484== by 0x820175E: syncprov_op_mod (syncprov.c:1870)
==30484== by 0x8104F47: overlay_op_walk (backover.c:660)
==30484== by 0x810517C: over_op_func (backover.c:722)
==30484== by 0x81052AA: over_op_delete (backover.c:774)
==30484== by 0x80FA708: syncrepl_entry (syncrepl.c:2283)
==30484== by 0x80F5AC5: do_syncrep2 (syncrepl.c:877)
==30484== by 0x80F72C2: do_syncrepl (syncrepl.c:1301)
==30484== by 0x8086439: connection_read_thread (connection.c:1218)
==30484== by 0x8222E50: ldap_int_thread_pool_wrapper (tpool.c:663)
==30484== by 0xDEB46A: start_thread (in /lib/libpthread-2.5.so)
==30484== by 0x423FDBD: clone (in /lib/libc-2.5.so)
This was the result of a concurrency test while testing MMR. Not sure
about how to reproduce it, but I've seen lots of deadlock resolutions,
so probably there's some exception we're not handling fine with respect
to memory allocation (HEAD as of today).
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Fax: +39 0382 476497
Email: ando@sys-net.it
-----------------------------------