|
From: Lachlan A. <lh...@us...> - 2003-03-09 09:23:03
|
Greetings Jim, Attached is a hack which explicitly stops the recursion in OS X. Does=20 it work? (Neal, would it be better in one of the other functions in=20 the loop?) I don't know why a different OS should crash in a different place. =20 Does OS X support pread? Type man pread. Are you having any luck with the other errors in 'make check'? Thanks! Lachlan On Friday 28 February 2003 11:23, Jim Cole wrote: > Hi - Just a follow up on the issue of zlib version. I installed > the 1.1.4 version of zlib available via Fink and rebuilt > everything. Using the newer version of zlib, I encounter the same > problem (i.e. a segfault from htdig with a very deep stack trace). > I did perform a distclean and verified the use of the 1.1.4 version > libz via otool. > > Jim > > On Thursday, February 27, 2003, at 04:41 AM, Lachlan Andrew wrote: > > On Thursday 27 February 2003 11:16, Jim Cole wrote: > >> The backtrace is attached. The problem does not occur if I turn > >> off compression. > > > > Thanks. My guess is that (part of) the reason for the very deep > > recursion is that it's trying to allocate a block of len=3D8247 > > bytes, when the page size is only 8192: > > #3244 0x00070958 in CDB___memp_alloc (dbmp=3D0xa98c30, > > memreg=3D0xa99f60, mfp=3D0xc84e98, len=3D8247, offsetp=3D0x0, > > retp=3D0xbfffd900) at mp_alloc.c:88 > > > > I used to get the error > > Unable to allocate %lu bytes from mpool shared region > > at some stage too, which is generated inside CDB___memp_alloc.=20 > > From memory, that was when I was using 1.1.3. > > > > If that is really the problem, it can be fixed by testing > > explicitly whether len>pagesize (if the pagesize is available > > somewhere...). > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > htdig-dev mailing list > htd...@li... > https://lists.sourceforge.net/lists/listinfo/htdig-dev |