Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in CFNetwork #866

Open
justinanderson opened this issue Feb 27, 2015 · 0 comments
Open

Crash in CFNetwork #866

justinanderson opened this issue Feb 27, 2015 · 0 comments
Labels
Milestone

Comments

@justinanderson
Copy link
Contributor

One report from the App Store. Seems pretty rare. Happened on an iOS 8.1.2 device. It's possible this is related to Shuttles code, since one of the active threads at the time was doing a Shuttles fetch.

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: unknown at 0x00823000
Triggered by Thread:  12

Thread 12 name:  Dispatch queue: com.apple.CFNetwork.addPersistCacheToStorageDaemon
Thread 12 Crashed:
0   libsystem_platform.dylib        0x34097b60 _platform_memmove + 160
1   Foundation                      0x26e9f48e -[NSData(NSData) getBytes:length:] + 114
2   Foundation                      0x26ec7cee -[NSData(NSData) replacementObjectForCoder:] + 130
3   Foundation                      0x26e68dc6 -[NSXPCEncoder _replaceObject:] + 86
4   Foundation                      0x26eca3b4 -[NSXPCEncoder _encodeArrayOfObjects:forKey:] + 188
5   Foundation                      0x26ec75d2 -[NSDictionary(NSDictionary) encodeWithCoder:] + 918
6   Foundation                      0x26e69590 -[NSXPCEncoder _encodeObject:] + 596
7   Foundation                      0x26e69a64 encodeInvocationArguments + 456
8   Foundation                      0x26e6971c -[NSXPCEncoder encodeInvocation:] + 356
9   Foundation                      0x26e69590 -[NSXPCEncoder _encodeObject:] + 596
10  Foundation                      0x26e685ee -[NSXPCConnection _sendInvocation:proxyNumber:remoteInterface:withErrorHandler:timeout:userInfo:] + 1862
11  Foundation                      0x26e78b12 -[NSXPCConnection _sendInvocation:proxyNumber:remoteInterface:withErrorHandler:] + 54
12  Foundation                      0x26e78aca -[_NSXPCDistantObjectWithError forwardInvocation:] + 110
13  CoreFoundation                  0x2622766a ___forwarding___ + 350
14  CoreFoundation                  0x26159054 _CF_forwarding_prep_0 + 20
15  CFNetwork                       0x25cfcc70 -[NSURLStorage_CacheClient addCachedResponseWithDictionary:key:] + 116
16  CFNetwork                       0x25ccbf98 ___ZN12__CFURLCache23CreateAndStoreCacheNodeEP16__CFURLCacheNodePK20_CFCachedURLResponsePK10__CFStringPK13_CFURLRequestPKvbRb_block_invoke + 1572
17  libdispatch.dylib               0x33f3a7b8 _dispatch_call_block_and_release + 8
18  libdispatch.dylib               0x33f425ac _dispatch_queue_drain + 948
19  libdispatch.dylib               0x33f3cf80 _dispatch_queue_invoke + 80
20  libdispatch.dylib               0x33f43b98 _dispatch_root_queue_drain + 336
21  libdispatch.dylib               0x33f44cd2 _dispatch_worker_thread3 + 90
22  libsystem_pthread.dylib         0x3409be2e _pthread_wqthread + 666
23  libsystem_pthread.dylib         0x3409bb80 start_wqthread + 4

Thread 13 name:  Dispatch queue: NSPersistentStoreCoordinator 0x14d609f0
Thread 13:
0   libsystem_kernel.dylib          0x3400d620 syscall_thread_switch + 8
1   libsystem_platform.dylib        0x3409a4fe _os_lock_handoff_lock_slow + 74
2   libobjc.A.dylib                 0x339f49c0 objc_object::sidetable_retain_slow((anonymous namespace)::SideTable*) + 12
3   CoreFoundation                  0x2624e904 __CFBasicHashAddValue + 632
4   CoreFoundation                  0x26126246 CFDictionarySetValue + 190
5   Foundation                      0x26ec8a84 -[NSKeyedUnarchiver _replaceObject:withObject:] + 404
6   Foundation                      0x26ec31d4 _decodeObjectBinary + 3380
7   Foundation                      0x26ec9278 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1608
8   Foundation                      0x26e65c06 -[NSArray(NSArray) initWithCoder:] + 314
9   Foundation                      0x26ec3082 _decodeObjectBinary + 3042
10  Foundation                      0x26ec9278 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1608
11  Foundation                      0x26e65c06 -[NSArray(NSArray) initWithCoder:] + 314
12  Foundation                      0x26ec3082 _decodeObjectBinary + 3042
13  Foundation                      0x26ec2390 _decodeObject + 272
14  Foundation                      0x26ec1782 +[NSKeyedUnarchiver unarchiveObjectWithData:] + 78
15  CoreData                        0x260135fa _prepareResultsFromResultSet + 3094
16  CoreData                        0x2600fa54 newFetchedRowsForFetchPlan_MT + 2956
17  CoreData                        0x25f2df0e -[NSSQLCore objectsForFetchRequest:inContext:] + 702
18  CoreData                        0x25f2d894 -[NSSQLCore executeRequest:withContext:error:] + 568
19  CoreData                        0x25fda520 __65-[NSPersistentStoreCoordinator executeRequest:withContext:error:]_block_invoke + 3304
20  CoreData                        0x25fe17c8 gutsOfBlockToNSPersistentStoreCoordinatorPerform + 260
21  libdispatch.dylib               0x33f3a7a4 _dispatch_client_callout + 20
22  libdispatch.dylib               0x33f41ac4 _dispatch_barrier_sync_f_invoke + 44
23  CoreData                        0x25fd5302 _perform + 130
24  CoreData                        0x25f2d512 -[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 310
25  CoreData                        0x25f2c1da -[NSManagedObjectContext executeFetchRequest:error:] + 590
26  CoreData                        0x25fba4c4 -[NSManagedObjectContext(_NestedContextSupport) _parentObjectsForFetchRequest:inContext:error:] + 404
27  CoreData                        0x25fbabf2 __82-[NSManagedObjectContext(_NestedContextSupport) executeRequest:withContext:error:]_block_invoke + 498
28  CoreData                        0x25fbc6ac internalBlockToNSManagedObjectContextPerform + 64
29  libdispatch.dylib               0x33f3a7a4 _dispatch_client_callout + 20
30  libdispatch.dylib               0x33f41ac4 _dispatch_barrier_sync_f_invoke + 44
31  CoreData                        0x25fadc88 _perform + 168
32  CoreData                        0x25fba92c -[NSManagedObjectContext(_NestedContextSupport) executeRequest:withContext:error:] + 236
33  CoreData                        0x25f2c1da -[NSManagedObjectContext executeFetchRequest:error:] + 590
34  CoreData                        0x26022ac2 __43-[NSFetchedResultsController performFetch:]_block_invoke + 326
35  CoreData                        0x25fb27aa developerSubmittedBlockToNSManagedObjectContextPerform + 178
36  CoreData                        0x25fb294a -[NSManagedObjectContext performBlockAndWait:] + 186
37  CoreData                        0x25f44d10 -[NSFetchedResultsController performFetch:] + 580
38  MITMobile                       0x00193306 __38-[MITShuttleDataSource _performFetch:]_block_invoke (MITShuttleDataSource.m:90)
39  CoreData                        0x25fb27aa developerSubmittedBlockToNSManagedObjectContextPerform + 178
40  CoreData                        0x25fb294a -[NSManagedObjectContext performBlockAndWait:] + 186
41  MITMobile                       0x0019325c -[MITShuttleDataSource _performFetch:] (MITShuttleDataSource.m:88)
42  MITMobile                       0x00193526 __50-[MITShuttleDataSource _performAsynchronousFetch:]_block_invoke (MITShuttleDataSource.m:106)
43  CoreData                        0x25fb27aa developerSubmittedBlockToNSManagedObjectContextPerform + 178
44  libdispatch.dylib               0x33f425ac _dispatch_queue_drain + 948
45  libdispatch.dylib               0x33f3cf80 _dispatch_queue_invoke + 80
46  libdispatch.dylib               0x33f43b98 _dispatch_root_queue_drain + 336
47  libdispatch.dylib               0x33f44cd2 _dispatch_worker_thread3 + 90
48  libsystem_pthread.dylib         0x3409be2e _pthread_wqthread + 666
49  libsystem_pthread.dylib         0x3409bb80 start_wqthread + 4
@justinanderson justinanderson added this to the 4.0.2 milestone Feb 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant