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

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



Željko NejaÅ¡miÄ? wrote:
> On Wed, Oct 2, 2013 at 6:43 PM, <hyc@symas.com <mailto:hyc@symas.com>> wrote:

>     Without any other clues, this feels like ASLR is messing with us but that's
>     just a wild guess. I can no longer reproduce the SIGBUS in slapd regardless of
>     compile options, while ldclt itself keeps dying. If you can find some more
>     reliable way to reproduce the issue that would help. Perhaps using the client
>     in test060.
>
>
> I ran the whole test suite for mdb, and as far as I can see, every test
> returned OK.
>
> Found a new way to reproduce the SIGBUS using ldapadd on Ubuntu 12.04 firing
> to openldap on RH 6.3:
> ldapadd -h 172.17.101.150 -p 389 -D "cn=admin,dc=test" -w test -f test.ldif --
> ldif file is the same as the previous ldclt command. Doubt it matters, but the
> ldif file is 1M adds.

Can you provide your slapd config and this LDIF?
>
> On the RH box:
> - compiled openldap with -g -O0 and previously used flags
> gdb `find /root/openldap/ -type d -printf '-d %p '` --args
> /opt/openldap/libexec/slapd -h "ldap:/// ldapi:///" -F
> /opt/openldap/etc/openldap/slapd.d -g openldap -u openldap -d 0
>
> gdb output:
> bt -- http://hastebin.com/hefikekaxi.sh
> bt 10 full -- http://hastebin.com/vudocosuka.sh

Can you also provide the gdb output for
   print *env

>
> I am begging to doubt that the problem could be on my end as the bt seems to
> point to schema problems (although, I haven't analyzed it in great detail yet).
>
>
> 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/