This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Crash in garbage collector


"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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]