[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#4250) HDB core dumps on ADD/MOD/DEL
Full_Name: Quanah Gibson-Mount
Version: 2.3.13
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (171.66.155.86)
I'm having a problem with OpenLDAP core dumping on my production servers when
any type of change is pushed through to the directory server.
backtrace under gdb:
(gdb) cont
Continuing.
[New LWP 3 ]
[New Thread 7 (LWP 3)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 7 (LWP 3)]
0xfe38b9f8 in hdb_idl_search (ids=0x618e8d0, id=367730) at idl.c:128
128 idl.c: No such file or directory.
in idl.c
(gdb) bt
#0 0xfe38b9f8 in hdb_idl_search (ids=0x618e8d0, id=367730) at idl.c:128
#1 0xfe38bbcc in bdb_idl_delete (ids=0x618e8d0, id=367730) at idl.c:229
#2 0xfe38c360 in hdb_idl_cache_del_id (bdb=0x17ea08, db=0xfe38b96c,
key=0x220a78, id=367730) at idl.c:446
#3 0xfe389c98 in hdb_dn2id_delete (op=0x9ea338, txn=0xfe38b96c, eip=0xb79068,
e=0x61aa980) at dn2id.c:624
#4 0xfe37d01c in hdb_delete (op=0x9ea338, rs=0x5c001af0) at delete.c:357
#5 0x000801c0 in overlay_op_walk (op=0x9ea338, rs=0x5c001af0, which=32768,
oi=0xfe3a77dc, on=0x8000) at backover.c:499
#6 0x000802b4 in over_op_func (op=0x9ea338, rs=0x5c001af0, which=op_delete) at
backover.c:551
#7 0x00045330 in fe_op_delete (op=0x9ea338, rs=0x5c001af0) at delete.c:183
#8 0x00044e94 in do_delete (op=0x9ea338, rs=0x5c001af0) at delete.c:91
#9 0x0002f800 in connection_operation (ctx=0xf51c0, arg_v=0x9ea338) at
connection.c:1307
#10 0xff34d0e4 in ldap_int_thread_pool_wrapper (xpool=0x105848) at tpool.c:481
#11 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
#12 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
(gdb) thread 1
[Switching to thread 1 (LWP 1 )]#0 0xfef1b638 in _lwp_mutex_unlock ()
from /usr/lib/libc.so.1
(gdb) bt
#0 0xfef1b638 in _lwp_mutex_unlock () from /usr/lib/libc.so.1
#1 0xfe293b14 in __db_pthread_mutex_unlock () from /usr/local/lib/libdb-4.2.so
#2 0xfe30fe48 in __lock_get () from /usr/local/lib/libdb-4.2.so
#3 0xfe2f4988 in __db_lget () from /usr/local/lib/libdb-4.2.so
#4 0xfe2a2860 in __bam_search () from /usr/local/lib/libdb-4.2.so
#5 0xfe2991d8 in __bam_c_search () from /usr/local/lib/libdb-4.2.so
#6 0xfe296784 in __bam_c_get () from /usr/local/lib/libdb-4.2.so
#7 0xfe2e9218 in __db_c_get () from /usr/local/lib/libdb-4.2.so
#8 0xfe2f2558 in __db_c_get_pp () from /usr/local/lib/libdb-4.2.so
#9 0xfe38a4e8 in hdb_dn2idl_internal (cx=0x5c7412c8) at dn2id.c:933
#10 0xfe38a88c in hdb_dn2idl_internal (cx=0x5c7412c8) at dn2id.c:1041
#11 0xfe38ab48 in hdb_dn2idl (op=0x0, e=0x5c741560, ids=0x5c781588,
stack=0xe38e88) at dn2id.c:1112
#12 0xfe384028 in search_candidates (op=0x3d00e8, rs=0x5c801af0, e=0x5c741560,
locker=193, ids=0x5c781588, scopes=0x5c741588) at search.c:1129
#13 0xfe3838c4 in hdb_search (op=0x3d00e8, rs=0x5c801af0) at search.c:594
#14 0x000801c0 in overlay_op_walk (op=0x3d00e8, rs=0x5c801af0, which=32768,
oi=0xfe3a77dc, on=0x8000) at backover.c:499
#15 0x000802b4 in over_op_func (op=0x3d00e8, rs=0x5c801af0, which=op_search) at
backover.c:551
#16 0x00031bb8 in fe_op_search (op=0x3d00e8, rs=0x5c801af0) at search.c:355
#17 0x000314bc in do_search (op=0x3d00e8, rs=0x5c801af0) at search.c:217
#18 0x0002f800 in connection_operation (ctx=0xf51c0, arg_v=0x3d00e8) at
connection.c:1307
#19 0xff34d0e4 in ldap_int_thread_pool_wrapper (xpool=0x105848) at tpool.c:481
#20 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
#21 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
(gdb) thread 2
[Switching to thread 2 (Thread 6 (LWP 1))]#0 0xfef1b638 in _lwp_mutex_unlock ()
from /usr/lib/libc.so.1
(gdb) bt
#0 0xfef1b638 in _lwp_mutex_unlock () from /usr/lib/libc.so.1
#1 0xfe293b14 in __db_pthread_mutex_unlock () from /usr/local/lib/libdb-4.2.so
#2 0xfe30fe48 in __lock_get () from /usr/local/lib/libdb-4.2.so
#3 0xfe2f4988 in __db_lget () from /usr/local/lib/libdb-4.2.so
#4 0xfe2a2860 in __bam_search () from /usr/local/lib/libdb-4.2.so
#5 0xfe2991d8 in __bam_c_search () from /usr/local/lib/libdb-4.2.so
#6 0xfe296784 in __bam_c_get () from /usr/local/lib/libdb-4.2.so
#7 0xfe2e9218 in __db_c_get () from /usr/local/lib/libdb-4.2.so
#8 0xfe2f2558 in __db_c_get_pp () from /usr/local/lib/libdb-4.2.so
#9 0xfe38a4e8 in hdb_dn2idl_internal (cx=0x5c7412c8) at dn2id.c:933
#10 0xfe38a88c in hdb_dn2idl_internal (cx=0x5c7412c8) at dn2id.c:1041
#11 0xfe38ab48 in hdb_dn2idl (op=0x0, e=0x5c741560, ids=0x5c781588,
stack=0xe38e88) at dn2id.c:1112
#12 0xfe384028 in search_candidates (op=0x3d00e8, rs=0x5c801af0, e=0x5c741560,
locker=193, ids=0x5c781588, scopes=0x5c741588) at search.c:1129
#13 0xfe3838c4 in hdb_search (op=0x3d00e8, rs=0x5c801af0) at search.c:594
#14 0x000801c0 in overlay_op_walk (op=0x3d00e8, rs=0x5c801af0, which=32768,
oi=0xfe3a77dc, on=0x8000) at backover.c:499
#15 0x000802b4 in over_op_func (op=0x3d00e8, rs=0x5c801af0, which=op_search) at
backover.c:551
#16 0x00031bb8 in fe_op_search (op=0x3d00e8, rs=0x5c801af0) at search.c:355
#17 0x000314bc in do_search (op=0x3d00e8, rs=0x5c801af0) at search.c:217
#18 0x0002f800 in connection_operation (ctx=0xf51c0, arg_v=0x3d00e8) at
connection.c:1307
#19 0xff34d0e4 in ldap_int_thread_pool_wrapper (xpool=0x105848) at tpool.c:481
#20 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
#21 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
(gdb) thread 3
[Switching to thread 3 (LWP 3 )]#0 0xfe38b9f8 in hdb_idl_search
(ids=0x618e8d0, id=367730) at idl.c:128
128 in idl.c
(gdb) bt
#0 0xfe38b9f8 in hdb_idl_search (ids=0x618e8d0, id=367730) at idl.c:128
#1 0xfe38bbcc in bdb_idl_delete (ids=0x618e8d0, id=367730) at idl.c:229
#2 0xfe38c360 in hdb_idl_cache_del_id (bdb=0x17ea08, db=0xfe38b96c,
key=0x220a78, id=367730) at idl.c:446
#3 0xfe389c98 in hdb_dn2id_delete (op=0x9ea338, txn=0xfe38b96c, eip=0xb79068,
e=0x61aa980) at dn2id.c:624
#4 0xfe37d01c in hdb_delete (op=0x9ea338, rs=0x5c001af0) at delete.c:357
#5 0x000801c0 in overlay_op_walk (op=0x9ea338, rs=0x5c001af0, which=32768,
oi=0xfe3a77dc, on=0x8000) at backover.c:499
#6 0x000802b4 in over_op_func (op=0x9ea338, rs=0x5c001af0, which=op_delete) at
backover.c:551
#7 0x00045330 in fe_op_delete (op=0x9ea338, rs=0x5c001af0) at delete.c:183
#8 0x00044e94 in do_delete (op=0x9ea338, rs=0x5c001af0) at delete.c:91
#9 0x0002f800 in connection_operation (ctx=0xf51c0, arg_v=0x9ea338) at
connection.c:1307
#10 0xff34d0e4 in ldap_int_thread_pool_wrapper (xpool=0x105848) at tpool.c:481
#11 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
#12 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
(gdb) thread 4
[Switching to thread 4 (Thread 7 (LWP 3))]#0 0xfe38b9f8 in hdb_idl_search
(ids=0x618e8d0, id=367730) at idl.c:128
128 in idl.c
(gdb) bt
#0 0xfe38b9f8 in hdb_idl_search (ids=0x618e8d0, id=367730) at idl.c:128
#1 0xfe38bbcc in bdb_idl_delete (ids=0x618e8d0, id=367730) at idl.c:229
#2 0xfe38c360 in hdb_idl_cache_del_id (bdb=0x17ea08, db=0xfe38b96c,
key=0x220a78, id=367730) at idl.c:446
#3 0xfe389c98 in hdb_dn2id_delete (op=0x9ea338, txn=0xfe38b96c, eip=0xb79068,
e=0x61aa980) at dn2id.c:624
#4 0xfe37d01c in hdb_delete (op=0x9ea338, rs=0x5c001af0) at delete.c:357
#5 0x000801c0 in overlay_op_walk (op=0x9ea338, rs=0x5c001af0, which=32768,
oi=0xfe3a77dc, on=0x8000) at backover.c:499
#6 0x000802b4 in over_op_func (op=0x9ea338, rs=0x5c001af0, which=op_delete) at
backover.c:551
#7 0x00045330 in fe_op_delete (op=0x9ea338, rs=0x5c001af0) at delete.c:183
#8 0x00044e94 in do_delete (op=0x9ea338, rs=0x5c001af0) at delete.c:91
#9 0x0002f800 in connection_operation (ctx=0xf51c0, arg_v=0x9ea338) at
connection.c:1307
#10 0xff34d0e4 in ldap_int_thread_pool_wrapper (xpool=0x105848) at tpool.c:481
#11 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
#12 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
(gdb) thread 5
[Switching to thread 5 (LWP 4 )]#0 0xfef1d394 in _poll () from
/usr/lib/libc.so.1
(gdb) bt
#0 0xfef1d394 in _poll () from /usr/lib/libc.so.1
#1 0xfeecd9c8 in select_large_fdset () from /usr/lib/libc.so.1
#2 0x0002c6b4 in slapd_daemon_task (ptr=0x1) at daemon.c:1848
#3 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
#4 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
(gdb) thread 6
[Switching to thread 6 (LWP 2 )]#0 0xfef1eb58 in _signotifywait ()
from /usr/lib/libc.so.1
(gdb) bt
#0 0xfef1eb58 in _signotifywait () from /usr/lib/libc.so.1
#1 0xfedfe958 in _dynamiclwps () from /usr/lib/libthread.so.1
#2 0xfee01c34 in thr_yield () from /usr/lib/libthread.so.1
(gdb) thread 7
[Switching to thread 7 (Thread 1 )]#0 0xfedfda10 in _reap_wait_cancel ()
from /usr/lib/libthread.so.1
(gdb) bt
#0 0xfedfda10 in _reap_wait_cancel () from /usr/lib/libthread.so.1
#1 0xfedffca4 in _thrp_join () from /usr/lib/libthread.so.1
#2 0x0002d40c in slapd_daemon () at daemon.c:2219
#3 0x0001e038 in main (argc=3, argv=0xffbef764) at main.c:786
(gdb) thread 8
[Switching to thread 8 (Thread 2 (LWP 2))]#0 0xfef1eb58 in _signotifywait ()
from /usr/lib/libc.so.1
(gdb) bt
#0 0xfef1eb58 in _signotifywait () from /usr/lib/libc.so.1
#1 0xfedfe958 in _dynamiclwps () from /usr/lib/libthread.so.1
#2 0xfee01c34 in thr_yield () from /usr/lib/libthread.so.1
(gdb) thread 9
[Switching to thread 9 (Thread 3 )]#0 0xfedfd9b8 in _reap_wait () from
/usr/lib/libthread.so.1
(gdb) bt
#0 0xfedfd9b8 in _reap_wait () from /usr/lib/libthread.so.1
#1 0xfedfd718 in _reaper () from /usr/lib/libthread.so.1
#2 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
#3 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
(gdb) thread 10
[Switching to thread 10 (Thread 5 (LWP 4))]#0 0xfef1d394 in _poll () from
/usr/lib/libc.so.1
(gdb) bt
#0 0xfef1d394 in _poll () from /usr/lib/libc.so.1
#1 0xfeecd9c8 in select_large_fdset () from /usr/lib/libc.so.1
#2 0x0002c6b4 in slapd_daemon_task (ptr=0x1) at daemon.c:1848
#3 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
#4 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
(gdb) thread 11
[Switching to thread 11 (Thread 8 )]#0 0xfedf81ac in cond_wait () from
/usr/lib/libthread.so.1
(gdb) bt
#0 0xfedf81ac in cond_wait () from /usr/lib/libthread.so.1
#1 0xfedf8078 in pthread_cond_wait () from /usr/lib/libthread.so.1
#2 0xff34d2a0 in ldap_int_thread_pool_wrapper (xpool=0x105848) at tpool.c:469
#3 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1
#4 0xfee0b024 in _thread_start () from /usr/lib/libthread.so.1