Re: [NSDictionary objectForKey] crash on x64

2014-07-11 Thread Cosmin Apreutesei
Hi Bavarious, Thanks a lot for the links and explanation. That was very helpful. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)l

Re: [NSDictionary objectForKey] crash on x64

2014-07-11 Thread Bavarious
On 11 Jul 2014, at 09:56, Cosmin Apreutesei wrote: > Hi, > > I have a strange problem. > > I am using C and the objc runtime on OSX 10.9.3 to get a value from a > NSDictionary. > > The objectForKey method returns an invalid pointer on x64 (not NULL, > but the same address 0x937 for _any_ valid

Re: [NSDictionary objectForKey] crash on x64

2014-07-11 Thread Scott Ribe
On Jul 11, 2014, at 6:56 AM, Cosmin Apreutesei 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