• 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: Weird exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird exception


  • Subject: Re: Weird exception
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 23 Jan 2010 12:12:42 -0800

On Fri, Jan 22, 2010 at 6:10 AM, Alexander Bokovikov
<email@hidden> wrote:
> Browsing the console log I've found that my app raises an exception, when it
> is launched in Mac OS X 10.4. I built it in 10.5 with 10.4 as a target
> setting. I didn't see any problems there. The exception is caused by
> unsupported selector calling [NSString boolValue]. I've scanned all my
> project but couldn't find any reference to "boolValue". What could cause the
> problem?

Unrecognized selector exceptions are usually caused by memory
management bugs. It looks like an NSNumber is getting overreleased
somewhere, and its memory is being taken up by an NSString. Since you
don't do any -boolValue calls yourself, Keary's thought about bindings
is probably correct.

You should turn on zombies and run your app in the debugger on 10.4.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Weird exception
      • From: Alexander Bokovikov <email@hidden>
References: 
 >Weird exception (From: Alexander Bokovikov <email@hidden>)

  • Prev by Date: Re: View Handling
  • Next by Date: Re: KVO and object release timing (for a NSCollectionView)
  • Previous by thread: Re: Weird exception
  • Next by thread: Re: Weird exception
  • Index(es):
    • Date
    • Thread