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

Re: (ITS#6201) Double free in syncprov



hyc@symas.com wrote:
> Alister.Winfield@sns.bskyb.com wrote:
>> Failed in the same way....
>
> Can you please provide the full text of the error message that glibc printed?

Also, can you reproduce this with a slapd compiled without optimization? The 
stack trace is missing some information here.
>>
>>
>> (gdb) bt
>> #0  0x00007f2b031b1ed5 in *__GI_raise (sig=3D<value optimized out>) at ../n=
>> ptl/sysdeps/unix/sysv/linux/raise.c:64
>> #1  0x00007f2b031b33f3 in *__GI_abort () at abort.c:88
>> #2  0x00007f2b031ee3a8 in __libc_message (do_abort=3D2, fmt=3D0x7f2b0329d5f=
>> 0 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linu=
>> x/libc_fatal.c:170
>> #3  0x00007f2b031f3948 in malloc_printerr (action=3D2, str=3D0x7f2b0329d6d8=
>>    "double free or corruption (out)", ptr=3D<value optimized out>) at malloc.=
>> c:5891
>> #4  0x00007f2b031f5a56 in *__GI___libc_free (mem=3D0x7f2b03293fa0) at mallo=
>> c.c:3626
>> #5  0x00007f2b00e01821 in syncprov_search_cleanup (op=3D0x7f279a205010, rs=
>> =3D0x40efbd30) at ../../../../openldap-re24/servers/slapd/overlays/syncprov=
>> .c:2024
>> #6  0x0000000000441c50 in ?? ()
>> #7  0x000000000044478b in ?? ()
>> #8  0x00000000004453f5 in slap_send_ldap_result ()
>> #9  0x00007f2b00e04733 in syncprov_op_search (op=3D0x7f279a205010, rs=3D0x4=
>> 0efbd30) at ../../../../openldap-re24/servers/slapd/overlays/syncprov.c:243=
>> 7
>> #10 0x0000000000496bda in overlay_op_walk ()
>> #11 0x00000000004976d3 in ?? ()
>> #12 0x000000000049555b in ?? ()
>> #13 0x0000000000496bda in overlay_op_walk ()
>> #14 0x00000000004976d3 in ?? ()
>> #15 0x0000000000434bb1 in fe_op_search ()
>> #16 0x00000000004353ac in do_search ()
>> #17 0x000000000043292f in ?? ()
>> #18 0x00007f2b058b07e0 in ldap_int_thread_pool_wrapper (xpool=3D<value opti=
>> mized out>) at ../../../openldap-re24/libraries/libldap_r/tpool.c:685
>> #19 0x00007f2b04ebdfc7 in start_thread (arg=3D<value optimized out>) at pth=
>> read_create.c:297
>> #20 0x00007f2b0324f5ad in clone () from /usr/lib/debug/libc.so.6
>> #21 0x0000000000000000 in ?? ()
>> (gdb)


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