• 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: How to Control App Crashing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Control App Crashing


  • Subject: Re: How to Control App Crashing
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 9 Jul 2008 08:23:00 -0700


On 9 Jul '08, at 3:12 AM, SridharRao M wrote:

Hi,
I tried by using breakpoint on -[NSException raise] and objc_exception_throw. still giving same exception.
*** -[NSCFType count]: unrecognized selector sent to instance 0x47bae0
2008-07-09 15:14:38.737 iSoundTest[2330:20b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFType count]: unrecognized selector sent to instance 0x47bae0'

Exceptions like this one — a common message like -count being sent to some random object that doesn't understand it, from inside framework code — are most often caused by an object getting dealloced too early. The next time that object pointer gets called, it is likely to point to a different, newer object.

To debug this, look up Technote 2124 in the documentation viewer, scroll to the "Foundation" section, and read the docs on using NSZombieEnabled.

—Jens

PS: And please get a clue about not using the word "*Ph*n*" in public lists! You've been warned several times already.

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

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

This email sent to email@hidden

References: 
 >How to Control App Crashing (From: "SridharRao M" <email@hidden>)
 >Re: How to Control App Crashing (From: Fabio <email@hidden>)
 >Re: How to Control App Crashing (From: "SridharRao M" <email@hidden>)

  • Prev by Date: Re: How to Control App Crashing
  • Next by Date: Re: Programmatic Aggregate Device issue on Intel Mac, not always completing initialisation?
  • Previous by thread: Re: How to Control App Crashing
  • Next by thread: Saving a MIDI/SMF file: How?
  • Index(es):
    • Date
    • Thread