Subject: lib/20860: slapd/SA trouble
To: None <>
From: Frank Kardel <>
List: netbsd-bugs
Date: 03/23/2003 18:43:41
>Number:         20860
>Category:       lib
>Synopsis:       slapd on netbsd-current cores
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 23 09:44:00 PST 2003
>Originator:     Frank Kardel
>Release:        NetBSD 1.6Q
System: NetBSD pip 1.6Q NetBSD 1.6Q (PIP) #0: Sat Mar 22 17:54:06 MET 2003 kardel@pip:/src/NetBSD/netbsd/sys/arch/i386/compile/PIP i386
Architecture: i386
Machine: i386
	A newly built slapd (openldap 2.0.27nb2 - native pthread) crashes when processing the first request with following stack:
Program terminated with signal 10, Bus error.
#0  0x481dceeb in _setcontext_u_xmm () from /usr/lib/
(gdb) where
#0  0x481dceeb in _setcontext_u_xmm () from /usr/lib/
#1  0x481d5e62 in pthread__locked_switch () from /usr/lib/

	The last words of the debug mode were:
	slapd startup: initiated.
	slapd starting
	daemon: added 6r
	daemon: select: listen=6 active_threads=0 tvp=NULL
	daemon: activity on 1 descriptors
	daemon: new connection on 7
	daemon: conn=0 fd=7 connection from IP= (IP= accepted.
	daemon: added 7r
	daemon: activity on:
	Bus error (core dumped)
	Exit 138

	SA related ?
	Anything i overlooked ?

        compile openldap with native pthreads on current as of 20030322. configure, start, query => crash.