Skip to content

Instantly share code, notes, and snippets.

@brianpartridge
Created February 8, 2016 23:02
Show Gist options
  • Save brianpartridge/df980e8ae9a94a13a8cc to your computer and use it in GitHub Desktop.
Save brianpartridge/df980e8ae9a94a13a8cc to your computer and use it in GitHub Desktop.
Weird Swift crash stack
Crashed: com.apple.main-thread
EXC_BREAKPOINT 0x00000000e7ffdefe
Thread : Crashed: com.apple.main-thread
0 MyApp 0x210ac4 specialized CartTableViewController.tableView(UITableView, titleForDeleteConfirmationButtonForRowAtIndexPath : NSIndexPath) -> String? (CartTableViewController.swift:190)
1 MyApp 0x2106bc specialized CartTableViewController.tableView(UITableView, titleForDeleteConfirmationButtonForRowAtIndexPath : NSIndexPath) -> String? (CartTableViewController.swift:184)
2 MyApp 0x20d990 @objc CartTableViewController.tableView(UITableView, titleForDeleteConfirmationButtonForRowAtIndexPath : NSIndexPath) -> String? (CartTableViewController.swift)
3 UIKit 0x2726acbb -[UITableView _titleForDeleteConfirmationButtonForRowAtIndexPath:] + 146
4 UIKit 0x27392f4f -[UITableView _deleteConfirmationButtonForRowAtIndexPath:] + 102
5 UIKit 0x27393483 -[UITableView _swipeActionButtonsForRowAtIndexPath:] + 726
6 UIKit 0x27393193 -[UITableView _swipeActionButtons] + 90
7 UIKit 0x2726a6c3 __32-[UITableViewCell _beginSwiping]_block_invoke + 178
8 UIKit 0x2706f651 +[UIView(Animation) performWithoutAnimation:] + 72
9 UIKit 0x2726a601 -[UITableViewCell _beginSwiping] + 92
10 UIKit 0x2738feed -[UITableViewWrapperView handleSwipeBeginning:] + 248
11 UIKit 0x275b72fd _UIGestureRecognizerSendTargetActions + 352
12 UIKit 0x2720034f _UIGestureRecognizerSendActions + 170
13 UIKit 0x27092da7 -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 578
14 UIKit 0x275b858f ___UIGestureRecognizerUpdate_block_invoke904 + 62
15 UIKit 0x27053d97 _UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks + 298
16 UIKit 0x27050367 _UIGestureRecognizerUpdate + 2902
17 CoreFoundation 0x22ee6f59 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 20
18 CoreFoundation 0x22ee525d __CFRunLoopDoObservers + 280
19 CoreFoundation 0x22ee568f __CFRunLoopRun + 958
20 CoreFoundation 0x22e38bf9 CFRunLoopRunSpecific + 520
21 CoreFoundation 0x22e389e5 CFRunLoopRunInMode + 108
22 GraphicsServices 0x24084ac9 GSEventRunModal + 160
23 UIKit 0x270c8ba1 UIApplicationMain + 144
24 MyApp 0xa7ca7 main (main.m:35)
25 libdispatch.dylib 0x22ae7873 (Missing)
@muditjaju
Copy link

I am facing a similar problem. (More details: http://stackoverflow.com/questions/37276942/swift-specialised-crash-on-uicollectionview-cellforitematindexpath)
Did anyone find a reason for the problem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment