Created
November 22, 2019 19:30
-
-
Save philipshen/96228bd2599d5d8a7c84299c66bdebcd to your computer and use it in GitHub Desktop.
BDA Crash Investigation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) | |
* frame #0: 0x000000010b972fe0 Barista 2`specialized OrderQueueCell.status.didset(self=0x00007fabf1408a00) at OrderQueueCell.swift:55:21 [opt] | |
frame #1: 0x000000010b971647 Barista 2`OrderQueueCell.configure(orderItem:position:urgency:status:isFoodView:) [inlined] bda2.OrderQueueCell.status.didset : bda2.OrderQueueCell.Status at <compiler-generated>:0 [opt] | |
frame #2: 0x000000010b971642 Barista 2`OrderQueueCell.configure(orderItem:position:urgency:status:isFoodView:) [inlined] bda2.OrderQueueCell.status.setter : bda2.OrderQueueCell.Status(newValue=selected, self=0x00007fabf1408a00) at OrderQueueCell.swift:0 [opt] | |
frame #3: 0x000000010b971630 Barista 2`OrderQueueCell.configure(orderItem=<unavailable>, position=primary, urgency=urgent, status=selected, isFoodView=false, self=0x00007fabf1408a00) at OrderQueueCell.swift:113 [opt] | |
frame #4: 0x000000010b9c8670 Barista 2`OrderQueueViewModel.configureQueueCell(cell=0x00007fabf1408a00, indexPath=Foundation.IndexPath @ 0x0000600001f400a0, self=<unavailable>) at OrderQueueViewModel+TableData.swift:258:14 [opt] | |
frame #5: 0x000000010b98c6b2 Barista 2`OrderQueueViewController.tableView(_:cellForRowAt:) at OrderQueueViewModel+TableData.swift:97:18 [opt] | |
frame #6: 0x000000010b98c651 Barista 2`OrderQueueViewController.tableView(tableView=<unavailable>, indexPath=Foundation.IndexPath @ 0x00007ffee42ec090, self=<unavailable>) at OrderQueueViewController.swift:157 [opt] | |
frame #7: 0x000000010b98c750 Barista 2`@objc OrderQueueViewController.tableView(_:cellForRowAt:) at <compiler-generated>:0 [opt] | |
frame #8: 0x00007fff47a546ae UIKitCore`-[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 781 | |
frame #9: 0x00007fff47a54bc7 UIKitCore`-[UITableView _createPreparedCellForGlobalRow:willDisplay:] + 73 | |
frame #10: 0x00007fff47a82424 UIKitCore`-[_UITableViewUpdateSupport(Private) _setupAnimationsForNewlyInsertedCells] + 7750 | |
frame #11: 0x00007fff47a8b9ff UIKitCore`-[_UITableViewUpdateSupport _setupAnimations] + 118 | |
frame #12: 0x00007fff47a22272 UIKitCore`-[UITableView _updateWithItems:updateSupport:] + 2892 | |
frame #13: 0x00007fff47a1a220 UIKitCore`-[UITableView _endCellAnimationsWithContext:] + 17188 | |
frame #14: 0x00007fff47a34057 UIKitCore`-[UITableView endUpdatesWithContext:] + 112 | |
frame #15: 0x000000010b92e93b Barista 2`specialized OrderQueueViewModel.orderTableDataSourceDidEndChanges<A>(self=0x0000600000907390) at OrderQueueViewModel.swift:285:25 [opt] | |
frame #16: 0x000000010b9d6819 Barista 2`specialized OrderQueueDataSource.controller(_:didChange:at:for:newIndexPath:) [inlined] generic specialization <bda2.OrderQueueDataSource> of bda2.OrderQueueViewModel.orderTableDataSourceDidEndChanges<A where A: bda2.OrderTableDataSource>(A) -> () at <compiler-generated>:0 [opt] | |
frame #17: 0x000000010b9d6814 Barista 2`specialized OrderQueueDataSource.controller(_:didChange:at:for:newIndexPath:) [inlined] generic specialization <bda2.OrderQueueDataSource> of protocol witness for bda2.OrderTableDataSourceDelegate.orderTableDataSourceDidEndChanges<A where A1: bda2.OrderTableDataSource>(A1) -> () in conformance bda2.OrderQueueViewModel : bda2.OrderTableDataSourceDelegate in bda2 at <compiler-generated>:284 [opt] | |
frame #18: 0x000000010b9d6814 Barista 2`specialized OrderQueueDataSource.controller(_:didChange:at:for:newIndexPath:) [inlined] $defer #1 () -> () in bda2.OrderQueueDataSource.controller(_: __C.NSFetchedResultsController<__C.NSFetchRequestResult>, didChange: Any, at: Swift.Optional<Foundation.IndexPath>, for: __C.NSFetchedResultsChangeType, newIndexPath: Swift.Optional<Foundation.IndexPath>) -> () at OrderQueueDataSource.swift:460 [opt] | |
frame #19: 0x000000010b9d67f9 Barista 2`specialized OrderQueueDataSource.controller(anObject=<unavailable>, type=<invalid> (0x8), self=0x0000600001e1b930) at OrderQueueDataSource.swift:460 [opt] | |
frame #20: 0x000000010b9d0e1b Barista 2`@objc OrderQueueDataSource.controller(_:didChange:at:for:newIndexPath:) [inlined] bda2.OrderQueueDataSource.controller(_: __C.NSFetchedResultsController<__C.NSFetchRequestResult>, didChange: Any, at: Swift.Optional<Foundation.IndexPath>, for: __C.NSFetchedResultsChangeType, newIndexPath: Swift.Optional<Foundation.IndexPath>) -> () at <compiler-generated>:0 [opt] | |
frame #21: 0x000000010b9d0e05 Barista 2`@objc OrderQueueDataSource.controller(_:didChange:at:for:newIndexPath:) at <compiler-generated>:454 [opt] | |
frame #22: 0x00007fff23991e3e CoreData`__82-[NSFetchedResultsController(PrivateMethods) _core_managedObjectContextDidChange:]_block_invoke + 5715 | |
frame #23: 0x00007fff238199df CoreData`developerSubmittedBlockToNSManagedObjectContextPerform + 154 | |
frame #24: 0x00007fff238198c6 CoreData`-[NSManagedObjectContext performBlockAndWait:] + 197 | |
frame #25: 0x00007fff239907d9 CoreData`-[NSFetchedResultsController(PrivateMethods) _core_managedObjectContextDidChange:] + 105 | |
frame #26: 0x00007fff23b7936c CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 | |
frame #27: 0x00007fff23b787e5 CoreFoundation`_CFXRegistrationPost1 + 421 | |
frame #28: 0x00007fff23b78551 CoreFoundation`___CFXNotificationPost_block_invoke + 193 | |
frame #29: 0x00007fff23c76873 CoreFoundation`-[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1811 | |
frame #30: 0x00007fff23b77ea6 CoreFoundation`_CFXNotificationPost + 950 | |
frame #31: 0x00007fff2572bc07 Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 59 | |
frame #32: 0x00007fff238062e6 CoreData`-[NSManagedObjectContext(_NSInternalNotificationHandling) _postObjectsDidChangeNotificationWithUserInfo:] + 541 | |
frame #33: 0x00007fff238aa0be CoreData`-[NSManagedObjectContext(_NSInternalChangeProcessing) _createAndPostChangeNotification:deletions:updates:refreshes:deferrals:wasMerge:] + 1557 | |
frame #34: 0x00007fff23800ddf CoreData`-[NSManagedObjectContext(_NSInternalChangeProcessing) _processRecentChanges:] + 1217 | |
frame #35: 0x00007fff238040e3 CoreData`-[NSManagedObjectContext save:] + 367 | |
frame #36: 0x000000010b93b089 Barista 2`specialized CoreDataContext.save() [inlined] closure #1 () throws -> () in bda2.CoreDataContext.save() throws -> () at CoreDataContext.swift:128:30 [opt] | |
frame #37: 0x000000010b93b05c Barista 2`specialized CoreDataContext.save() [inlined] reabstraction thunk helper from @callee_guaranteed () -> (@error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out (), @error @owned Swift.Error) at <compiler-generated>:0 [opt] | |
frame #38: 0x000000010b93b05c Barista 2`specialized CoreDataContext.save() [inlined] generic specialization <()> of bda2.CoreDataContext.(block=<unavailable>)<A>(() throws -> A) throws -> A at CoreDataContext.swift:194 [opt] | |
frame #39: 0x000000010b93b05c Barista 2`specialized CoreDataContext.save() at CoreDataContext.swift:127 [opt] | |
frame #40: 0x000000010b914e83 Barista 2`OrderRepository.decodeOrderData(_:) [inlined] bda2.CoreDataContext.save() throws -> () at <compiler-generated>:0 [opt] | |
frame #41: 0x000000010b914e7b Barista 2`OrderRepository.decodeOrderData(data=<unavailable>, self=0x0000600000c7d200) at OrderRepository.swift:261 [opt] | |
frame #42: 0x000000010b9158aa Barista 2`closure #1 in OrderRepository.orderPollingService(self=0x0000600003e1ab81, data=<unavailable>) at OrderRepository.swift:327:39 [opt] | |
frame #43: 0x000000010b9135c9 Barista 2`thunk for @escaping @callee_guaranteed () -> () at <compiler-generated>:0 [opt] | |
frame #44: 0x000000010cb52dd4 libdispatch.dylib`_dispatch_call_block_and_release + 12 | |
frame #45: 0x000000010cb53d48 libdispatch.dylib`_dispatch_client_callout + 8 | |
frame #46: 0x000000010cb61de6 libdispatch.dylib`_dispatch_main_queue_callback_4CF + 1500 | |
frame #47: 0x00007fff23bb1df9 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 | |
frame #48: 0x00007fff23baca59 CoreFoundation`__CFRunLoopRun + 2329 | |
frame #49: 0x00007fff23babe16 CoreFoundation`CFRunLoopRunSpecific + 438 | |
frame #50: 0x00007fff38438bb0 GraphicsServices`GSEventRunModal + 65 | |
frame #51: 0x00007fff4784fb68 UIKitCore`UIApplicationMain + 1621 | |
frame #52: 0x000000010b9163da Barista 2`main at AppDelegate.swift:18:26 [opt] | |
frame #53: 0x00007fff51a1dc25 libdyld.dylib`start + 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment