Subject: slapd: Error detected by libpthread: Invalid mutex
To: None <netbsd-users@netbsd.org, pkgsrc-users@netbsd.org>
From: Jean-Luc Wasmer <jl+netbsd@lists.wasmer.ca>
List: netbsd-users
Date: 05/27/2007 12:05:22
Hi,

Is this another misuse of the pthread library (if so, is there a way 
around it) or a NetBSD pthread implementation bug?


I'm running:

NetBSD  4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC) #0: Sun May 20 20:52:56 PDT 
2007  
builds@wb33:/home/builds/ab/netbsd-4/i386/200705200002Z-obj/home/builds/ab/netbsd-4/src/sys/arch/i386/compile/GENERIC 
i386

openldap-2.3.32 for pkgsrc's HEAD

Thanks,

Jean-Luc


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 ?? ()