[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
mutexes and solaris threads (ITS#1221)
Full_Name: Emile Heitor
Version: 2.0.11
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (62.4.3.20)
Hi list,
I'm compiling OpenLDAP on Solaris 8 with Sun Workwhop 6 compiler. Apart some
warnings, everything compiles fine and the whole thing works. A problem occurs
when slapd is a bit loaded, here's what happens :
Assertion failed: !FD_ISSET( s, &slap_daemon.sd_actives), file daemon.c, line
921
Core dumped
Here is the failure without LDAP_DEBUG :
Assertion failed: c->c_struct_state == SLAP_C_UNUSED, file connection.c, line
401
Here is how slapd is compiled
CC=/opt/SUNWspro/bin/cc CFLAGS="-D_REENTRANT -xarch=v9a -xchip=ultra2 -mt
-xprefetch" ./configure --enable-passwd --disable-shell --disable-ldbm
--disable-sql --disable-ldap --disable-dnssrv --prefix=/usr/local/openldap2
Here is the linking
libresolv.so.2 => /usr/lib/sparcv9/libresolv.so.2
libgen.so.1 => /usr/lib/sparcv9/libgen.so.1
libnsl.so.1 => /usr/lib/sparcv9/libnsl.so.1
libsocket.so.1 => /usr/lib/sparcv9/libsocket.so.1
libdl.so.1 => /usr/lib/sparcv9/libdl.so.1
librt.so.1 => /usr/lib/sparcv9/librt.so.1
libthread.so.1 => /usr/lib/sparcv9/libthread.so.1
libc.so.1 => /usr/lib/sparcv9/libc.so.1
libmp.so.2 => /usr/lib/sparcv9/libmp.so.2
libaio.so.1 => /usr/lib/sparcv9/libaio.so.1
/usr/platform/SUNW,UltraSPARC-IIi-cEngine/lib/sparcv9/libc_psr.so.1
As you can see, I'm using native 64 bits solaris threads.
Sorry for not adding gdb backtrace but I didn't found the gdb equiv. on Sun
Workshop yet ;)
Any hints ?