• 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: MallocDebug failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MallocDebug failure


  • Subject: Re: MallocDebug failure
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 15 Jan 2010 15:48:41 -0500
  • Organization: Rogue Research Inc.

On 1/15/10 2:41 PM, McLaughlin, Michael P. said:

>MallocDebug failed to launch my Cocoa app under Leopard (gcc 4.2/Debug
>config) with the following in the Report:
>
>Application Specific Information:
>objc[673]: '/Developer/usr/lib/libMallocDebug.A.dylib' was not compiled with
>-fobjc-gc or -fobjc-gc-only, but the application requires GC
>objc[673]: *** GC capability of application and some libraries did not match
>
>GC is required in my Build info.  Is there something else I have to do?  The
>Report implies that it is the dylib that is at fault.

MallocDebug does not support GC apps. <rdar://5297984>  But I don't
expect that to ever change.  You could try using Instruments.app.  Also
google AUTO_USE_GUARDS (10.6 only).  valgrind won't help you either,
because it also doesn't support GC apps.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >MallocDebug failure (From: "McLaughlin, Michael P." <email@hidden>)

  • Prev by Date: Re: Developing for 10.4 and up
  • Next by Date: Re: MallocDebug failure
  • Previous by thread: MallocDebug failure
  • Next by thread: Re: MallocDebug failure
  • Index(es):
    • Date
    • Thread