Re: Console littered by Xcode 3.1.1 garbage collection messages
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