[Ecls-list] Bug report (?) and two questions

worm worm at arrakis.es
Thu Nov 29 10:53:03 UTC 2001


----- Mensaje Original -----
Remitente: Alexander S A Kjeldaas <Alexander.Kjeldaas at fast.no>
Fecha: Jueves, Noviembre 29, 2001 4:48 pm

> On Wed, Nov 28, 2001 at 04:18:08PM +0100, Dr. Edmund Weitz wrote:
> > worm <worm at arrakis.es> writes:
> > 
> > > > If I define the factorial function in the usual, recursive 
> way,[1]> > > and call it (without compiling it) with an argument 
> of 10000, this
> > > > will result in a reproducible complete crash of my system. After
> [...]
> Could it be that the storage allocated for bignums isn't marked
> pointer-free for the garbage collector?  AFAIK, if a memory area is
> allocated using malloc(), the garbage collector will assume that it
> might contain pointers.

That should not be the case if I did things correct, since both 
specialized arrays and bignums should use GC_malloc_atomic() which 
allocates pointer-free memory. However I have seen a similar error 
happen in a different program (Yorick) which allocates lots of 
pointerfree memory using the Boehm-Weiser garbage collector.

Juanjo







More information about the ecl-devel mailing list