[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#6129) slapd seg faults on shut-down
michael@stroeder.com wrote:
> Full_Name: Michael Ströder
> Version: RE24
> OS: openSUSE Linux 11.1
> URL:
> Submission from: (NULL) (84.163.72.172)
This appears to be a Cyrus/SASL issue.
In particular, your trace of thread 1 shows that slapd is shutting down the
SASL library and SASL is trying to tear down libldap. Inside slapd, the Cyrus
SASL library should never be touching libldap. As such, you should check your
SASL configuration, you probably have a plugin enabled that shouldn't be.
> gdb output:
>
> [New Thread 3953]
> Core was generated by `/opt/openldap-RE24/libexec/slapd -d 0 -h
> ldap://0.0.0.0:2072 -n slapd-ffg2009-2'.
> Program terminated with signal 11, Segmentation fault.
> #0 0xb799eef5 in free () from /lib/libc.so.6
> (gdb) info threads
> 2 Thread 3953 0xffffe430 in __kernel_vsyscall ()
> * 1 Thread 3951 0xb799eef5 in free () from /lib/libc.so.6
> (gdb) thread apply all bt
>
> Thread 2 (Thread 3953):
> #0 0xffffe430 in __kernel_vsyscall ()
> #1 0xb7ce37b9 in __lll_lock_wait () from /lib/libpthread.so.0
> #2 0xb7cdece0 in _L_lock_286 () from /lib/libpthread.so.0
> #3 0xb7cde705 in pthread_mutex_lock () from /lib/libpthread.so.0
> #4 0xb7a387c9 in dl_iterate_phdr () from /lib/libc.so.6
> #5 0xb7a3ada5 in _Unwind_Find_FDE () from /lib/libc.so.6
> #6 0xb544764d in ?? () from /lib/libgcc_s.so.1
> #7 0xb5447e88 in ?? () from /lib/libgcc_s.so.1
> #8 0xb544818e in _Unwind_ForcedUnwind () from /lib/libgcc_s.so.1
> #9 0xb7ce5aa6 in _Unwind_ForcedUnwind () from /lib/libpthread.so.0
> #10 0xb7ce3491 in __pthread_unwind () from /lib/libpthread.so.0
> #11 0xb7cdd5c0 in pthread_exit () from /lib/libpthread.so.0
> #12 0xb7ed1593 in ldap_pvt_thread_exit (retval=0x0) at thr_posix.c:186
> #13 0xb7ed0574 in ldap_int_thread_pool_wrapper (xpool=0x81d2fc8) at tpool.c:691
> #14 0xb7cdd1b5 in start_thread () from /lib/libpthread.so.0
> #15 0xb7a023be in clone () from /lib/libc.so.6
>
> Thread 1 (Thread 3951):
> #0 0xb799eef5 in free () from /lib/libc.so.6
> #1 0xb7ebad4d in ber_memfree_x (p=0x7fffffff, ctx=0x0) at memory.c:152
> #2 0xb77af997 in ?? () from /usr/lib/libldap-2.4.so.2
> #3 0xb7791a68 in ?? () from /usr/lib/libldap-2.4.so.2
> #4 0xb77c0210 in _fini () from /usr/lib/libldap-2.4.so.2
> #5 0xb7f28aff in ?? () from /lib/ld-linux.so.2
> #6 0xb7f29447 in ?? () from /lib/ld-linux.so.2
> #7 0xb7cb8cf4 in ?? () from /lib/libdl.so.2
> #8 0xb7f239f6 in ?? () from /lib/ld-linux.so.2
> #9 0xb7cb911c in ?? () from /lib/libdl.so.2
> #10 0xb7cb8d2a in dlclose () from /lib/libdl.so.2
> #11 0xb7ccf411 in _sasl_done_with_plugins () from /usr/lib/libsasl2.so.2
> #12 0xb7cc7c90 in sasl_done () from /usr/lib/libsasl2.so.2
> #13 0x080d9fb7 in slap_sasl_destroy ()
> #14 0x080aed1b in slap_destroy ()
> #15 0x08059fe2 in main ()
> (gdb) bt full
> #0 0xb799eef5 in free () from /lib/libc.so.6
> No symbol table info available.
> #1 0xb7ebad4d in ber_memfree_x (p=0x7fffffff, ctx=0x0) at memory.c:152
> __PRETTY_FUNCTION__ = "ber_memfree_x"
> #2 0xb77af997 in ?? () from /usr/lib/libldap-2.4.so.2
> No symbol table info available.
> #3 0xb7791a68 in ?? () from /usr/lib/libldap-2.4.so.2
> No symbol table info available.
> #4 0xb77c0210 in _fini () from /usr/lib/libldap-2.4.so.2
> No symbol table info available.
> #5 0xb7f28aff in ?? () from /lib/ld-linux.so.2
> No symbol table info available.
> #6 0xb7f29447 in ?? () from /lib/ld-linux.so.2
> No symbol table info available.
> #7 0xb7cb8cf4 in ?? () from /lib/libdl.so.2
> No symbol table info available.
> #8 0xb7f239f6 in ?? () from /lib/ld-linux.so.2
> No symbol table info available.
> #9 0xb7cb911c in ?? () from /lib/libdl.so.2
> No symbol table info available.
> #10 0xb7cb8d2a in dlclose () from /lib/libdl.so.2
> No symbol table info available.
> #11 0xb7ccf411 in _sasl_done_with_plugins () from /usr/lib/libsasl2.so.2
> No symbol table info available.
> #12 0xb7cc7c90 in sasl_done () from /usr/lib/libsasl2.so.2
> No symbol table info available.
> #13 0x080d9fb7 in slap_sasl_destroy ()
> No symbol table info available.
> #14 0x080aed1b in slap_destroy ()
> No symbol table info available.
> #15 0x08059fe2 in main ()
> No symbol table info available.
>
>
>
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/