Re: Compiler error when attempting to use garbage collection
Re: Compiler error when attempting to use garbage collection
- Subject: Re: Compiler error when attempting to use garbage collection
- From: "Clark Cox" <email@hidden>
- Date: Mon, 17 Dec 2007 06:52:22 -0800
it might not be a compiler bug. For instance, there are cases where
the collector will not see a reference (like when it is stored in a
void*). If this is the case, the instance will be collected earlier
than you might be expecting, leading to a situation like the OP's.
On 12/17/07, Alastair Houghton <email@hidden> wrote:
> On 17 Dec 2007, at 05:18, Jason Horn wrote:
>
> > I have an application which was running fine until I tried enabled
> > garbage collection (fobjc-gc). Now, the compiler stops at the end
> > of one of my classes with the error:
> >
> > internal compiler error: Segmentation fault
> >
> > Does anyone have any idea what's going on here? If I shut off
> > garbage collection the error disappears.
>
> It's a compiler bug. You should file a bug report
> <http://bugreport.apple.com
> >, ideally including a project that triggers the bug (you may want to
> cut the code down to the minimum necessary to trigger it, depending on
> the project you're working on).
>
> Kind regards,
>
> Alastair.
>
> --
> http://alastairs-place.net
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
Clark S. Cox III
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden