• 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: Jens Ayton <email@hidden>
  • Date: Mon, 27 Oct 2008 01:00:15 +0100

On Oct 23, 2008, at 08:11, Markus Spoettl wrote:

Hello List,

ever since upgrading to 3.1.1 (from 3.0) Xcode litters the console with hundreds of these messages each session:

10/22/08 11:04:07 PM [0x0-0x5ab5ab].com.apple.Xcode[17320] Xcode(17320,0xb0103000) malloc: free_garbage: garbage ptr = 0x25e5a70, has non-zero refcount = 1

They're created all the time but the highest frequency occurs when starting a debug session or just running the application making it extremely difficult to see the debug log output that my own applications generate.

I suppose the Xcode dev team must see this too and I can't see any benefit to me having to wade through this kind of stuff. Is there a way to make Xcode stop writing this to the console? Preferably just this one message.

Workaround: put the following in a file named “Console minus Xcode.aslquery” or similar:
(
{
key = Facility;
op = 1;
value = "com.apple.console";
},
{
key = Sender;
op = 70;
value = Xcode;
}
)


and stick it in ~/Library/Application Support/Console/ASLQueries. You can then select this filter from the sidebar in Console. (Op 70 is ASL_QUERY_OP_NOT_EQUAL | ASL_QUERY_OP_SUFFIX, a combination not selectable in Console’s in-build query editor – it doesn’t support any negative queries. My bug on this was duped to rdar://5039022.)

Credit to Peter Hosey, see http://boredzo.org/blog/archives/2008-01-24/asl-console


-- Jens Ayton

_______________________________________________
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: Philip Aker <email@hidden>
References: 
 >Console littered by Xcode 3.1.1 garbage collection messages (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: Just starting off in obj C
  • Next by Date: Re: Console littered by Xcode 3.1.1 garbage collection messages
  • 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