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

bus fault under load



With 1.1.4, as well as OPENLDAP_RELENG_1.1, I get a bus fault when stressing
out the server with 15 clients requesting object after object after object
(one match per query):

uname -a:
SunOS www4.cyberus.ca 5.7 Generic sun4m sparc SUNW,SPARCstation-5

isainfo -v:
32-bit sparc applications

GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.7"...
Core was generated by `/usr/local/libexec/slapd -d 1'.
Program terminated with signal 9, Killed.
Reading symbols from /usr/lib/libresolv.so.2...done.
Reading symbols from /usr/lib/libgen.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libpthread.so.1...done.
Reading symbols from /usr/lib/librt.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/lib/libaio.so.1...done.
Reading symbols from /usr/lib/libthread.so.1...done.
#0  0x1e42c in connection_activity (conn=0xa1888) at connection.c:212
212             pthread_detach( arg->co_op->o_tid );
(gdb) where
#0  0x1e42c in connection_activity (conn=0xa1888) at connection.c:212
#1  0x1d8dc in slapd_daemon (port=0x79800) at daemon.c:365
(gdb) list
207                     active_threads++;
208                     pthread_mutex_unlock( &active_threads_mutex );
209             }
210
211     #if !defined(HAVE_PTHREADS_D4)
212             pthread_detach( arg->co_op->o_tid );
213     #else
214             pthread_detach( &arg->co_op->o_tid );
215     #endif
216

from manpage of pthread_detach:
     int pthread_detach(pthread_t thread);

from sys/types.h:
typedef unsigned int    pthread_t;      /* = thread_t in thread.h */

--
Roy Hooper
Sr. Systems Administrator
Cyberus Online Inc.
(613) 233-0068