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

NSDictionary crash


  • Subject: NSDictionary crash
  • From: "email@hidden" <email@hidden>
  • Date: Sat, 25 Jul 2009 19:04:55 +0200

Hello,

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.

Thread 14 Crashed:
0   com.apple.CoreFoundation      	0x90451ac3 __CFFromUTF8 + 675
1   com.apple.CoreFoundation      	0x904e2a3f __CFStringDecodeByteStream3 + 1967
2   com.apple.CoreFoundation      	0x904ca069
__CFStringCreateImmutableFunnel3 + 409
3   com.apple.CoreFoundation      	0x904cb2ce CFStringCreateWithBytes + 94
4   com.apple.CoreFoundation      	0x904a842b
_CFPropertyListCreateFromXMLData + 379
5   com.apple.CoreFoundation      	0x904a91bb
CFPropertyListCreateFromXMLData + 59
6   com.apple.Foundation          	0x958d04be
_NSParseObjectFromASCIIPropertyListOrSerialization + 46
7   com.apple.Foundation          	0x958d0346
+[NSDictionary(NSDictionary) newWithContentsOf:immutable:] + 166
8   com.apple.CoreFoundation      	0x9052457f
-[__NSPlaceholderDictionary initWithContentsOfFile:] + 63
9   com.my.app          	0x0003d4b7 0x1000 + 246967
10  com.my.app          	0x0003d19a 0x1000 + 246170
11  com.apple.Foundation          	0x958b2e0d -[NSThread main] + 45
12  com.apple.Foundation          	0x958b29b4 __NSThread__main__ + 308
13  libSystem.B.dylib             	0x916bf155 _pthread_start + 321
14  libSystem.B.dylib             	0x916bf012 thread_start + 34

Thread 14 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x90451831  ecx: 0xf9c00001  edx: 0x00000000
  edi: 0x024fe617  esi: 0x0000003c  ebp: 0xb01bf4d8  esp: 0xb01bf450
   ss: 0x0000001f  efl: 0x00010206  eip: 0x90451ac3   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
  cr2: 0x00000000

Any ideas? Thanks in advance.
_______________________________________________

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: Bill Bumgarner <email@hidden>
    • Re: NSDictionary crash
      • From: "email@hidden" <email@hidden>
  • Prev by Date: Re: How to use NSTimer correctly?
  • Next by Date: Re: NSTableView - populating from C procedure
  • Previous by thread: Re:How to display the file's basic information in the columns of the tableview
  • Next by thread: Re: NSDictionary crash
  • Index(es):
    • Date
    • Thread