Crash in garbage collector
Jim Wilson
wilson@specifixinc.com
Mon Apr 19 23:10:00 GMT 2004
Jan Hoogerbrugge wrote:
> I encounter segmentation faults in my port when the garbage collector
> becomes
> active, so I am in trouble. Can somebody give me hints on how I can
> debug this
> and what could be wrong.
There is a --enable-checking=gcac configure option that will force a
garbage collect on every entry into the gc routines. This will usually
force an error shortly after the mistake, making it easier to find the
mistake. There are also other checking options that might be useful.
See the docs and the ggc code.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
More information about the Gcc
mailing list