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

Re: slapd with wrong url causes "Error detected by libpthread: Invalid mutex"



--On Wednesday, May 30, 2007 8:40 PM -0400 Jean-Luc Wasmer <jl+openldap@lists.wasmer.ca> wrote:

Hi,

When slapd is started with an invalid url, it looks like it's trying to
destroy an uninitialized mutex:

Program received signal SIGABRT, Aborted.
0xbb87dfff in kill () from /usr/lib/libc.so.12
(gdb) backtrace
# 0  0xbb87dfff in kill () from /usr/lib/libc.so.12
# 1  0xbb94adb3 in pthread__errorfunc () from /usr/lib/libpthread.so.0
# 2  0xbb9491fe in pthread_mutex_destroy () from /usr/lib/libpthread.so.0
# 3  0xbbbbd1eb in ldap_pvt_thread_mutex_destroy () from
# /usr/pkg/lib/libldap_r-2.3.so.0 4  0x0805a756 in ?? ()
# 5  0x0819e4fc in __ps_strings ()
# 6  0x00000002 in ?? ()
# 7  0xbfbfe8e8 in ?? ()
# 8  0x0805a713 in ?? ()
# 9  0x00000286 in ?? ()
# 10 0x00000001 in ?? ()
# 11 0xbfbfe958 in ?? ()
# 12 0x0804e2c1 in ?? ()
# 13 0xbfa00000 in ?? ()
# 14 0xbb92cdd0 in tzname () from /usr/lib/libc.so.12
# 15 0x00000002 in ?? ()
# 16 0x00000000 in ?? ()


This was triggered by calling slapd with an invalid URLlist argument: -h 'ldap://127.0.0.1 ldaps://<external ip>' with no interfaces on the system configured with <external ip>

Please file an ITS at:

<http://www.openldap.org/its/> which is the proper method for reporting bugs.

Thanks,
Quanah

--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration