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

Re: (ITS#7715) SIGBUS when mdb is configured with writemap



Željko NejaÅ¡miÄ? wrote:
> Here you go http://hastebin.com/fukecejuje.tex

Interestingly enough, I got the same result as you on an initial compile/run 
of slapd. Unfortunately, with optimization, the backtrace wasn't all that 
useful. Recompiling back-mdb with just -g, no optimization, gets a different 
result though - slapd is fine, and ldclt dies with a heap corruption or 
double-free.

ldclt -h localhost -p 9011 -D cn=manager,dc=example,dc=com -w secret -b 
ou=people,dc=example,dc=com -e 
object=xx.txt,rdn='uid:[A=INCRNNOLOOP(200000;999999;6)]' -e add,commoncounter 
-I 68
ldclt version 4.23
ldclt[10503]: Starting at Wed Oct  2 04:13:03 2013

*** glibc detected *** ldclt: double free or corruption (fasttop): 
0x00007fa448003270 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7fa463f8cb96]
/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2(ldap_pvt_tls_set_option+0x1eb)[0x7fa46472e06b]
/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2(ldap_int_tls_config+0x54)[0x7fa46472e234]
/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2(+0x2b8b7)[0x7fa4647238b7]
/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2(ldap_int_initialize+0x104)[0x7fa464723e84]
/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2(ldap_create+0x29)[0x7fa4647074f9]
/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2(ldap_initialize+0x2f)[0x7fa464707a7f]
ldclt(+0x664a)[0x7fa4656fb64a]
ldclt(+0x74a4)[0x7fa4656fc4a4]
ldclt(+0x9d48)[0x7fa4656fed48]
ldclt(threadMain+0x329)[0x7fa4657085d9]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7fa4642d4e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fa464001cbd]

All subsequent runs give the same result. Still looking into this; getting 
away from the Ubuntu bundled libldap will probably help.
>
>
> Zeljko
>
>
> On Wed, Oct 2, 2013 at 11:34 AM, <hyc@symas.com <mailto:hyc@symas.com>> wrote:
>
>     nejasmicz@gmail.com <mailto:nejasmicz@gmail.com> wrote:
>      > Full_Name: Željko Nejašmi&#263;
>      > Version: latest git pull of OPENLDAP_REL_ENG_2_4
>      > OS: RedHat 6.3
>      > URL:
>      > Submission from: (NULL) (213.147.123.33)
>      >
>
>      > Hardware underneath all of that is:
>      >      1) HP ProLiant BL460c Gen8, dual Xeon E5-2658 with attached
>     storage blade
>      > D2200sb with SSD raid, 256GB RAM -- RedHat 6.3 tests
>      >      2) Intel server blade S2400BB, dual Xeon E5-2403, 48GB RAM --
>     Ubuntu 12.04
>      > tests
>      >
>      > If anything more is required to assist you in troubleshooting, please
>     let me
>      > know.
>
>     Can you also post the gdb output for "bt 5 full" ?
>      >
>      >
>      > Zeljko
>      >
>      >
>
>
>     --
>         -- Howard Chu
>         CTO, Symas Corp. http://www.symas.com
>         Director, Highland Sun http://highlandsun.com/hyc/
>         Chief Architect, OpenLDAP http://www.openldap.org/project/
>
>
>


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