• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Compiling GC apps under OS X 10.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: APN and various apps determining each other present on a device?
  • Next by Date: Re: APN and various apps determining each other present on a device?
  • Previous by thread: Re: Compiling GC apps under OS X 10.8
  • Next by thread: Re: Crash when loading NSViewController view with NSArrayController [solved]
  • Index(es):
    • Date
    • Thread