GNU gdb (GDB) Fedora (7.3.50.20110722-1.fc16) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-redhat-linux-gnu". For bug reporting instructions, please see: . (gdb) attach 1502 Attaching to process 1502 Reading symbols from /usr/local/libexec/slapd...done. Reading symbols from /lib/libuuid.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libuuid.so.1 Reading symbols from /usr/local/BerkeleyDB.4.8/lib/libdb-4.8.so...done. Loaded symbols for /usr/local/BerkeleyDB.4.8/lib/libdb-4.8.so Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". [New Thread 0x8bf20b70 (LWP 2463)] [New Thread 0x8cc23b70 (LWP 2458)] [New Thread 0x8d125b70 (LWP 2457)] [New Thread 0x8d728b70 (LWP 2455)] [New Thread 0x8e42bb70 (LWP 2454)] [New Thread 0x8e92db70 (LWP 2452)] [New Thread 0x8ed2eb70 (LWP 2451)] [New Thread 0x8faf2b70 (LWP 2316)] [New Thread 0x910f7b70 (LWP 2307)] [New Thread 0x914f8b70 (LWP 2306)] [New Thread 0x921fbb70 (LWP 1880)] [New Thread 0x939ffb70 (LWP 1543)] [New Thread 0x93fffb70 (LWP 1506)] [New Thread 0x9455db70 (LWP 1505)] Loaded symbols for /lib/libpthread.so.0 Reading symbols from /usr/lib/libsasl2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libsasl2.so.2 Reading symbols from /usr/lib/libssl.so.10...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.10 Reading symbols from /lib/libcrypto.so.10...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.10 Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /lib/libwrap.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libwrap.so.0 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libgssapi_krb5.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libgssapi_krb5.so.2 Reading symbols from /lib/libkrb5.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libkrb5.so.3 Reading symbols from /lib/libcom_err.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libcom_err.so.2 Reading symbols from /lib/libk5crypto.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libk5crypto.so.3 Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /lib/libfreebl3.so...(no debugging symbols found)...done. Loaded symbols for /lib/libfreebl3.so Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libkrb5support.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libkrb5support.so.0 Reading symbols from /lib/libkeyutils.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libkeyutils.so.1 Reading symbols from /lib/libselinux.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libselinux.so.1 Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_dns.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libnss_myhostname.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_myhostname.so.2 Reading symbols from /usr/lib/sasl2/libcrammd5.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/libcrammd5.so Reading symbols from /usr/lib/sasl2/libanonymous.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/libanonymous.so Reading symbols from /usr/lib/sasl2/libgssapiv2.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/libgssapiv2.so Reading symbols from /usr/lib/sasl2/libdigestmd5.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/libdigestmd5.so Reading symbols from /usr/lib/sasl2/liblogin.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/liblogin.so Reading symbols from /usr/lib/sasl2/libsasldb.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/libsasldb.so Reading symbols from /lib/libdb-5.2.so...(no debugging symbols found)...done. Loaded symbols for /lib/libdb-5.2.so Reading symbols from /usr/lib/sasl2/libplain.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/libplain.so 0x00d3a424 in __kernel_vsyscall () Missing separate debuginfos, use: debuginfo-install cyrus-sasl-gssapi-2.1.23-25.fc16.i686 cyrus-sasl-lib-2.1.23-25.fc16.i686 cyrus-sasl-md5-2.1.23-25.fc16.i686 cyrus-sasl-plain-2.1.23-25.fc16.i686 glibc-2.14.90-4.i686 keyutils-libs-1.5.2-1.fc16.i686 krb5-libs-1.9.1-9.fc17.i686 libcom_err-1.41.14-2.fc15.i686 libdb-5.2.28-2.fc16.i686 libselinux-2.1.0-1.fc17.i686 libuuid-2.20-0.1.fc17.i686 nss-myhostname-0.3-1.fc16.i686 nss-softokn-freebl-3.12.10-4.fc16.i686 openssl-1.0.0d-7.fc16.i686 tcp_wrappers-libs-7.6-65.fc17.i686 zlib-1.2.5-4.fc16.i686 (gdb) bt full #0 0x00d3a424 in __kernel_vsyscall () No symbol table info available. #1 0x477a8d95 in pthread_join () from /lib/libpthread.so.0 No symbol table info available. #2 0x0816e38b in ldap_pvt_thread_join (thread=2488654704, thread_return=0x0) at thr_posix.c:197 No locals. #3 0x0806b7cf in slapd_daemon () at daemon.c:2922 i = 0 rc = 0 listener_tid = 0x946a570 #4 0x0804e603 in main (argc=3, argv=0xbfe18d64) at main.c:983 i = 3 no_detach = 0 rc = -12 urls = 0x93d3008 "ldap://" username = 0x0 groupname = 0x0 sandbox = 0x0 syslogUser = 160 g_argc = 3 g_argv = 0xbfe18d64 configfile = 0x0 configdir = 0x0 serverName = 0xbfe19f47 "slapd" serverMode = 1 scp = 0x0 scp_entry = 0x0 debug_unknowns = 0x0 syslog_unknowns = 0x0 serverNamePrefix = 0x81a20c4 "" l = 1221099641 slapd_pid_file_unlink = 1 slapd_args_file_unlink = 1 firstopt = 0 __PRETTY_FUNCTION__ = "main" (gdb) thread apply all bt Thread 15 (Thread 0x9455db70 (LWP 1505)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x476e7156 in epoll_wait () from /lib/libc.so.6 #2 0x0806a849 in slapd_daemon_task (ptr=0x0) at daemon.c:2528 #3 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #4 0x476e674e in clone () from /lib/libc.so.6 Thread 14 (Thread 0x93fffb70 (LWP 1506)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477ab80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0062e993 in __db_pthread_mutex_lock (env=0x94684d0, mutex=65677) at ../dist/../mutex/mut_pthread.c:318 #3 0x006c9158 in __lock_get_internal (lt=0x94687b8, sh_locker=0x94fb6044, flags=0, obj=0x94a1e70, lock_mode=DB_LOCK_READ, timeout=0, lock=0x93ffeab0) at ../dist/../lock/lock.c:953 #4 0x006c9737 in __lock_get (env=0x94684d0, locker=0x94fb6044, flags=0, obj=0x94a1e70, lock_mode=DB_LOCK_READ, lock=0x93ffeab0) at ../dist/../lock/lock.c:459 #5 0x006f78bf in __db_lget (dbc=0x94a1de8, action=0, pgno=4, mode=DB_LOCK_READ, lkflags=0, lockp=0x93ffeab0) at ../dist/../db/db_meta.c:1203 #6 0x0064e514 in __bam_search (dbc=0x94a1de8, root_pgno=1, key=0x93ffede4, flags=1409, slevel=1, recnop=0x0, exactp=0x93ffebc4) at ../dist/../btree/bt_search.c:702 #7 0x006376ee in __bamc_search (dbc=0x94a1de8, root_pgno=0, key=0x93ffede4, flags=27, exactp=0x93ffebc4) at ../dist/../btree/bt_cursor.c:2785 #8 0x006398fc in __bamc_get (dbc=0x94a1de8, key=0x93ffede4, data=0x93ffed48, flags=27, pgnop=0x93ffec5c) at ../dist/../btree/bt_cursor.c:1088 #9 0x006e78fd in __dbc_iget (dbc=0x93457fc0, key=0x93ffede4, data=0x93ffed48, flags=27) at ../dist/../db/db_cam.c:934 #10 0x006e82c5 in __dbc_get (dbc=0x93457fc0, key=0x93ffede4, data=0x93ffed48, flags=27) at ../dist/../db/db_cam.c:755 #11 0x006f38d0 in __dbc_get_pp (dbc=0x93457fc0, key=0x93ffede4, data=0x93ffed48, flags=27) at ../dist/../db/db_iface.c:2201 #12 0x08133ba3 in bdb_idl_delete_key (be=0x941b608, db=0x94697b0, tid=0x8b11b7c8, key=0x93ffede4, id=20994) at idl.c:949 #13 0x0812c86e in bdb_dn2id_delete (op=0x8b10c7f8, txn=0x8b11b7c8, eip=0x93a026c8, e=0x94e98b1c) at dn2id.c:222 #14 0x0812b1f2 in bdb_delete (op=0x8b10c7f8, rs=0x93fff064) at delete.c:402 #15 0x0808d57f in fe_op_delete (op=0x8b10c7f8, rs=0x93fff064) at delete.c:174 #16 0x0808d2dd in do_delete (op=0x8b10c7f8, rs=0x93fff064) at delete.c:95 #17 0x0806e606 in connection_operation (ctx=0x93fff138, arg_v=0x8b10c7f8) at connection.c:1138 #18 0x0806eb27 in connection_read_thread (ctx=0x93fff138, argv=0x15) at connection.c:1274 #19 0x0816d399 in ldap_int_thread_pool_wrapper (xpool=0x93ea438) at tpool.c:685 #20 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #21 0x476e674e in clone () from /lib/libc.so.6 Thread 13 (Thread 0x939ffb70 (LWP 1543)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477ab80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0816e420 in ldap_pvt_thread_cond_wait (cond=0x93ea454, mutex=0x93ea43c) at thr_posix.c:277 #3 0x0816d311 in ldap_int_thread_pool_wrapper (xpool=0x93ea438) at tpool.c:672 #4 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #5 0x476e674e in clone () from /lib/libc.so.6 Thread 12 (Thread 0x921fbb70 (LWP 1880)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477ab80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0816e420 in ldap_pvt_thread_cond_wait (cond=0x93ea454, mutex=0x93ea43c) at thr_posix.c:277 #3 0x0816d311 in ldap_int_thread_pool_wrapper (xpool=0x93ea438) at tpool.c:672 #4 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #5 0x476e674e in clone () from /lib/libc.so.6 Thread 11 (Thread 0x914f8b70 (LWP 2306)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477ab80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0062e993 in __db_pthread_mutex_lock (env=0x94684d0, mutex=65776) at ../dist/../mutex/mut_pthread.c:318 #3 0x006c9158 in __lock_get_internal (lt=0x94687b8, sh_locker=0x94fb755c, flags=0, obj=0x93a02e30, lock_mode=DB_LOCK_READ, timeout=0, lock=0x913f69f0) at ../dist/../lock/lock.c:953 #4 0x006c9737 in __lock_get (env=0x94684d0, locker=0x94fb755c, flags=0, obj=0x93a02e30, lock_mode=DB_LOCK_READ, lock=0x913f69f0) at ../dist/../lock/lock.c:459 #5 0x006f78bf in __db_lget (dbc=0x93a02da8, action=0, pgno=4, mode=DB_LOCK_READ, lkflags=0, lockp=0x913f69f0) at ../dist/../db/db_meta.c:1203 #6 0x0064e514 in __bam_search (dbc=0x93a02da8, root_pgno=1, key=0x91436d24, flags=1409, slevel=1, recnop=0x0, exactp=0x913f6b04) at ../dist/../btree/bt_search.c:702 #7 0x006376ee in __bamc_search (dbc=0x93a02da8, root_pgno=0, key=0x91436d24, flags=27, exactp=0x913f6b04) at ../dist/../btree/bt_cursor.c:2785 #8 0x006398fc in __bamc_get (dbc=0x93a02da8, key=0x91436d24, data=0x91436c8c, flags=27, pgnop=0x913f6b9c) at ../dist/../btree/bt_cursor.c:1088 #9 0x006e78fd in __dbc_iget (dbc=0x9469ce8, key=0x91436d24, data=0x91436c8c, flags=27) at ../dist/../db/db_cam.c:934 #10 0x006e82c5 in __dbc_get (dbc=0x9469ce8, key=0x91436d24, data=0x91436c8c, flags=2075) at ../dist/../db/db_cam.c:755 #11 0x006f38d0 in __dbc_get_pp (dbc=0x9469ce8, key=0x91436d24, data=0x91436c8c, flags=2075) at ../dist/../db/db_iface.c:2201 #12 0x081329ae in bdb_idl_fetch_key (be=0x941b608, db=0x94697b0, txn=0x934568c8, key=0x91436d24, ids=0x91476f00, saved_cursor=0x0, get_flag=0) at idl.c:605 #13 0x0812d210 in bdb_dn2idl (op=0x8b100b80, txn=0x934568c8, ndn=0x91436ee4, ei=0x93a026c8, ids=0x91476f00, stack=0x8faf3008) at dn2id.c:376 #14 0x08101fe8 in search_candidates (op=0x8b100b80, rs=0x914f8064, e=0x91436ed8, txn=0x934568c8, ids=0x91476f00, scopes=0x91436f00) at search.c:1257 #15 0x08100826 in bdb_search (op=0x8b100b80, rs=0x914f8064) at search.c:616 #16 0x08071f34 in fe_op_search (op=0x8b100b80, rs=0x914f8064) at search.c:402 #17 0x080718a6 in do_search (op=0x8b100b80, rs=0x914f8064) at search.c:247 #18 0x0806e606 in connection_operation (ctx=0x914f8138, arg_v=0x8b100b80) at connection.c:1138 #19 0x0806eb27 in connection_read_thread (ctx=0x914f8138, argv=0xe) at connection.c:1274 #20 0x0816d399 in ldap_int_thread_pool_wrapper (xpool=0x93ea438) at tpool.c:685 #21 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #22 0x476e674e in clone () from /lib/libc.so.6 Thread 10 (Thread 0x910f7b70 (LWP 2307)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477ab80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0816e420 in ldap_pvt_thread_cond_wait (cond=0x93ea454, mutex=0x93ea43c) at thr_posix.c:277 ---Type to continue, or q to quit--- #3 0x0816d311 in ldap_int_thread_pool_wrapper (xpool=0x93ea438) at tpool.c:672 #4 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #5 0x476e674e in clone () from /lib/libc.so.6 Thread 9 (Thread 0x8faf2b70 (LWP 2316)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477ab80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0816e420 in ldap_pvt_thread_cond_wait (cond=0x93ea454, mutex=0x93ea43c) at thr_posix.c:277 #3 0x0816d311 in ldap_int_thread_pool_wrapper (xpool=0x93ea438) at tpool.c:672 #4 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #5 0x476e674e in clone () from /lib/libc.so.6 Thread 8 (Thread 0x8ed2eb70 (LWP 2451)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477ab80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0816e420 in ldap_pvt_thread_cond_wait (cond=0x93ea454, mutex=0x93ea43c) at thr_posix.c:277 #3 0x0816d311 in ldap_int_thread_pool_wrapper (xpool=0x93ea438) at tpool.c:672 #4 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #5 0x476e674e in clone () from /lib/libc.so.6 Thread 7 (Thread 0x8e92db70 (LWP 2452)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477ab80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0816e420 in ldap_pvt_thread_cond_wait (cond=0x93ea454, mutex=0x93ea43c) at thr_posix.c:277 #3 0x0816d311 in ldap_int_thread_pool_wrapper (xpool=0x93ea438) at tpool.c:672 #4 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #5 0x476e674e in clone () from /lib/libc.so.6 Thread 6 (Thread 0x8e42bb70 (LWP 2454)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477ab80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0816e420 in ldap_pvt_thread_cond_wait (cond=0x93ea454, mutex=0x93ea43c) at thr_posix.c:277 #3 0x0816d311 in ldap_int_thread_pool_wrapper (xpool=0x93ea438) at tpool.c:672 #4 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #5 0x476e674e in clone () from /lib/libc.so.6 Thread 5 (Thread 0x8d728b70 (LWP 2455)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477ab80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0816e420 in ldap_pvt_thread_cond_wait (cond=0x93ea454, mutex=0x93ea43c) at thr_posix.c:277 #3 0x0816d311 in ldap_int_thread_pool_wrapper (xpool=0x93ea438) at tpool.c:672 #4 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #5 0x476e674e in clone () from /lib/libc.so.6 Thread 4 (Thread 0x8d125b70 (LWP 2457)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477ab80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0816e420 in ldap_pvt_thread_cond_wait (cond=0x93ea454, mutex=0x93ea43c) at thr_posix.c:277 #3 0x0816d311 in ldap_int_thread_pool_wrapper (xpool=0x93ea438) at tpool.c:672 #4 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #5 0x476e674e in clone () from /lib/libc.so.6 Thread 3 (Thread 0x8cc23b70 (LWP 2458)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477ab80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0816e420 in ldap_pvt_thread_cond_wait (cond=0x93ea454, mutex=0x93ea43c) at thr_posix.c:277 #3 0x0816d311 in ldap_int_thread_pool_wrapper (xpool=0x93ea438) at tpool.c:672 #4 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #5 0x476e674e in clone () from /lib/libc.so.6 Thread 2 (Thread 0x8bf20b70 (LWP 2463)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477ab80c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x0816e420 in ldap_pvt_thread_cond_wait (cond=0x93ea454, mutex=0x93ea43c) at thr_posix.c:277 #3 0x0816d311 in ldap_int_thread_pool_wrapper (xpool=0x93ea438) at tpool.c:672 #4 0x477a7c8e in start_thread () from /lib/libpthread.so.0 #5 0x476e674e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb77f4770 (LWP 1502)): #0 0x00d3a424 in __kernel_vsyscall () #1 0x477a8d95 in pthread_join () from /lib/libpthread.so.0 #2 0x0816e38b in ldap_pvt_thread_join (thread=2488654704, thread_return=0x0) at thr_posix.c:197 #3 0x0806b7cf in slapd_daemon () at daemon.c:2922 #4 0x0804e603 in main (argc=3, argv=0xbfe18d64) at main.c:983 (gdb)