• 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: Need help debugging this
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help debugging this


  • Subject: Re: Need help debugging this
  • From: Ken Thomases <email@hidden>
  • Date: Mon, 18 Jul 2011 10:30:50 -0500

On Jul 17, 2011, at 7:34 PM, Andre Masse wrote:

> -[NSCFString string]: unrecognized selector sent to instance 0x7fff71192b70
>
> Is there a way to know which instance is referred at that address? I tried "info symbol *0x7fff71192b70" in gdb and all i get is a blank line. The address is consistent across runs and even after a machine reboot.

Since the address is always consistent, I suspect this is not a memory management bug.  I think you're incorrectly messaging a static object, like a string literal.

Things to try:

po 0x7fff71192b70

info sharedlibrary 0x7fff71192b70

info sym 0x7fff71192b70
(Note: no asterisk)

What is the exact stack trace when you break on the exception?  Are you sure you're looking at the thread which encountered the exception?  Check the other threads.  When does the exception occur (e.g. during application startup, while loading a NIB, when clicking a button, etc.)?

Regards,
Ken

_______________________________________________

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

References: 
 >Need help debugging this (From: Andre Masse <email@hidden>)

  • Prev by Date: Re: Need help debugging this
  • Next by Date: Re: Need help debugging this
  • Previous by thread: Re: Need help debugging this
  • Next by thread: Unable to re-add tracking area after it's been removed
  • Index(es):
    • Date
    • Thread