howard.allison(a)pensionsversicherung.at wrote:
--0__=4EBBF156DFB715BF8f9e8a93df938690918c4EBBF156DFB715BF
Content-type: multipart/alternative;
Boundary="1__=4EBBF156DFB715BF8f9e8a93df938690918c4EBBF156DFB715BF"
--1__=4EBBF156DFB715BF8f9e8a93df938690918c4EBBF156DFB715BF
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: quoted-printable
Hi!
Sorry - here's the stack trace:
Which backend were you testing, it's not shown in any of your output. Your
trace is strange because it shows overlays being used, but test005 doesn't use
any overlays. Seems like you may have a slapd left over from some other test.
SLAPD:
(dbx) thread info
thread state-k wchan state-u k-tid mode held scope functi=
on
$t1 wait 0xf1000f0a1000ee40 blocked 15597767 k no sy=
s
general:
pthread addr =3D 0x3009f56c size =3D 0x290
vp addr =3D 0x300a15b0 size =3D 0x2e0
thread errno =3D 0
start pc =3D 0x10000420
joinable =3D yes
pthread_t =3D 1
scheduler:
kernel =3D
user =3D 1 (other)
nice =3D 60
event :
event =3D 0x0
cancel =3D enabled, deferred, not pending
stack storage:
base =3D 0x20000000 size =3D 0xff22190=
limit =3D 0x2ff22190
sp =3D 0x2ff21e90
thread state-k wchan state-u k-tid mode held scope functi=
on
> $t2 run running 36372639 k no sys
__fd_select
general:
pthread addr =3D 0x308e5cf0 size =3D 0x290
vp addr =3D 0x303d3780 size =3D 0x2e0
thread errno =3D 4
start pc =3D 0x3001f600
joinable =3D yes
pthread_t =3D 102
scheduler:
kernel =3D
user =3D 1 (other)
nice =3D 60
event :
event =3D 0x0
cancel =3D enabled, deferred, not pending
stack storage:
base =3D 0x304e5000 size =3D 0x400000
limit =3D 0x308e5b90
sp =3D 0x308e4530
thread state-k wchan state-u k-tid mode held scope functi=
on
$t3 run running 30015693 u no sys
base_candidate
general:
pthread addr =3D 0x30ce9cf0 size =3D 0x290
vp addr =3D 0x303d5790 size =3D 0x2e0
thread errno =3D 11
start pc =3D 0xf0391ec0
joinable =3D no
pthread_t =3D 203
scheduler:
kernel =3D
user =3D 1 (other)
nice =3D 60
event :
event =3D 0x0
cancel =3D enabled, deferred, not pending
stack storage:
base =3D 0x308e9000 size =3D 0x400000
limit =3D 0x30ce9b90
sp =3D 0x30c286f0
thread state-k wchan state-u k-tid mode held scope functi=
on
$t4 run running 21561505 u no sys
base_candidate
general:
pthread addr =3D 0x319eecf0 size =3D 0x290
vp addr =3D 0x303e4b60 size =3D 0x2e0
thread errno =3D 11
start pc =3D 0xf0391ec0
joinable =3D no
pthread_t =3D 304
scheduler:
kernel =3D
user =3D 1 (other)
nice =3D 60
event :
event =3D 0x0
cancel =3D enabled, deferred, not pending
stack storage:
base =3D 0x315ed000 size =3D 0x400000
limit =3D 0x319eeb90
sp =3D 0x3192d6f0
(dbx) thread current -1
warning: Thread is in kernel mode, not all registers can be accessed.
(dbx) where
.() at 0x11c501d40
_event_wait(??, ??) at 0xd0502be4
_cond_wait_local(??, ??, ??) at 0xd0510f40
_cond_wait(??, ??, ??) at 0xd0511510
pthread_join(??, ??) at 0xd04f91b0
ldap_pvt_thread_join(thread =3D 8, thread_return =3D 0x00000008), line =
197 in
"thr_posix.c"
slapd_daemon(), line 2929 in "daemon.c"
main(argc =3D 0, argv =3D (nil)), line 1012 in "main.c"
(dbx) thread current -2
(dbx) where
__fd_select(??, ??, ??, ??, ??) at 0xd0262f2c
daemon.select(__fds =3D 0, __readlist =3D (nil), __writelist =3D (nil),=
__exceptlist =3D (nil), __timeout =3D (nil)), line 234 in "time.h"
unnamed block in slapd_daemon_task(ptr =3D (nil)), line 2536 in "daemon=
.c"
unnamed block in slapd_daemon_task(ptr =3D (nil)), line 2536 in "daemon=
.c"
slapd_daemon_task(ptr =3D (nil)), line 2536 in "daemon.c"
(dbx) thread current -3
(dbx) where
search.base_candidate(be =3D (nil), e =3D (nil), ids =3D (nil)), line 3=
71 in
"search.c"
glue_sub_search(op =3D 0xf061b148, rs =3D 0xf061b108, b0 =3D 0x00000002=
, on =3D
0xf0240744), line 380 in "backglue.c"
glue_op_search(op =3D 0x301185f8, rs =3D 0x303d5a78), line 537 in "back=
glue.c"
overlay_op_walk(op =3D (nil), rs =3D (nil), which =3D op_bind, oi =3D (=
nil), on =3D
0x01000000), line 661 in "backover.c"
over_op_func(op =3D (nil), rs =3D 0x102c9510, which =3D op_bind), line =
723 in
"backover.c"
fe_op_search(op =3D 0x00004105, rs =3D 0x00000100), line 402 in "search=
.c"
do_search(op =3D 0x000003e8, rs =3D (nil)), line 247 in "search.c"
unnamed block in connection_operation(ctx =3D 0x00000114, arg_v =3D
0x00000045), line 1155 in "connection.c"
connection_operation(ctx =3D 0x00000114, arg_v =3D 0x00000045), line 11=
55 in
"connection.c"
connection_read_thread(ctx =3D (nil), argv =3D (nil)), line 1291 in
"connection.c"
ldap_int_thread_pool_wrapper(xpool =3D (nil)), line 688 in "tpool.c"
(dbx) thread current -4
(dbx) where
search.base_candidate(be =3D (nil), e =3D (nil), ids =3D (nil)), line 3=
71 in
"search.c"
glue_sub_search(op =3D 0xf061b148, rs =3D 0xf061b108, b0 =3D 0x00000002=
, on =3D
0xf0240744), line 380 in "backglue.c"
glue_op_search(op =3D 0x301185f8, rs =3D 0x303e4ee8), line 537 in "back=
glue.c"
overlay_op_walk(op =3D (nil), rs =3D (nil), which =3D op_bind, oi =3D (=
nil), on =3D
0x01000000), line 661 in "backover.c"
over_op_func(op =3D (nil), rs =3D 0x102c9510, which =3D op_bind), line =
723 in
"backover.c"
fe_op_search(op =3D 0x00004105, rs =3D 0x00000100), line 402 in "search=
.c"
do_search(op =3D 0x000003e9, rs =3D (nil)), line 247 in "search.c"
unnamed block in connection_operation(ctx =3D 0x0000019c, arg_v =3D
0x00000067), line 1155 in "connection.c"
connection_operation(ctx =3D 0x0000019c, arg_v =3D 0x00000067), line 11=
55 in
"connection.c"
connection_read_thread(ctx =3D (nil), argv =3D (nil)), line 1291 in
"connection.c"
ldap_int_thread_pool_wrapper(xpool =3D (nil)), line 688 in "tpool.c"
LDAPSEARCH:
Waiting to attach to process 11272394 ...
Successfully attached to ldapsearch.
warning: Directory containing ldapsearch could not be determined.
Apply 'use' command to initialize source path.
Type 'help' for help.
reading symbolic information ...
stopped in __fd_poll at 0xd0262734 ($t1)
0xd0262734 (__fd_poll+0xb4) 80410014 lwz r2,0x14(r1)
(dbx) where
__fd_poll(??, ??, ??) at 0xd0262734
os-ip.poll(__listptr =3D 0x00000001, __nfds =3D 4294967294, __timeout =3D=
1000000), line 107 in "poll.h"
ldap_int_select(ld =3D (nil), timeout =3D 0x3002a9c8), line 1139 in "os=
-ip.c"
wait4msg(ld =3D 0xd0f6bb50, msgid =3D 804398239, all =3D 804389024, tim=
eout =3D
(nil), result =3D 0x2ff200e0), line 312 in "result.c"
ldap_result(ld =3D (nil), msgid =3D 805309096, all =3D 804389216, timeo=
ut =3D
0x28224243, result =3D 0x1000866c), line 117 in "result.c"
dosearch(ld =3D 0x30009c18, base =3D "file:///%s/", scope =3D 268504837=
, filtpatt
=3D (nil), value =3D (nil), attrs =3D (nil), attrsonly =3D -261995236, =
sctrls =3D
0x10010f08, cctrls =3D (nil), timeout =3D (nil), sizelimit =3D -1), lin=
e 1447 in
"ldapsearch.c"
main(argc =3D 0, argv =3D (nil)), line 1222 in "ldapsearch.c"
(dbx) thread
thread state-k wchan state-u k-tid mode held scope functi=
on
> $t1 run running 35192885 k no sys __fd_=
poll
--
-- Howard Chu
CTO, Symas Corp.
http://www.symas.com
Director, Highland Sun
http://highlandsun.com/hyc/
Chief Architect, OpenLDAP
http://www.openldap.org/project/