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

Re: (ITS#4032) syncprov locks up slapd




--On Friday, September 16, 2005 1:01 PM -0700 Quanah Gibson-Mount 
<quanah@stanford.edu> wrote:

>
>
> --On Friday, September 16, 2005 12:59 PM -0700 Quanah Gibson-Mount
> <quanah@stanford.edu> wrote:
>
>>
>>
>> --On Thursday, September 15, 2005 6:57 PM +0000 openldap-its@OpenLDAP.org
>> wrote:
>>
>> Now it is locking up on MODs as well.
>
> Oh, and we are having the changed searchbase issue again too.  Whee.
>
> Sep 16 09:36:03 ldap-test0.Stanford.EDU slapd[28860]: [ID 167594
> local4.debug] conn=4 op=3 SEARCH RESULT tag=101 err=16640 nentries=0
> text=search base has changed
> Sep 16 09:36:11 ldap-test0.Stanford.EDU slapd[28860]: [ID 167594
> local4.debug] conn=3 op=3 SEARCH RESULT tag=101 err=16640 nentries=0
> text=search base has changed

Then slapd core dumps:

#0  syncprov_qplay (op=0x306250, on=0x1b0f00, so=0x318aa0) at syncprov.c:731
731                     opc.sndn = sr->s_ndn;


(gdb) bt
#0  syncprov_qplay (op=0x306250, on=0x1b0f00, so=0x318aa0) at syncprov.c:731
#1  0x000db88c in syncprov_search_response (op=0x306250, rs=0x5d3ffd58) at 
syncprov.c:1772
#2  0x00033e14 in send_ldap_response (op=0x306250, rs=0x5d3ffd58) at 
result.c:311
#3  0x00034214 in slap_send_ldap_result (op=0x306250, rs=0x5d3ffd58) at 
result.c:582
#4  0x0007dff4 in bdb_search (op=0x306250, rs=0x5d3ffd58) at search.c:923
#5  0x00072adc in overlay_op_walk (op=0x306250, rs=0x5d3ffd58, which=32768, 
oi=0x159734, on=0x8000) at backover.c:488
#6  0x00072bd0 in over_op_func (op=0x306250, rs=0x5d3ffd58, 
which=op_search) at backover.c:540
#7  0x00028c64 in fe_op_search (op=0x306250, rs=0x5d3ffd58) at search.c:349
#8  0x00028568 in do_search (op=0x306250, rs=0x5d3ffd58) at search.c:219
#9  0x00026ba4 in connection_operation (ctx=0x0, arg_v=0x306250) at 
connection.c:1061
#10 0xff33cd70 in ldap_int_thread_pool_wrapper (xpool=0x1909e0) at 
tpool.c:487
#11 0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1
#12 0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1


(gdb) thread 1
[Switching to thread 1 (process 329273    )]#0  syncprov_qplay 
(op=0x306250, on=0x1b0f00, so=0x318aa0) at syncprov.c:731
731                     opc.sndn = sr->s_ndn;
(gdb) bt
#0  syncprov_qplay (op=0x306250, on=0x1b0f00, so=0x318aa0) at syncprov.c:731
#1  0x000db88c in syncprov_search_response (op=0x306250, rs=0x5d3ffd58) at 
syncprov.c:1772
#2  0x00033e14 in send_ldap_response (op=0x306250, rs=0x5d3ffd58) at 
result.c:311
#3  0x00034214 in slap_send_ldap_result (op=0x306250, rs=0x5d3ffd58) at 
result.c:582
#4  0x0007dff4 in bdb_search (op=0x306250, rs=0x5d3ffd58) at search.c:923
#5  0x00072adc in overlay_op_walk (op=0x306250, rs=0x5d3ffd58, which=32768, 
oi=0x159734, on=0x8000) at backover.c:488
#6  0x00072bd0 in over_op_func (op=0x306250, rs=0x5d3ffd58, 
which=op_search) at backover.c:540
#7  0x00028c64 in fe_op_search (op=0x306250, rs=0x5d3ffd58) at search.c:349
#8  0x00028568 in do_search (op=0x306250, rs=0x5d3ffd58) at search.c:219
#9  0x00026ba4 in connection_operation (ctx=0x0, arg_v=0x306250) at 
connection.c:1061
#10 0xff33cd70 in ldap_int_thread_pool_wrapper (xpool=0x1909e0) at 
tpool.c:487
#11 0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1
#12 0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1


(gdb) thread 2
[Switching to thread 2 (process 394809    )]#0  0xfed65a04 in __lwp_park () 
from /usr/lib/lwp/libthread.so.1
(gdb) bt
#0  0xfed65a04 in __lwp_park () from /usr/lib/lwp/libthread.so.1
#1  0xfed62ca4 in cond_wait_queue () from /usr/lib/lwp/libthread.so.1
#2  0xfed63418 in cond_wait () from /usr/lib/lwp/libthread.so.1
#3  0xfed63454 in pthread_cond_wait () from /usr/lib/lwp/libthread.so.1
#4  0x00033608 in send_ldap_ber (conn=0x250730, ber=0x5cb3f5a8) at 
result.c:205
#5  0x00034f40 in slap_send_search_entry (op=0x31a068, rs=0x5cbffd58) at 
result.c:1121
#6  0x0007e138 in bdb_search (op=0x31a068, rs=0x5cbffd58) at search.c:873
#7  0x00072adc in overlay_op_walk (op=0x31a068, rs=0x5cbffd58, which=32768, 
oi=0x159734, on=0x8000) at backover.c:488
#8  0x00072bd0 in over_op_func (op=0x31a068, rs=0x5cbffd58, 
which=op_search) at backover.c:540
#9  0x00028c64 in fe_op_search (op=0x31a068, rs=0x5cbffd58) at search.c:349
#10 0x00028568 in do_search (op=0x31a068, rs=0x5cbffd58) at search.c:219
#11 0x00026ba4 in connection_operation (ctx=0x0, arg_v=0x31a068) at 
connection.c:1061
#12 0xff33cd70 in ldap_int_thread_pool_wrapper (xpool=0x1909e0) at 
tpool.c:487
#13 0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1
#14 0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1


[Switching to thread 3 (process 460345    )]#0  0xff2a2d9c in 
__memp_sync_int (dbenv=0x22e498, dbmfp=0x0, trickle_max=0, 
op=DB_SYNC_CACHE, wrotep=0x0)
    at ../mp/mp_sync.c:237
237     ../mp/mp_sync.c: No such file or directory.
        in ../mp/mp_sync.c
(gdb) bt
#0  0xff2a2d9c in __memp_sync_int (dbenv=0x22e498, dbmfp=0x0, 
trickle_max=0, op=DB_SYNC_CACHE, wrotep=0x0) at ../mp/mp_sync.c:237
#1  0xff2a29dc in __memp_sync (dbenv=0x22e498, lsnp=0x0) at 
../mp/mp_sync.c:99
#2  0xff2aaa14 in __txn_checkpoint (dbenv=0x22e498, kbytes=1024, minutes=5, 
flags=0) at ../txn/txn.c:1406
#3  0xff2aa704 in __txn_checkpoint_pp (dbenv=0x22e498, kbytes=1024, 
minutes=5, flags=0) at ../txn/txn.c:1288
#4  0x000796b4 in bdb_modify (op=0x5c3fefd8, rs=0x5c3ffd58) at modify.c:580
#5  0x000da568 in syncprov_checkpoint (op=0x264938, rs=0x5c3ffd58, 
on=0x1b0f00) at syncprov.c:1185
#6  0x000dad1c in syncprov_op_response (op=0x264938, rs=0x5c3ffd58) at 
syncprov.c:1422
#7  0x00033e14 in send_ldap_response (op=0x264938, rs=0x5c3ffd58) at 
result.c:311
#8  0x00034214 in slap_send_ldap_result (op=0x264938, rs=0x5c3ffd58) at 
result.c:582
#9  0x000795e4 in bdb_modify (op=0x264938, rs=0x5c3ffd58) at modify.c:575
#10 0x00072adc in overlay_op_walk (op=0x264938, rs=0x5c3ffd58, which=32768, 
oi=0x159734, on=0x8000) at backover.c:488
#11 0x00072bd0 in over_op_func (op=0x264938, rs=0x5c3ffd58, 
which=op_modify) at backover.c:540
#12 0x0003a950 in fe_op_modify (op=0x264938, rs=0x5c3ffd58) at modify.c:417
#13 0x0003a158 in do_modify (op=0x264938, rs=0x5c3ffd58) at modify.c:200
#14 0x00026ba4 in connection_operation (ctx=0xf9400, arg_v=0x264938) at 
connection.c:1061
#15 0xff33cd70 in ldap_int_thread_pool_wrapper (xpool=0x1909e0) at 
tpool.c:487
#16 0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1
#17 0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1


(gdb) thread 4
[Switching to thread 4 (process 525881    )]#0  0xfed65a04 in __lwp_park () 
from /usr/lib/lwp/libthread.so.1
(gdb) bt
#0  0xfed65a04 in __lwp_park () from /usr/lib/lwp/libthread.so.1
#1  0xfed62ca4 in cond_wait_queue () from /usr/lib/lwp/libthread.so.1
#2  0xfed63418 in cond_wait () from /usr/lib/lwp/libthread.so.1
#3  0xfed63454 in pthread_cond_wait () from /usr/lib/lwp/libthread.so.1
#4  0xff33cf2c in ldap_int_thread_pool_wrapper (xpool=0x1909e0) at 
tpool.c:475
#5  0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1
#6  0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1


(gdb) thread 5
[Switching to thread 5 (process 67129    )]#0  0xfee1f340 in _lwp_wait () 
from /usr/lib/libc.so.1
(gdb) bt
#0  0xfee1f340 in _lwp_wait () from /usr/lib/libc.so.1
#1  0xfed5d7b8 in lwp_wait () from /usr/lib/lwp/libthread.so.1
#2  0xfed590a0 in _thrp_join () from /usr/lib/lwp/libthread.so.1
#3  0x0002480c in slapd_daemon () at daemon.c:2045
#4  0x000169ec in main ()


(gdb) thread 6
[Switching to thread 6 (process 198201    )]#0  0xfee1d600 in _poll () from 
/usr/lib/libc.so.1
(gdb) bt
#0  0xfee1d600 in _poll () from /usr/lib/libc.so.1
#1  0xfedcdc34 in select_large_fdset () from /usr/lib/libc.so.1
#2  0x00023be4 in slapd_daemon_task (ptr=0x2) at daemon.c:1693
#3  0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1
#4  0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1


(gdb) thread 7
[Switching to thread 7 (process 263737    )]#0  0xfed65a04 in __lwp_park () 
from /usr/lib/lwp/libthread.so.1
(gdb) bt
#0  0xfed65a04 in __lwp_park () from /usr/lib/lwp/libthread.so.1
#1  0xfed62ca4 in cond_wait_queue () from /usr/lib/lwp/libthread.so.1
#2  0xfed63418 in cond_wait () from /usr/lib/lwp/libthread.so.1
#3  0xfed63454 in pthread_cond_wait () from /usr/lib/lwp/libthread.so.1
#4  0xff33cf2c in ldap_int_thread_pool_wrapper (xpool=0x1909e0) at 
tpool.c:475
#5  0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1
#6  0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1



--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin