• 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: [NSDictionary objectForKey] crash on x64
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >[NSDictionary objectForKey] crash on x64 (From: Cosmin Apreutesei <email@hidden>)

  • Prev by Date: [NSDictionary objectForKey] crash on x64
  • Next by Date: Re: [NSDictionary objectForKey] crash on x64
  • Previous by thread: [NSDictionary objectForKey] crash on x64
  • Next by thread: Re: [NSDictionary objectForKey] crash on x64
  • Index(es):
    • Date
    • Thread