Re: [Gc] Segfault 11
Ivan Maidanski
ivmai at mail.ru
Mon Sep 26 00:46:57 PDT 2011
Hi,
The idea looks good to me. Seems it wouldn't hurt backward compatibility.
Could someone else express the opinion? Hans?
PS. The message should look a bit different telling that portable clients should do it.
Regards.
24 09 2011, 17:43 Andrew Pennebaker <andrew.pennebaker at gmail.com>:
> I had a segfault deep in my code, and for the life of me I couldn't track
> down the bug. It turned out I forgot to run GC_INIT() before calling
> GC_MALLOC(). Please print a warning when this happens, for the benefit of
> newbies like me. Something like:
>
> Error: Run GC_INIT() first.
>
> Cheers,
>
> Andrew Pennebaker
> www.yellosoft.us
More information about the Gc
mailing list