On Thu, Oct 09, 2003 at 01:04:24AM +0200, Slaven Rezic wrote: > Nicholas Clark <nick@ccl4.org> writes: > > I'm not sure if you need to. Given that the SEGV is in the libc_r code, > > I don't think that it's perl's fault, and I can't see how we can avoid > > tickling the bug. > > > > The issue is mentioned in README.freebsd: > > =head2 FreeBSD core dumps from readdir_r with ithreads > > When perl is configured to use ithreads, it will use re-entrant library calls > in preference to non-re-entrant versions. There is a bug in FreeBSD's > C<readdir_r> function in versions 4.5 and earlier that can cause a SEGV when > reading large directories. A patch for FreeBSD libc is available > (see http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/30631 ) > which has been integrated into FreeBSD 4.6. Oh yes. Thanks for reminding me. I remember that I had hit that very issue. IIRC it's possible to patch libc_r, but I forget what it was. Nicholas ClarkThread Previous