Re: Fwd: [Gc] crash in GC_free

Ivan Maidanski ivmai at
Tue Jun 2 09:03:49 PDT 2009


Jerry Hughes <hughesjerry369 at> wrote:
> I finally succeeded building gc v6.8. I had to use the 'old' way from  
> the README.QUICK file instead of the new way. Both tests build along  
> with the garbage collector succeed. Test.c does not succeed though if  
> build and run from Xcode:
> GC_malloc(0) failed: GC_size returns 8
> Test failed

What's the value of (MIN_WORDS * sizeof(GC_word)) on your system?

Could You provide the exact options passed to gcc to build gc (for gc v7+)?

> My own code fails the same way with gc 6.8 than with gc 7.1 : crash on  
> GC_free()
> Jerry
> > ...


More information about the Gc mailing list