[Gc] Segfault 11

Andrew Pennebaker andrew.pennebaker at gmail.com
Sat Sep 24 06:37:25 PDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://napali.hpl.hp.com/pipermail/gc/attachments/20110924/5c52e89a/attachment.htm


More information about the Gc mailing list