Re: Compiling GC apps under OS X 10.8
Re: Compiling GC apps under OS X 10.8
- Subject: Re: Compiling GC apps under OS X 10.8
- From: Shane Stanley <email@hidden>
- Date: Thu, 04 Oct 2012 22:01:28 +1000
On 01/10/2012, at 10:52 AM, Shane Stanley <email@hidden> wrote:
> I have a GC app with a deployment version of 10.6. If I compile it in 4.5 under OS X 10.8, using either 10.8 or 10.7 SDK, and run the resulting app in OS X 10.6, I gets lots of this sort of error:
>
> objc[201]: GC: 0x10029cf20 + 24 isn't in the auto_zone, break on objc_assign_ivar_error to debug.
> objc[201]: GC: 0x10029cf20 + 8 isn't in the auto_zone, break on objc_assign_ivar_error to debug.
> objc[201]: GC: 0x10029cf20 + 64 isn't in the auto_zone, break on objc_assign_ivar_error to debug.
> objc[201]: GC: 0x10029cf20 + 72 isn't in the auto_zone, break on objc_assign_ivar_error to debug.
> objc[201]: GC: 0x100290670 + 48 isn't in the auto_zone, break on objc_assign_ivar_error to debug.
> objc[201]: GC: 0x103592630 + 48 isn't in the auto_zone, break on objc_assign_ivar_error to debug.
>
> It also occurs under 10.7, although less often and less predictably.
>
> If I compile the same code in Xcode 4.3.3 under OS X 10.7, using 10.7 SDK, the problem disappears.
In case anyone else hits the problem, changing compiler from LLVM 4.1 to LLVM GCC 4.2 seems to have eliminated both these errors, as well as the:
Thread ?? Crashed:
0 com.apple.AppKit 0x00007fff828ed9de -[NSImage _allocAuxiliaryStorage] + 158
1 com.apple.AppKit 0x00007fff82a71f05 -[NSImage copyWithZone:] + 66
errors with open/save panels that I was getting, and that Quincey Morris and others have reported here.
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
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