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

CoreData crash on dealloc


  • Subject: CoreData crash on dealloc
  • From: Jason Swain <email@hidden>
  • Date: Wed, 22 Mar 2006 16:29:21 +0000

I have a CoreData app that sometimes crashes on exit. It only happens occasionally. There was a question about this on the list in January, but there was no solution posted. It looks as if it is happening in a release of an autorelease pool. Anyone have this problem before?

 This is the stack trace:

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x50616e65

Thread 0 Crashed:
0 <<00000000>> 0xfffeff20 objc_msgSend_rtp + 32
1 com.apple.CoreData 0x940586bc -[NSSQLRow dealloc] + 108
2 com.apple.CoreData 0x94059b44 -[NSExternalData dealloc] + 40
3 com.apple.CoreData 0x94059aec - [NSExternalRefCountedData dealloc] + 100
4 com.apple.CoreFoundation 0x907548c8 __CFDictionaryDeallocate + 552
5 com.apple.CoreFoundation 0x9073e554 _CFRelease + 240
6 com.apple.CoreData 0x94059a34 -[NSObjectStoreCache dealloc] + 40
7 com.apple.CoreData 0x940599e8 -[NSSQLRowCache dealloc] + 92
8 com.apple.CoreData 0x940595c8 -[NSSQLCore dealloc] + 144
9 com.apple.CoreFoundation 0x907416ac __CFArrayReleaseValues + 640
10 com.apple.CoreFoundation 0x90741418 __CFArrayDeallocate + 284
11 com.apple.CoreFoundation 0x9073e554 _CFRelease + 240
12 com.apple.CoreData 0x94040a34 - [NSPersistentStoreCoordinator dealloc] + 56
13 com.apple.CoreData 0x9403fdf8 - [NSManagedObjectContext(_NSInternalAdditions) _dispose:] + 1428
14 com.apple.CoreData 0x9403f7e4 - [NSManagedObjectContext dealloc] + 92
15 com.apple.AppKit 0x93ba926c -[NSPersistentDocument setManagedObjectContext:] + 88
16 com.apple.AppKit 0x93ba8de4 -[NSPersistentDocument dealloc] + 80
17 <<00000000>> 0x000392c4 0 + 234180
18 com.apple.Foundation 0x928b1b88 NSPopAutoreleasePool + 536
19 com.apple.Foundation 0x928e198c +[NSAutoreleasePool releaseAllPools] + 60
20 com.apple.AppKit 0x9371fa5c -[NSApplication _deallocHardCore:] + 280
21 com.apple.AppKit 0x9371e5d8 -[NSApplication terminate:] + 520
22 com.apple.AppKit 0x93947728 -[NSApplication _terminateSendShould:] + 56
23 libobjc.A.dylib 0x909c5214 objc_msgSendv + 180
24 com.apple.Foundation 0x928d0ea8 -[NSInvocation invoke] + 944
25 com.apple.Foundation 0x928d817c __NSFireTimer + 116
26 com.apple.CoreFoundation 0x90771aec __CFRunLoopDoTimer + 184
27 com.apple.CoreFoundation 0x9075e464 __CFRunLoopRun + 1680
28 com.apple.CoreFoundation 0x9075da18 CFRunLoopRunSpecific + 268
29 com.apple.HIToolbox 0x9317d1e0 RunCurrentEventLoopInMode + 264
30 com.apple.HIToolbox 0x9317c7ec ReceiveNextEventCommon + 244
31 com.apple.HIToolbox 0x9317c6e0 BlockUntilNextEventMatchingListInMode + 96
32 com.apple.AppKit 0x9367b104 _DPSNextEvent + 384
33 com.apple.AppKit 0x9367adc8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
34 com.apple.AppKit 0x9367730c -[NSApplication run] + 472
35 com.apple.AppKit 0x93767e68 NSApplicationMain + 452
36 <<00000000>> 0x0000efac 0 + 61356
37 ...ph.SecretBookAppAndImporter 0x00001b50 start + 408
38 ...ph.SecretBookAppAndImporter 0x000019f4 start + 60


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Modal dialog preventing NSNotification delivery?
  • Next by Date: Re: awakeFromNib vs appdidfinishlaunching
  • Previous by thread: Re: My little file copy/backup program
  • Next by thread: Want to be called or notified when the screen saver kicks in and out
  • Index(es):
    • Date
    • Thread