[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#8411) segfault on slapd 2.4.44
OS: Linux rpi 4.1.13+ #826 PREEMPT Fri Nov 13 20:13:22 GMT 2015 armv6l GNU/Linux
(gdb) info shared
>From To Syms Read Shared Object Library
0xb6f344b8 0xb6f35a10 Yes (*) /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
0xb6f16c04 0xb6f1b0bc Yes (*) /usr/lib/arm-linux-gnueabihf/libltdl.so.7
0xb6f0a928 0xb6f0b640 Yes (*) /lib/arm-linux-gnueabihf/libdl.so.2
0xb6de0dd0 0xb6ee4b74 Yes (*) /usr/lib/arm-linux-gnueabihf/libdb-5.1.so
0xb6da6558 0xb6db7504 Yes (*) /usr/lib/arm-linux-gnueabihf/libsasl2.so.2
0xb6d5f610 0xb6d90bac Yes (*) /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
0xb6c35e80 0xb6d071c0 Yes (*)
/usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
0xb6bb8718 0xb6bbd1e8 Yes (*) /lib/arm-linux-gnueabihf/libcrypt.so.1
0xb6ba6444 0xb6bb273c Yes (*) /lib/arm-linux-gnueabihf/libresolv.so.2
0xb6b88eb0 0xb6b9691c Yes (*) /lib/arm-linux-gnueabihf/libpthread.so.0
0xb6a6a4a0 0xb6b583b0 Yes (*) /lib/arm-linux-gnueabihf/libc.so.6
0xb6f3e7c0 0xb6f57408 Yes (*) /lib/ld-linux-armhf.so.3
0xb6a38b38 0xb6a46f7c Yes (*) /lib/arm-linux-gnueabihf/libz.so.1
0xb6a1e450 0xb6a2e24c Yes (*) /lib/arm-linux-gnueabihf/libgcc_s.so.1
0xb6f25268 0xb6f298e0 Yes (*)
/usr/lib/arm-linux-gnueabihf/sasl2/libntlm.so
0xb69ced8c 0xb69d0ae0 Yes (*)
/usr/lib/arm-linux-gnueabihf/sasl2/libplain.so
0xb69c107c 0xb69c3bbc Yes (*)
/usr/lib/arm-linux-gnueabihf/sasl2/libsasldb.so
0xb69ad400 0xb69b59e4 Yes (*)
/usr/lib/arm-linux-gnueabihf/sasl2/libdigestmd5.so
0xb699fe04 0xb69a2004 Yes (*)
/usr/lib/arm-linux-gnueabihf/sasl2/libcrammd5.so
0xb6993d5c 0xb69957f0 Yes (*)
/usr/lib/arm-linux-gnueabihf/sasl2/libanonymous.so
0xb6987d50 0xb6989974 Yes (*)
/usr/lib/arm-linux-gnueabihf/sasl2/liblogin.so
0xb6979e60 0xb697d8c0 Yes /usr/lib/ldap/slapd-sha2.so
(*): Shared library is missing debugging information.
(gdb) bt
#0 0xb6f350a0 in memcpy () from /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
#1 0xb6c3f344 in SHA256_Update ()
from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
#2 0xb697a69c in chk_ssha256 (scheme=0x19e27d4, passwd=0xa11caa20,
cred=0x1a53468,
text=0xa11cab98) at slapd-sha2.c:256
#3 0x00121f58 in lutil_passwd ()
#4 0x0006ec98 in slap_passwd_check ()
#5 0x000e4db8 in bdb_bind ()
#6 0x0005bbdc in fe_op_bind ()
#7 0x0005b568 in do_bind ()
#8 0x000403b8 in ?? ()
Cannot access memory at address 0x0
#9 0x000403b8 in ?? ()
Cannot access memory at address 0x0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
On Sat, Apr 23, 2016 at 6:51 PM, Howard Chu <hyc@symas.com> wrote:
> mwtzzz@gmail.com wrote:
>>
>> Full_Name: Michael Martinez
>> Version: 2.4.44
>> OS: ubuntu wheezy
>
>
> There is no such OS.
>
>> URL:
>> Submission from: (NULL) (99.113.34.53)
>>
>>
>> After upgrading from openldap-2.4.31 to 2.4.44 I'm getting segfaults
>> anytime I
>> run 'passwd', attempt to ssh into the box, etc.
>>
>> this is on raspberry pi (debian wheezy).
>>
>> Previously running the latest package 2.4.31. Then installed
>> openldap-2.4.44
>> from source, did slapcat from the old version and slapadd to import it to
>> the
>> new version. Loads fine and can run simple commands like "id" for ldap
>> users.
>> But get core dump with password changes, ssh from other boxes, etc.
>> A%A[Thread debugging using libthread_db enabled]
>> Using host libthread_db library
>> "/lib/arm-linux-gnueabihf/libthread_db.so.1".
>> Core was generated by `/usr/local/openldap/libexec/slapd -f
>> /etc/ldap/slapd.conf
>> -F /ec/ldap/slapd.d'.
>> Program terminated with signal 11, Segmentation fault.
>> #0 0xb6f350a0 in memcpy () from
>> /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
>> (gdb)
>
>
> Please provide the full stack trace.
>
> Also output from "info shared".
>
> --
> -- Howard Chu
> CTO, Symas Corp. http://www.symas.com
> Director, Highland Sun http://highlandsun.com/hyc/
> Chief Architect, OpenLDAP http://www.openldap.org/project/
--
---
Michael Martinez
http://www.michael--martinez.com