This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Crash in garbage collector
- From: Geoff Keating <geoffk at geoffk dot org>
- To: "Jan Hoogerbrugge" <hoogerbrugge at hotmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 19 Apr 2004 11:31:09 -0700
- Subject: Re: Crash in garbage collector
- References: <BAY9-F575YJoqCO3vJ00001c023@hotmail.com>
"Jan Hoogerbrugge" <hoogerbrugge@hotmail.com> writes:
> Hi,
>
> 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. I already figured out that I had to add
> GTY(()) annotations
> and some things to mark roots for garbage collection. However after I
> did that
> the crash is still there.
Perhaps you didn't allocate an 'alias_invariant' structure using ggc_alloc?
--
- Geoffrey Keating <geoffk@geoffk.org>