• 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: Console littered by Xcode 3.1.1 garbage collection messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Console littered by Xcode 3.1.1 garbage collection messages


  • Subject: Re: Console littered by Xcode 3.1.1 garbage collection messages
  • From: "Cédric Luthi" <email@hidden>
  • Date: Tue, 28 Oct 2008 08:53:48 +0100

On Thu, Oct 23, 2008 at 4:32 PM, Andrew Merenbach wrote:
Hmm.  Using things like Application Enhancer can interfere (if I recall correctly some recent threads on this) with debugger operation -- and with other programs -- due to APE's unfortunate trait of code injection.  Tech support can become much more troublesome when customers have input managers installed.  Just my $0.02.

It would be nice if this message could be fixed at the source, but I'm sure that it's on Apple's list.

My QuietXcode plugin/hack will not interfere in any way with any debugger operation. It will *not* install APE, it's just using the APELite object file.

If you read the source code carefully, you will notice that the only feature of Application Enhancer I use is the function APEFindSymbol that will find the address of a non exported symbol (__Z21auto_collect_internalPN4Auto4ZoneEi). Sure I could have written this function myself (and nobody would have been frightened to read "Application Enhancer") but why would I bother when the smart people at Unsanity wrote it already. Please read the source code - it's commented enough - to fully understand how I disabled the annoying "malloc: free_garbage: garbage ptr..." messages.

Patching the call to malloc_printf is a temporary solution and the real solution must obviously be provided by Apple in a future system update. Note that they are aware of this bug, it's rdar://problem/5189609. In the meantime, I think the plugin/hack is a pretty good solution.

Cédric Luthi

 _______________________________________________
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

  • Follow-Ups:
    • Re: Console littered by Xcode 3.1.1 garbage collection messages
      • From: Bill Bumgarner <email@hidden>
References: 
 >Console littered by Xcode 3.1.1 garbage collection messages (From: Markus Spoettl <email@hidden>)
 >Re: Console littered by Xcode 3.1.1 garbage collection messages (From: Brian Stern <email@hidden>)
 >Re: Console littered by Xcode 3.1.1 garbage collection messages (From: Andrew Merenbach <email@hidden>)

  • Prev by Date: Re: Automatically Remove Unused #import Directives
  • Next by Date: Re: Xcode projects to make files?
  • Previous by thread: Re: Console littered by Xcode 3.1.1 garbage collection messages
  • Next by thread: Re: Console littered by Xcode 3.1.1 garbage collection messages
  • Index(es):
    • Date
    • Thread