Re: Fwd: [Gc] crash in GC_free

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


Hi!

Jerry Hughes <hughesjerry369 at gmail.com> 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
> 
> > ...

Bye.



More information about the Gc mailing list