Re: Need help debugging this
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