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

(ITS#5194) tpool lockup in RE_24



Full_Name: Quanah Gibson-Mount
Version: RE24
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (71.202.148.128)


Using latest RE_24, test050 locked up on me.

slapd backtrace shows:

(gdb) info threads
  1 Thread 46912516103168 (LWP 8947)  0x00000038dcc0c758 in
__lll_mutex_lock_wait () from /lib64/libpthread.so.0
(gdb) bt
#0  0x00000038dcc0c758 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0
#1  0x00000038dcc087c4 in _L_mutex_lock_107 () from /lib64/libpthread.so.0
#2  0x00000038dcc08263 in pthread_mutex_lock () from /lib64/libpthread.so.0
#3  0x00002aaaaaabc72e in ldap_pvt_thread_pool_resume (tpool=<value optimized
out>) at tpool.c:703
#4  0x000000000041d8d5 in config_back_modify (op=0x7fffeb28cc50,
rs=0x7fffeb28cdc0) at bconfig.c:4710
#5  0x00002aaaac3d5944 in syncprov_checkpoint (op=0x7fffeb28cec0, rs=<value
optimized out>, on=0x1b8df9d0) at syncprov.c:1318
#6  0x00002aaaac3d5f02 in syncprov_db_close (be=0x1b7a6440, cr=<value optimized
out>) at syncprov.c:2660
#7  0x0000000000485578 in over_back_response (op=0x1b7c57c0, rs=0x1b7c57c0) at
backover.c:234
#8  0x0000000000000000 in ?? ()
(gdb) frame 3
#3  0x00002aaaaaabc72e in ldap_pvt_thread_pool_resume (tpool=<value optimized
out>) at tpool.c:703
703             ldap_pvt_thread_mutex_lock(&pool->ltp_mutex);
(gdb) l
698             pool = *tpool;
699
700             if (pool == NULL)
701                     return(0);
702
703             ldap_pvt_thread_mutex_lock(&pool->ltp_mutex);
704             pool->ltp_pause = 0;
705             if (pool->ltp_state == LDAP_INT_THREAD_POOL_RUNNING)
706                     ldap_pvt_thread_cond_broadcast(&pool->ltp_cond);
707             ldap_pvt_thread_mutex_unlock(&pool->ltp_mutex);