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

Re: (ITS#4332) test046-dds fails on segfault



On Fri, 2006-01-13 at 22:24 +0000, Kurt@OpenLDAP.org wrote:
> This problem is due to the DDS overlay call to db_expire
> with the main thread of the program at startup.  On FreeBSD4,
> the main thread has a restricted stacksize, such calls
> need to be spawned into a thread and, if necessary,
> subsequently joined.

OK.  I placed it there to streamline the count of non-expired ones which
may be required to enforce the limit on available dynamic objects.
Given that such limit doesn't make sense any more, since there is no
specific per-entry resource use, I think the best solution is to remove
the dynamic object count and that call to dds_expire().

p.




Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------