Трудно отследить ошибку, возникающую в нашем приложении для iPhone.Вот что мы знаем ....
- Относится к CoreData
- Происходит во время взлёта/ iPhone версии
Трассировка стека:
0:in `0x000d0147 ht_handle_signal + 94'
libsystem_c.dylib:1:in `0x3363a72f _sigtramp + 42'
CoreData:2:in `0x3295399d -[NSTemporaryObjectID dealloc] + 24'
CoreData:3:in `0x32953871 -[NSTemporaryObjectID release] + 40'
CoreData:4:in `0x328f25f9 -[NSManagedObject dealloc] + 164'
CoreData:5:in `0x32898a75 -[_PFManagedObjectReferenceQueue _processReferenceQueue:] + 1876'
CoreData:6:in `0x328bd295 -[NSManagedObjectContext(_NSInternalNotificationHandling) _processReferenceQueue:] + 24'
CoreData:7:in `0x328bcf45 -[NSManagedObjectContext(_NSInternalChangeProcessing) _processRecentChanges:] + 1756'
CoreData:8:in `0x328fe3a5 -[NSManagedObjectContext processPendingChanges] + 16'
CoreData:9:in `0x3289827f _performRunLoopAction + 126'
CoreFoundation:10:in `0x332d1a35 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 16'
CoreFoundation:11:in `0x332d3465 __CFRunLoopDoObservers + 412'
CoreFoundation:12:in `0x332d475b __CFRunLoopRun + 854'
CoreFoundation:13:in `0x33264ec3 CFRunLoopRunSpecific + 230'
CoreFoundation:14:in `0x33264dcb CFRunLoopRunInMode + 58'
GraphicsServices:15:in `0x33dcd41f GSEventRunModal + 114'
GraphicsServices:16:in `0x33dcd4cb GSEventRun + 62'
UIKit:17:in `0x32db1d69 -[UIApplication _run] + 404'
UIKit:18:in `0x32daf807 UIApplicationMain + 670'
:19:in `0x00002975 main + 48'
:20:in `0x00002940 start + 40'
Как бы мы пошли дальше, отладка, кажется, трудно привязать к определенной области кода в большом приложении с использованием CoreData.
Альтернативная трассировка стека, та же ошибка, которую мы подозреваем:
Bus error: 0x00002e55 main + 48
:0:in `0x000cdaf1 ht_handle_signal + 92'
libSystem.B.dylib:1:in `0x35de2487 _sigtramp + 34'
CoreData:2:in `0x34985dbb -[NSManagedObject dealloc] + 174'
CoreData:3:in `0x3496cc4b -[_PFManagedObjectReferenceQueue _processReferenceQueue:] + 1914'
CoreData:4:in `0x3496c4c5 -[NSManagedObjectContext(_NSInternalNotificationHandling) _processReferenceQueue:] + 24'
CoreData:5:in `0x3496c20b -[NSManagedObjectContext(_NSInternalChangeProcessing) _processRecentChanges:] + 1762'
CoreData:6:in `0x349a21c9 -[NSManagedObjectContext processPendingChanges] + 16'
CoreData:7:in `0x3499473d _performRunLoopAction + 124'
CoreFoundation:8:in `0x3752a80f __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18'
CoreFoundation:9:in `0x3752a63d __CFRunLoopDoObservers + 500'
CoreFoundation:10:in `0x3752199d __CFRunLoopRun + 940'
CoreFoundation:11:in `0x3752150b CFRunLoopRunSpecific + 226'
CoreFoundation:12:in `0x37521419 CFRunLoopRunInMode + 60'
GraphicsServices:13:in `0x33e76d24 GSEventRunModal + 196'
UIKit:14:in `0x3591d57c -[UIApplication _run] + 588'
UIKit:15:in `0x3591a558 UIApplicationMain + 972'
:16:in `0x00002e55 main + 48'
:17:in `0x00002e20 start + 40'