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

(ITS#4429) (back-ldap?) slapd deadlock



Full_Name: Aaron Richton
Version: 2.3.20
OS: Solaris 9
URL: 
Submission from: (NULL) (128.6.31.135)


My back-ldap installation is still producing fun. Once again, the user-visible
symptom is that binds stopped. This is with patches proposed in ITS#4409.

(dbx) where
current thread: t@1
  [1] __lwp_wait(0x2, 0xffbffa1c, 0xff3162a0, 0xfec324fc, 0x2, 0xffbff9e4), at
0xfed1fc38
  [2] lwp_wait(0x2, 0xffbffa1c, 0x46220, 0xff303e24, 0x5, 0xffbffa14), at
0xfec3d6b0
  [3] _thrp_join(0x2, 0x0, 0x0, 0x1, 0x81010100, 0xff00), at 0xfec390e8
=>[4] ldap_pvt_thread_join(thread = 2U, thread_return = (nil)), line 193 in
"thr_posix.c"
  [5] slapd_daemon(), line 2239 in "daemon.c"
  [6] main(argc = 6, argv = 0xffbffc34), line 854 in "main.c"
(dbx) thread t@2
Current function is slapd_daemon_task
t@2 (l@2) stopped in _poll at 0xfed1df0c
0xfed1df0c: _poll+0x0004:       ta       8
(dbx) where
current thread: t@2
  [1] _poll(0xfe3fd4d8, 0xd, 0x249f0, 0x0, 0x96, 0xfe3fd6e1), at 0xfed1df0c
  [2] select_large_fdset(0x23, 0x40, 0xfe3fd6e0, 0x0, 0xfe3fd6e0, 0xfe3fd6e0),
at 0xfecd2be0
=>[3] slapd_daemon_task(ptr = (nil)), line 1840 in "daemon.c"
(dbx) thread t@3
Current function is ldap_pvt_thread_cond_wait
t@3 (l@3) stopped in __lwp_park at 0xfec45994
0xfec45994: __lwp_park+0x0010:  ta       8
(dbx) where
current thread: t@3
  [1] __lwp_park(0x0, 0x0, 0x0, 0x1, 0xfec58000, 0x27d0e8), at 0xfec45994
  [2] cond_wait_queue(0x2c0418, 0xfec58b48, 0x0, 0x0, 0xfec20400, 0xfec58000),
at 0xfec42b9c
  [3] _cond_wait_cancel(0x2c0418, 0x2c0400, 0xffffffff, 0xfffffff8, 0x0,
0x1812749), at 0xfec43358
  [4] _ti_pthread_cond_wait(0x2c0418, 0x2c0400, 0xfdbffd3c, 0x0, 0x0, 0x0), at
0xfec43394
=>[5] ldap_pvt_thread_cond_wait(cond = 0x2c0418, mutex = 0x2c0400), line 298 in
"thr_posix.c"
  [6] ldap_int_thread_pool_wrapper(xpool = 0x2c03f8), line 468 in "tpool.c"
(dbx) thread t@4
Current function is ldap_pvt_thread_cond_wait
t@4 (l@4) stopped in __lwp_park at 0xfec45994
0xfec45994: __lwp_park+0x0010:  ta       8
(dbx) where
current thread: t@4
  [1] __lwp_park(0x0, 0x0, 0x0, 0x1, 0xfec58000, 0x75006b83), at 0xfec45994
  [2] cond_wait_queue(0x2c0418, 0xfec58b48, 0x0, 0x0, 0xfec20600, 0xfec58000),
at 0xfec42b9c
  [3] _cond_wait_cancel(0x2c0418, 0x2c0400, 0xffffffff, 0xfffffff8, 0x0,
0x1812749), at 0xfec43358
  [4] _ti_pthread_cond_wait(0x2c0418, 0x2c0400, 0xfd3ffd3c, 0x0, 0x0, 0x0), at
0xfec43394
=>[5] ldap_pvt_thread_cond_wait(cond = 0x2c0418, mutex = 0x2c0400), line 298 in
"thr_posix.c"
  [6] ldap_int_thread_pool_wrapper(xpool = 0x2c03f8), line 468 in "tpool.c"
(dbx) thread t@5
Current function is ldap_pvt_thread_cond_wait
t@5 (l@5) stopped in __lwp_park at 0xfec45994
0xfec45994: __lwp_park+0x0010:  ta       8
(dbx) where
current thread: t@5
  [1] __lwp_park(0x0, 0x0, 0x0, 0x1, 0xfec58000, 0x75000000), at 0xfec45994
  [2] cond_wait_queue(0x2c0418, 0xfec58b48, 0x0, 0x0, 0xfec20800, 0xfec58000),
at 0xfec42b9c
  [3] _cond_wait_cancel(0x2c0418, 0x2c0400, 0xffffffff, 0xfffffff8, 0x0,
0x1812749), at 0xfec43358
  [4] _ti_pthread_cond_wait(0x2c0418, 0x2c0400, 0xfcbffd3c, 0x0, 0x0, 0x0), at
0xfec43394
=>[5] ldap_pvt_thread_cond_wait(cond = 0x2c0418, mutex = 0x2c0400), line 298 in
"thr_posix.c"
  [6] ldap_int_thread_pool_wrapper(xpool = 0x2c03f8), line 468 in "tpool.c"
(dbx) thread t@6
Current function is ldap_pvt_thread_cond_wait
t@6 (l@6) stopped in __lwp_park at 0xfec45994
0xfec45994: __lwp_park+0x0010:  ta       8
(dbx) where
current thread: t@6
  [1] __lwp_park(0x0, 0x0, 0x0, 0x1, 0xfec58000, 0x75000000), at 0xfec45994
  [2] cond_wait_queue(0x2c0418, 0xfec58b48, 0x0, 0x0, 0xfec20a00, 0xfec58000),
at 0xfec42b9c
  [3] _cond_wait_cancel(0x2c0418, 0x2c0400, 0xffffffff, 0xfffffff8, 0x0,
0x1812749), at 0xfec43358
  [4] _ti_pthread_cond_wait(0x2c0418, 0x2c0400, 0xfc3ffd3c, 0x0, 0x0, 0x0), at
0xfec43394
=>[5] ldap_pvt_thread_cond_wait(cond = 0x2c0418, mutex = 0x2c0400), line 298 in
"thr_posix.c"
  [6] ldap_int_thread_pool_wrapper(xpool = 0x2c03f8), line 468 in "tpool.c"
(dbx) thread t@7
Current function is ldap_pvt_thread_cond_wait
t@7 (l@7) stopped in __lwp_park at 0xfec45994
0xfec45994: __lwp_park+0x0010:  ta       8
(dbx) where
current thread: t@7
  [1] __lwp_park(0x0, 0x0, 0x0, 0x1, 0xfec58000, 0x75000000), at 0xfec45994
  [2] cond_wait_queue(0x2c0418, 0xfec58b48, 0x0, 0x0, 0xfec20c00, 0xfec58000),
at 0xfec42b9c
  [3] _cond_wait_cancel(0x2c0418, 0x2c0400, 0xffffffff, 0xfffffff8, 0x0,
0x1812749), at 0xfec43358
  [4] _ti_pthread_cond_wait(0x2c0418, 0x2c0400, 0xfbbffd3c, 0x0, 0x0, 0x0), at
0xfec43394
=>[5] ldap_pvt_thread_cond_wait(cond = 0x2c0418, mutex = 0x2c0400), line 298 in
"thr_posix.c"
  [6] ldap_int_thread_pool_wrapper(xpool = 0x2c03f8), line 468 in "tpool.c"
(dbx) thread t@8
Current function is ldap_pvt_thread_cond_wait
t@8 (l@8) stopped in __lwp_park at 0xfec45994
0xfec45994: __lwp_park+0x0010:  ta       8
(dbx) where
current thread: t@8
  [1] __lwp_park(0x0, 0x0, 0x0, 0x1, 0xfec58000, 0x75000000), at 0xfec45994
  [2] cond_wait_queue(0x2c0418, 0xfec58b48, 0x0, 0x0, 0xfec20e00, 0xfec58000),
at 0xfec42b9c
  [3] _cond_wait_cancel(0x2c0418, 0x2c0400, 0xffffffff, 0xfffffff8, 0x0,
0x1812749), at 0xfec43358
  [4] _ti_pthread_cond_wait(0x2c0418, 0x2c0400, 0xfb3ffd3c, 0x0, 0x0, 0x0), at
0xfec43394
=>[5] ldap_pvt_thread_cond_wait(cond = 0x2c0418, mutex = 0x2c0400), line 298 in
"thr_posix.c"
  [6] ldap_int_thread_pool_wrapper(xpool = 0x2c03f8), line 468 in "tpool.c"
(dbx) thread t@9
t@9 (l@9) stopped in __lwp_park at 0xfec45994
0xfec45994: __lwp_park+0x0010:  ta       8
(dbx) where
current thread: t@9
  [1] __lwp_park(0x0, 0x0, 0x0, 0x1, 0xfec58000, 0x75000000), at 0xfec45994
  [2] cond_wait_queue(0x2c0418, 0xfec58b48, 0x0, 0x0, 0xfec21000, 0xfec58000),
at 0xfec42b9c
  [3] _cond_wait_cancel(0x2c0418, 0x2c0400, 0xffffffff, 0xfffffff8, 0x0,
0x1812749), at 0xfec43358
  [4] _ti_pthread_cond_wait(0x2c0418, 0x2c0400, 0xfabffd3c, 0x0, 0x0, 0x0), at
0xfec43394
=>[5] ldap_pvt_thread_cond_wait(cond = 0x2c0418, mutex = 0x2c0400), line 298 in
"thr_posix.c"
  [6] ldap_int_thread_pool_wrapper(xpool = 0x2c03f8), line 468 in "tpool.c"