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

Re: (ITS#4032) syncprov locks up slapd




--On Thursday, September 15, 2005 6:57 PM +0000 openldap-its@OpenLDAP.org 
wrote:

Now it is locking up on MODs as well.

(gdb) thread 1
[Switching to thread 1 (LWP 1)]#0  0xfee1f33c in _lwp_wait () from 
/usr/lib/libc.so.1
(gdb) bt
#0  0xfee1f33c 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 2
[Switching to thread 2 (LWP 8)]#0  0xfed65a00 in __lwp_park () from 
/usr/lib/lwp/libthread.so.1
(gdb) bt
#0  0xfed65a00 in __lwp_park () from /usr/lib/lwp/libthread.so.1
#1  0xfed617f4 in mutex_lock_queue () from /usr/lib/lwp/libthread.so.1
#2  0xfed6214c in slow_lock () from /usr/lib/lwp/libthread.so.1
#3  0x000268e0 in connection_operation (ctx=0x250740, arg_v=0x638148) at 
connection.c:1086
#4  0xff33cd70 in ldap_int_thread_pool_wrapper (xpool=0x1909e0) at 
tpool.c:487
#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 3
[Switching to thread 3 (LWP 7)]#0  0xfed65a00 in __lwp_park () from 
/usr/lib/lwp/libthread.so.1
(gdb) bt
#0  0xfed65a00 in __lwp_park () from /usr/lib/lwp/libthread.so.1
#1  0xfed617f4 in mutex_lock_queue () from /usr/lib/lwp/libthread.so.1
#2  0xfed6214c in slow_lock () from /usr/lib/lwp/libthread.so.1
#3  0x00033568 in send_ldap_ber (conn=0x2501f0, ber=0x5c3ff288) at 
result.c:159
#4  0x00033c34 in send_ldap_response (op=0x265470, rs=0x5c3ff4b8) at 
result.c:430
#5  0x00034214 in slap_send_ldap_result (op=0x265470, rs=0x5c3ff4b8) at 
result.c:582
#6  0x000da1d0 in syncprov_matchops (op=0x75a8a8, opc=0x63960c, saveit=1) 
at syncprov.c:1050
#7  0x000db0ec in syncprov_op_mod (op=0x75a8a8, rs=0x5c3ffd58) at 
syncprov.c:1601
#8  0x00072af4 in overlay_op_walk (op=0x75a8a8, rs=0x5c3ffd58, which=32768, 
oi=0x1b0e10, on=0x1b0f00) at backover.c:480
#9  0x00072bd0 in over_op_func (op=0x75a8a8, rs=0x5c3ffd58, 
which=op_modify) at backover.c:540
#10 0x0003a950 in fe_op_modify (op=0x75a8a8, rs=0x5c3ffd58) at modify.c:417
#11 0x0003a158 in do_modify (op=0x75a8a8, rs=0x5c3ffd58) at modify.c:200
#12 0x00026ba4 in connection_operation (ctx=0xf9400, arg_v=0x75a8a8) at 
connection.c:1061
#13 0xff33cd70 in ldap_int_thread_pool_wrapper (xpool=0x1909e0) at 
tpool.c:487
#14 0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1
#15 0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1


(gdb) thread 4
[Switching to thread 4 (LWP 6)]#0  0xfed65a00 in __lwp_park () from 
/usr/lib/lwp/libthread.so.1
(gdb) bt
#0  0xfed65a00 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=0x250880, ber=0x5cb3f5a8) at 
result.c:205
#5  0x00034f40 in slap_send_search_entry (op=0x31c398, rs=0x5cbffd58) at 
result.c:1121
#6  0x0007e138 in bdb_search (op=0x31c398, rs=0x5cbffd58) at search.c:873
#7  0x00072adc in overlay_op_walk (op=0x31c398, rs=0x5cbffd58, which=32768, 
oi=0x159734, on=0x8000) at backover.c:488
#8  0x00072bd0 in over_op_func (op=0x31c398, rs=0x5cbffd58, 
which=op_search) at backover.c:540
#9  0x00028c64 in fe_op_search (op=0x31c398, rs=0x5cbffd58) at search.c:349
#10 0x00028568 in do_search (op=0x31c398, rs=0x5cbffd58) at search.c:219
#11 0x00026ba4 in connection_operation (ctx=0x0, arg_v=0x31c398) 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


(gdb) thread 5
[Switching to thread 5 (LWP 5)]#0  0xfed65a00 in __lwp_park () from 
/usr/lib/lwp/libthread.so.1
(gdb) bt
#0  0xfed65a00 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=0x5d33f5a8) at 
result.c:205
#5  0x00034f40 in slap_send_search_entry (op=0x2f25a0, rs=0x5d3ffd58) at 
result.c:1121
#6  0x0007e138 in bdb_search (op=0x2f25a0, rs=0x5d3ffd58) at search.c:873
#7  0x00072adc in overlay_op_walk (op=0x2f25a0, rs=0x5d3ffd58, which=32768, 
oi=0x159734, on=0x8000) at backover.c:488
#8  0x00072bd0 in over_op_func (op=0x2f25a0, rs=0x5d3ffd58, 
which=op_search) at backover.c:540
#9  0x00028c64 in fe_op_search (op=0x2f25a0, rs=0x5d3ffd58) at search.c:349
#10 0x00028568 in do_search (op=0x2f25a0, rs=0x5d3ffd58) at search.c:219
#11 0x00026ba4 in connection_operation (ctx=0x0, arg_v=0x2f25a0) 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


(gdb) thread 6
[Switching to thread 6 (LWP 4)]#0  0xfed65a00 in __lwp_park () from 
/usr/lib/lwp/libthread.so.1
(gdb) bt
#0  0xfed65a00 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=0x2501f0, ber=0x5db3f5a8) at 
result.c:205
#5  0x00034f40 in slap_send_search_entry (op=0x265470, rs=0x5dbffd58) at 
result.c:1121
#6  0x0007e138 in bdb_search (op=0x265470, rs=0x5dbffd58) at search.c:873
#7  0x00072adc in overlay_op_walk (op=0x265470, rs=0x5dbffd58, which=32768, 
oi=0x159734, on=0x8000) at backover.c:488
#8  0x00072bd0 in over_op_func (op=0x265470, rs=0x5dbffd58, 
which=op_search) at backover.c:540
#9  0x00028c64 in fe_op_search (op=0x265470, rs=0x5dbffd58) at search.c:349
#10 0x00028568 in do_search (op=0x265470, rs=0x5dbffd58) at search.c:219
#11 0x00026ba4 in connection_operation (ctx=0x0, arg_v=0x265470) 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


(gdb) thread 7
[Switching to thread 7 (LWP 3)]#0  0xfed65a00 in __lwp_park () from 
/usr/lib/lwp/libthread.so.1
(gdb) bt
#0  0xfed65a00 in __lwp_park () from /usr/lib/lwp/libthread.so.1
#1  0xfed617f4 in mutex_lock_queue () from /usr/lib/lwp/libthread.so.1
#2  0xfed6214c in slow_lock () from /usr/lib/lwp/libthread.so.1
#3  0x000d9d2c in syncprov_op_abandon (op=0x5e3ff540, rs=0x5e3ff4a8) at 
syncprov.c:950
#4  0x00072af4 in overlay_op_walk (op=0x5e3ff540, rs=0x5e3ff4a8, 
which=32768, oi=0x1b0e10, on=0x1b0f00) at backover.c:480
#5  0x00072bd0 in over_op_func (op=0x5e3ff540, rs=0x5e3ff4a8, 
which=op_abandon) at backover.c:540
#6  0x00040e28 in fe_op_abandon (op=0x5e3ff540, rs=0x5e3ff4a8) at 
abandon.c:115
#7  0x000260a8 in connection_abandon (c=0x250730) at connection.c:740
#8  0x000261b4 in connection_closing (c=0x250730, why=0xf62f8 "connection 
lost") at connection.c:775
#9  0x00026ed4 in connection_read (s=16) at connection.c:1308
#10 0x00024174 in slapd_daemon_task (ptr=0xf1400) at daemon.c:1879
#11 0xfed658c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1
#12 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