• 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: Trapping Console Messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trapping Console Messages


  • Subject: Re: Trapping Console Messages
  • From: Karl Moskowski <email@hidden>
  • Date: Tue, 21 Apr 2009 15:18:30 -0400


On 21-Apr-09, at 12:57 PM, Gordon Apple wrote:

Is there a way to trap (or break) when a console message appears, so one can
look at the stack trace and try to find out where it is coming from?


After my first document window appears, I get two messages as follows:

RTP(4643,0xb0103000) malloc: free_garbage: garbage ptr = 0x106e510, has
non-zero refcount = 1


RTP is the program. I also get 4 of these messages if I launch another
window having a scroller, but do not get them for similar windows not
containing a scroller. I am running GC and having a variety of crashes after
a window is opened and closed a few times, which I'm wondering if is related
to this message.


Are you using any of the template images available in Interface Builder (e.g., NSAddTemplate, NSActionTemplate) in your app. If so, this is a long-known problem in GC apps, and the messages are probably benign.
<http://www.cocoabuilder.com/archive/message/cocoa/2007/10/29/191658>


----
Karl Moskowski <email@hidden>
Voodoo Ergonomics Inc. <http://voodooergonomics.com/>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Trapping Console Messages
      • From: Gordon Apple <email@hidden>
  • Prev by Date: Re: Trapping Console Messages
  • Next by Date: Using expl(), etc.
  • Previous by thread: Re: Trapping Console Messages
  • Next by thread: Re: Trapping Console Messages
  • Index(es):
    • Date
    • Thread