[Gc] behaviour of GC_local_malloc(0)
wangp at students.cs.mu.oz.au
Wed Apr 19 20:38:27 PDT 2006
The following program crashes at the GC_free() line. I wonder if this
is a bug in gc6.7, or if allocating zero bytes is not allowed.
The crash does not occur with non-thread local allocation, nor with
p = GC_local_malloc(0);
I am testing on a x86-64, linux 2.6 machine.
More information about the Gc