Re: NSDictionary crash
Re: NSDictionary crash
On Sat, Jul 25, 2009 at 7:04 PM,
email@hidden<email@hidden> wrote:
> 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.
>
PS. Should have said it's a sigbus
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 14
_______________________________________________
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