Issue 7653 - Test Build Version 2.4.36 hangs
Summary: Test Build Version 2.4.36 hangs
Status: VERIFIED FEEDBACK
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.36
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-31 06:51 UTC by howard.allison@pva.sozvers.at
Modified: 2021-08-03 18:13 UTC (History)
0 users

See Also:


Attachments
15079017.gif (2.03 KB, image/gif)
2013-08-12 06:48 UTC, howard.allison@pva.sozvers.at
Details
graycol.gif (105 bytes, image/gif)
2013-08-12 06:48 UTC, howard.allison@pva.sozvers.at
Details

Note You need to log in before you can comment on or make changes to this issue.
Description howard.allison@pva.sozvers.at 2013-07-31 06:51:18 UTC
Full_Name: Howard Allison
Version: 2.4.36
OS: AIX
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (194.153.217.248)


AIX 6.1 Using IBM VAC Compiler
Configure and Build works, test hangs at test005

Stack Trace
reading symbolic information ...
stopped in __fd_select at 0xd0262f2c ($t2)
0xd0262f2c (__fd_select+0xcc) 80410014         lwz   r2,0x14(r1)
(dbx) where
__fd_select(??, ??, ??, ??, ??) at 0xd0262f2c
daemon.select(__fds = 0, __readlist = (nil), __writelist = (nil), __exceptlist =
(nil), __timeout = (nil)), line 234 in "time.h"
unnamed block in slapd_daemon_task(ptr = (nil)), line 2536 in "daemon.c"
unnamed block in slapd_daemon_task(ptr = (nil)), line 2536 in "daemon.c"
slapd_daemon_task(ptr = (nil)), line 2536 in "daemon.c"

Comment 1 Quanah Gibson-Mount 2013-08-07 19:20:20 UTC

--On July 31, 2013 6:51:18 AM +0000 howard.allison@pensionsversicherung.at 
wrote:

> Full_Name: Howard Allison
> Version: 2.4.36
> OS: AIX
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (194.153.217.248)
>
>
> AIX 6.1 Using IBM VAC Compiler
> Configure and Build works, test hangs at test005

Hi, thanks for the report.  Unfortunately, your stack trace only shows a 
single thread out of multiple threads.  This thread is waiting on another 
thread to complete a task.  Please submit a full backtrace of all threads.

Thanks!

--Quanah


-- 
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Comment 2 howard.allison@pva.sozvers.at 2013-08-12 06:48:52 UTC
Hi!
Sorry - here's the stack trace:

SLAPD:
(dbx) thread info
 thread  state-k     wchan    state-u    k-tid   mode held scope function
 $t1     wait      0xf1000f0a1000ee40 blocked  15597767     k   no   sys

      general:
         pthread addr = 0x3009f56c         size         = 0x290
         vp addr      = 0x300a15b0         size         = 0x2e0
         thread errno = 0
         start pc     = 0x10000420
         joinable     = yes
         pthread_t    = 1
      scheduler:
         kernel       =
         user         = 1 (other)
         nice         = 60
      event :
         event        = 0x0
         cancel       = enabled, deferred, not pending
      stack storage:
         base         = 0x20000000         size         = 0xff22190
         limit        = 0x2ff22190
         sp           = 0x2ff21e90
 thread  state-k     wchan    state-u    k-tid   mode held scope function
>$t2     run                  running  36372639     k   no   sys
__fd_select

      general:
         pthread addr = 0x308e5cf0         size         = 0x290
         vp addr      = 0x303d3780         size         = 0x2e0
         thread errno = 4
         start pc     = 0x3001f600
         joinable     = yes
         pthread_t    = 102
      scheduler:
         kernel       =
         user         = 1 (other)
         nice         = 60
      event :
         event        = 0x0
         cancel       = enabled, deferred, not pending
      stack storage:
         base         = 0x304e5000         size         = 0x400000
         limit        = 0x308e5b90
         sp           = 0x308e4530
 thread  state-k     wchan    state-u    k-tid   mode held scope function
 $t3     run                  running  30015693     u   no   sys
base_candidate

      general:
         pthread addr = 0x30ce9cf0         size         = 0x290
         vp addr      = 0x303d5790         size         = 0x2e0
         thread errno = 11
         start pc     = 0xf0391ec0
         joinable     = no
         pthread_t    = 203
      scheduler:
         kernel       =
         user         = 1 (other)
         nice         = 60
      event :
         event        = 0x0
         cancel       = enabled, deferred, not pending
      stack storage:
         base         = 0x308e9000         size         = 0x400000
         limit        = 0x30ce9b90
         sp           = 0x30c286f0
 thread  state-k     wchan    state-u    k-tid   mode held scope function
 $t4     run                  running  21561505     u   no   sys
base_candidate

      general:
         pthread addr = 0x319eecf0         size         = 0x290
         vp addr      = 0x303e4b60         size         = 0x2e0
         thread errno = 11
         start pc     = 0xf0391ec0
         joinable     = no
         pthread_t    = 304
      scheduler:
         kernel       =
         user         = 1 (other)
         nice         = 60
      event :
         event        = 0x0
         cancel       = enabled, deferred, not pending
      stack storage:
         base         = 0x315ed000         size         = 0x400000
         limit        = 0x319eeb90
         sp           = 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 = 8, thread_return = 0x00000008), line 197 in
"thr_posix.c"
slapd_daemon(), line 2929 in "daemon.c"
main(argc = 0, argv = (nil)), line 1012 in "main.c"

(dbx) thread current -2
(dbx) where
__fd_select(??, ??, ??, ??, ??) at 0xd0262f2c
daemon.select(__fds = 0, __readlist = (nil), __writelist = (nil),
__exceptlist = (nil), __timeout = (nil)), line 234 in "time.h"
unnamed block in slapd_daemon_task(ptr = (nil)), line 2536 in "daemon.c"
unnamed block in slapd_daemon_task(ptr = (nil)), line 2536 in "daemon.c"
slapd_daemon_task(ptr = (nil)), line 2536 in "daemon.c"

(dbx)  thread current -3
(dbx) where
search.base_candidate(be = (nil), e = (nil), ids = (nil)), line 371 in
"search.c"
glue_sub_search(op = 0xf061b148, rs = 0xf061b108, b0 = 0x00000002, on =
0xf0240744), line 380 in "backglue.c"
glue_op_search(op = 0x301185f8, rs = 0x303d5a78), line 537 in "backglue.c"
overlay_op_walk(op = (nil), rs = (nil), which = op_bind, oi = (nil), on =
0x01000000), line 661 in "backover.c"
over_op_func(op = (nil), rs = 0x102c9510, which = op_bind), line 723 in
"backover.c"
fe_op_search(op = 0x00004105, rs = 0x00000100), line 402 in "search.c"
do_search(op = 0x000003e8, rs = (nil)), line 247 in "search.c"
unnamed block in connection_operation(ctx = 0x00000114, arg_v =
0x00000045), line 1155 in "connection.c"
connection_operation(ctx = 0x00000114, arg_v = 0x00000045), line 1155 in
"connection.c"
connection_read_thread(ctx = (nil), argv = (nil)), line 1291 in
"connection.c"
ldap_int_thread_pool_wrapper(xpool = (nil)), line 688 in "tpool.c"

(dbx) thread current -4
(dbx) where
search.base_candidate(be = (nil), e = (nil), ids = (nil)), line 371 in
"search.c"
glue_sub_search(op = 0xf061b148, rs = 0xf061b108, b0 = 0x00000002, on =
0xf0240744), line 380 in "backglue.c"
glue_op_search(op = 0x301185f8, rs = 0x303e4ee8), line 537 in "backglue.c"
overlay_op_walk(op = (nil), rs = (nil), which = op_bind, oi = (nil), on =
0x01000000), line 661 in "backover.c"
over_op_func(op = (nil), rs = 0x102c9510, which = op_bind), line 723 in
"backover.c"
fe_op_search(op = 0x00004105, rs = 0x00000100), line 402 in "search.c"
do_search(op = 0x000003e9, rs = (nil)), line 247 in "search.c"
unnamed block in connection_operation(ctx = 0x0000019c, arg_v =
0x00000067), line 1155 in "connection.c"
connection_operation(ctx = 0x0000019c, arg_v = 0x00000067), line 1155 in
"connection.c"
connection_read_thread(ctx = (nil), argv = (nil)), line 1291 in
"connection.c"
ldap_int_thread_pool_wrapper(xpool = (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 = 0x00000001, __nfds = 4294967294, __timeout =
1000000), line 107 in "poll.h"
ldap_int_select(ld = (nil), timeout = 0x3002a9c8), line 1139 in "os-ip.c"
wait4msg(ld = 0xd0f6bb50, msgid = 804398239, all = 804389024, timeout =
(nil), result = 0x2ff200e0), line 312 in "result.c"
ldap_result(ld = (nil), msgid = 805309096, all = 804389216, timeout =
0x28224243, result = 0x1000866c), line 117 in "result.c"
dosearch(ld = 0x30009c18, base = "file:///%s/", scope = 268504837, filtpatt
= (nil), value = (nil), attrs = (nil), attrsonly = -261995236, sctrls =
0x10010f08, cctrls = (nil), timeout = (nil), sizelimit = -1), line 1447 in
"ldapsearch.c"
main(argc = 0, argv = (nil)), line 1222 in "ldapsearch.c"

(dbx) thread
 thread  state-k     wchan    state-u    k-tid   mode held scope function
>$t1     run                  running  35192885     k   no   sys  __fd_poll





Thanks
Howard
Mit freundlichen Grüßen
Howard ALLISON
                                             
              Pensionsversicherungsanstalt   
              Rechenzentrumsbetrieb          
              A-1021 Wien,                   
              Friedrich-Hillegeist-Straße 1  
                                             
              E-Mail..:                      
              howard.allison@pva.sozvers.at  
              Internet:                      
              www.pensionsversicherung.at    
                                             






Von:	Quanah Gibson-Mount <quanah@zimbra.com>
An:	howard.allison@pensionsversicherung.at,
            openldap-its@openldap.org,
Datum:	07.08.2013 21:20
Betreff:	Re: (ITS#7653) Test Build Version 2.4.36 hangs





--On July 31, 2013 6:51:18 AM +0000 howard.allison@pensionsversicherung.at
wrote:

> Full_Name: Howard Allison
> Version: 2.4.36
> OS: AIX
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (194.153.217.248)
>
>
> AIX 6.1 Using IBM VAC Compiler
> Configure and Build works, test hangs at test005

Hi, thanks for the report.  Unfortunately, your stack trace only shows a
single thread out of multiple threads.  This thread is waiting on another
thread to complete a task.  Please submit a full backtrace of all threads.

Thanks!

--Quanah


--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration




--------------------------------------------------------------------------------------------------------

VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen
bestimmt, an den sie adressiert ist und kann vertrauliche Informationen
enthalten. Falls Sie nicht der Empfänger dieser Nachricht sind, weisen wir
Sie darauf hin, dass die unberechtigte Weitergabe oder Verwendung sowie das
unberechtigte Verteilen oder Kopieren dieser Nachricht strikt untersagt
sind. Falls Sie diese Nachricht irrtümlich erhalten haben, vernichten Sie
sie bitte sofort.
CONFIDENTIALITY: This message is intended only for the use of the
individuality or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure. If
you are not the intended recipient you are notified that any dissemination,
distribution, use or copying of this communication is strictly prohibited.
If you received this message in error, please immediately destroy this
message.
--------------------------------------------------------------------------------------------------------
Comment 3 Howard Chu 2013-10-12 15:54:22 UTC
changed state Open to Feedback
Comment 4 Howard Chu 2013-10-12 22:54:04 UTC
howard.allison@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/

Comment 5 howard.allison@pva.sozvers.at 2013-10-14 04:50:24 UTC

Howard Chu <hyc@symas.com> wrote on 13.10.2013 00:54:04:

> Von: Howard Chu <hyc@symas.com>
> An: howard.allison@pensionsversicherung.at, openldap-its@openldap.org,
> Datum: 13.10.2013 00:54
> Betreff: Re: Antwort: Re: (ITS#7653) Test Build Version 2.4.36 hangs
>
> howard.allison@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/
This happens on the first backend that isn't MDB - I've tried disabling BDB
and HDB separately and it hangs on both.The slapd is the test5 slapd(it's
been a while, but I seem to recall checking the start time of the daemon)
Howard

--------------------------------------------------------------------------------------------------------

VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen
bestimmt, an den sie adressiert ist und kann vertrauliche Informationen
enthalten. Falls Sie nicht der Empfänger dieser Nachricht sind, weisen wir
Sie darauf hin, dass die unberechtigte Weitergabe oder Verwendung sowie das
unberechtigte Verteilen oder Kopieren dieser Nachricht strikt untersagt
sind. Falls Sie diese Nachricht irrtümlich erhalten haben, vernichten Sie
sie bitte sofort.
CONFIDENTIALITY: This message is intended only for the use of the
individuality or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure. If
you are not the intended recipient you are notified that any dissemination,
distribution, use or copying of this communication is strictly prohibited.
If you received this message in error, please immediately destroy this
message.
--------------------------------------------------------------------------------------------------------