Skip to content

Instantly share code, notes, and snippets.

@imhuntingwabbits
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imhuntingwabbits/4e0166f09be2fea6f38b to your computer and use it in GitHub Desktop.
Save imhuntingwabbits/4e0166f09be2fea6f38b to your computer and use it in GitHub Desktop.
Crash blog post
Incident Identifier: 6FBDC34D-419A-4935-A779-79695E01ACA4
CrashReporter Key: 207bf1d2971018f44f385b92648252feaf7a5f60
Hardware Model: iPhone6,1
Process: Wealthfront [165]
Version: 1.0 (1.0)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-02-24 08:14:56.266 -0800
OS Version: iOS 7.0.4 (11B554a)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000009176107d
Triggered by Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x389b3b67 objc_msgSend + 7
1 UIKit 0x30ed7335 -[UIScrollView(UIScrollViewInternal) _delegateScrollViewAnimationEnded] + 49
2 UIKit 0x30ed72c1 -[UIScrollView(UIScrollViewInternal) _scrollViewAnimationEnded:finished:] + 173
3 UIKit 0x30f7fd67 -[UIAnimator stopAnimation:] + 463
4 UIKit 0x30f7f749 -[UIAnimator(Static) _advanceAnimationsOfType:withTimestamp:] + 281
5 UIKit 0x30f7f629 -[UIAnimator(Static) _LCDHeartbeatCallback:] + 49
6 QuartzCore 0x30ab2acf CA::Display::DisplayLinkItem::dispatch() + 95
7 QuartzCore 0x30ab2879 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 341
8 IOMobileFramebuffer 0x336dc76b IOMobileFramebufferVsyncNotifyFunc + 103
9 IOKit 0x2f339be3 IODispatchCalloutFromCFMessage + 247
10 CoreFoundation 0x2e617b7f __CFMachPortPerform + 135
11 CoreFoundation 0x2e622775 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 33
12 CoreFoundation 0x2e62270f __CFRunLoopDoSource1 + 343
13 CoreFoundation 0x2e620edb __CFRunLoopRun + 1403
14 CoreFoundation 0x2e58b46d CFRunLoopRunSpecific + 521
15 CoreFoundation 0x2e58b24f CFRunLoopRunInMode + 103
16 GraphicsServices 0x332bf2e7 GSEventRunModal + 135
17 UIKit 0x30e40841 UIApplicationMain + 1133
18 Wealthfront 0x0003719f 0x28000 + 61855
19 libdyld.dylib 0x38eb1ab5 start + 1
- (void)dealloc {
_tableView.dataSource = nil;
_tableView.delegate = nil;
}
if ([_delegate respondToSelector:@selector(scrollViewDidEndScrollingAnimation:)]) {
[_delegate scrollViewDidEndScrollingAnimation:self];
}
- (void)testView {
WFTableViewController *vc = [[WFTableViewController alloc] init];
[vc view];
UITableView *tv = vc.tableView;
vc = nil;
STAssertNil(tv.dataSource, @"Should be nil");
STAssertNil(tv.delegate, @"Should be nil");
}
@interface UIScrollView (PrivateTestMethods)
- (void)_scrollViewAnimationEnded:(UIScrollView *)scrollView finished:(BOOL)finished;
@end
- (void)testView {
WFTableViewController *vc = [[WFTableViewController alloc] init];
[vc view];
UITableView *tv = vc.tableView;
vc = nil;
[tv _scrollViewAnimationEnded:tv finished:YES];
STAssertNil(tv.dataSource, @"Should be nil");
STAssertNil(tv.delegate, @"Should be nil");
}
(lldb) bt
* thread #1: tid = 0x17e7cf, 0x020150b2 libobjc.A.dylib`objc_msgSend + 14, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=1, address=0x8000000c)
frame #0: 0x020150b2 libobjc.A.dylib`objc_msgSend + 14
frame #1: 0x008956a5 UIKit`-[UIScrollView(UIScrollViewInternal) _delegateScrollViewAnimationEnded] + 62
frame #2: 0x008957bc UIKit`-[UIScrollView(UIScrollViewInternal) _scrollViewAnimationEnded:finished:] + 189
frame #3: 0x09ad6083 WealthfrontTests`-[WFTableViewControllerTest testView](self=0x08ef2db0, _cmd=0x09d106d0) + 17891 at WFTableViewControllerTest.m:125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment