Re: [NSDictionary objectForKey] crash on x64
Re: [NSDictionary objectForKey] crash on x64
- Subject: Re: [NSDictionary objectForKey] crash on x64
- From: Scott Ribe <email@hidden>
- Date: Fri, 11 Jul 2014 07:07:57 -0600
On Jul 11, 2014, at 6:56 AM, Cosmin Apreutesei <email@hidden> wrote:
> The objectForKey method returns an invalid pointer on x64 (not NULL,
> but the same address 0x937 for _any_ valid key), but works fine on
> i386.
Odds are, your dictionary is no longer there because it was dealloc'd. The fact that you did not (yet, at least) discover this bug on 32-bit is just coincidence. So check out your retain/release/autorelease handling of the dictionary.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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