• 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 crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDictionary crash


  • Subject: Re: NSDictionary crash
  • From: Bill Bumgarner <email@hidden>
  • Date: Sat, 25 Jul 2009 10:53:41 -0700

On Jul 25, 2009, at 10:04 AM, email@hidden wrote:

I have never been able to reproduce this one myself, but have received
a number of similar crash reports. The crash occurs on this line
(detached thread):

NSDictionary *iTunesLib = [[NSDictionary alloc] initWithContentsOfFile:libPath];

libPath is a retained ivar, guaranteed to be a valid path, never nil.

Three possibilities off the top of my head:

- file is corrupt
- your process ran out of memory
- the file was deleted or rewritten while -initWithContentsOfFile: was in the midst of reading it


b.bum

_______________________________________________

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


  • Follow-Ups:
    • Re: NSDictionary crash
      • From: "email@hidden" <email@hidden>
References: 
 >NSDictionary crash (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: I need a milder application badge (solution)
  • Next by Date: Re: I need a milder application badge (solution)
  • Previous by thread: Re: NSDictionary crash
  • Next by thread: Re: NSDictionary crash
  • Index(es):
    • Date
    • Thread