[Gc] crash in GC_reclaim_block in 6.3alpha6

Zoltan Varga vargaz at gmail.com
Fri Jun 25 13:12:34 PDT 2004


                                   Hi,

  I'm getting crashes in GC_reclaim_block when
using GC_malloc_atomic under solaris 9 in 64bit mode.
Here is a test case:

<<<<<<<<<<<<<<<
#include <gc.h>

void main ()
{
	int i;

	GC_all_interior_pointers = 0;

	for (i = 0; i < 4096; ++i)
		GC_malloc_atomic (4096);
}
<<<<<<<<<<<<<<<

The problem seems to be that GC_obj_kinds [0]->ok_reclaim_list is
NULL. I think this is because
GC_generic_malloc does not call GC_alloc_reclaim_list
for large objects.

                    Zoltan


More information about the Gc mailing list