Application received signal SIGSEGV
(null)
((
0 CoreFoundation 0x00000001850a2da4 <redacted> + 252
1 libobjc.A.dylib 0x000000018425c5ec objc_exception_throw + 56
2 CoreFoundation 0x00000001850a2c6c <redacted> + 0
3 rrdSJ -[UMAnalyticsConfig init] (in rrdSJ) + 120 rrdSJ + 3089900
4 libsystem_platform.dylib 0x0000000184cc4b48 _sigtramp + 36
5 CoreGraphics 0x0000000186a48548 CGDataProviderRetainBytePtr + 216
6 QuartzCore 0x0000000189116c20 <redacted> + 196
7 QuartzCore 0x0000000189114e58 <redacted> + 868
8 QuartzCore 0x00000001891179e0 <redacted> + 472
9 QuartzCore 0x0000000189117da4 <redacted> + 20
10 QuartzCore 0x0000000189227b0c <redacted> + 420
11 QuartzCore 0x0000000189189ba0 <redacted> + 576
12 QuartzCore 0x00000001891b15d0 <redacted> + 580
13 QuartzCore 0x00000001891b2450 <redacted> + 92
14 CoreFoundation 0x000000018504a910 <redacted> + 32
15 CoreFoundation 0x0000000185048238 <redacted> + 412
16 CoreFoundation 0x0000000185048884 <redacted> + 1436
17 CoreFoundation 0x0000000184f68da8 CFRunLoopRunSpecific + 552
18 GraphicsServices 0x0000000186f4b020 GSEventRunModal + 100
19 UIKit 0x000000018ef4978c UIApplicationMain + 236
20 rrdSJ -[DWCustomizeTableView reloadData] (in rrdSJ) (DWCustomizeTableView.m:89) rrdSJ + 675572
21 libdyld.dylib 0x00000001849f9fc0 <redacted> + 4
)
dSYM UUID: E7CA6480-AD76-3EE3-A310-FB4402C17B17
CPU Type: arm64
Slide Address: 0x0000000100000000
Binary Image: rrdSJ
Base Address: 0x0000000102fb0000
DWCustomizeTableView.m:89
viewSeparatorLine = [[UIView alloc] initWithFrame:CGRectMake(0, 0, _borderWidth, bgView.height)];
I catched this exception.
Could anybody give me some suggestions on how to solve this?
Related
how can I locate the code where exception raised like below?
this only happened on few devices like iPhone6 run iOS 10
xcode stack trace screenshot
and also
Application received signal SIGSEGV (null)
0 CoreFoundation 0x00000001831e01d8 <redacted> + 148
1 libobjc.A.dylib 0x0000000181c1855c objc_exception_throw + 56
2 CoreFoundation 0x00000001831e0108 <redacted> + 0
3 xxx 0x100464a00 xxx + 4606464
4 libsystem_platform.dylib 0x000000018226f338 _sigtramp + 36
5 UIKit 0x000000018902b588 <redacted> + 80
6 QuartzCore 0x00000001864ee448 <redacted> + 208
7 QuartzCore 0x00000001864e30e8 <redacted> + 292
8 QuartzCore 0x00000001864e2fa8 <redacted> + 32
9 QuartzCore 0x000000018645fc64 <redacted> + 252
10 QuartzCore 0x00000001864870d0 <redacted> + 512
11 QuartzCore 0x0000000186487af0 <redacted> + 120
12 CoreFoundation 0x000000018318d7dc <redacted> + 32
13 CoreFoundation 0x000000018318b40c <redacted> + 372
14 CoreFoundation 0x00000001830ba068 CFRunLoopRunSpecific + 476
15 WebCore 0x0000000187c5ba2c <redacted> + 456
16 libsystem_pthread.dylib 0x0000000182273860 <redacted> + 240
17 libsystem_pthread.dylib 0x0000000182273770 <redacted> + 0
18 libsystem_pthread.dylib 0x0000000182270dbc thread_start + 4
I have a stack trace from Flurry that is from a crash that is happening a couple times on my app and I dont understand what is going wrong. Any suggestions or hints how I can make sense of this?
0 CoreFoundation 0x184bc2084 <redacted> + 132
1 libobjc.A.dylib 0x1951a00e4 _objc_exception_throw + 60
2 CoreFoundation 0x184ab6ff8 <redacted> + 0
3 My App 0x100015ef4 __mh_execute_header + 73460
4 My App 0x10000c61c __mh_execute_header + 34332
5 My App 0x10000b024 __mh_execute_header + 28708
6 CFNetwork 0x1846624cc <redacted> + 80
7 CFNetwork 0x18466245c <redacted> + 208
8 CFNetwork 0x1846625d8 <redacted> + 60
9 CFNetwork 0x184537684 <redacted> + 104
10 CFNetwork 0x1845ffcb8 <redacted> + 104
11 CFNetwork 0x1845239cc <redacted> + 76
12 CoreFoundation 0x184aa506c _CFArrayApplyFunction + 68
13 CFNetwork 0x184523878 <redacted> + 136
14 CFNetwork 0x18452372c <redacted> + 312
15 CFNetwork 0x184523558 <redacted> + 68
16 CoreFoundation 0x184b7a324 <redacted> + 24
17 CoreFoundation 0x184b795c8 <redacted> + 264
18 CoreFoundation 0x184b77678 <redacted> + 712
19 CoreFoundation 0x184aa5664 _CFRunLoopRunSpecific + 396
20 GraphicsServices 0x18dbe75a4 _GSEventRunModal + 168
21 UIKit 0x1893aa4f8 _UIApplicationMain + 1488
22 My App 0x10000c8f0 __mh_execute_header + 35056
23 libdyld.dylib 0x19580ea08 <redacted> + 4
If I Push the View with Animation set to YES , the app crashes and below is the stack trace. and if I push to view without animation it is working correctly.
-[NewsFeedDetailView viewWillAppear:]
Nov 26 17:58:48 <Error>: -[NSNull length]: unrecognized selector sent to instance 0x307c1400
Nov 26 17:58:48 <Warning>: Stack Trace:: (
0 CoreFoundation 0x225f8d7f <redacted> + 150
1 libobjc.A.dylib 0x2fe57c77 objc_exception_throw + 38
2 CoreFoundation 0x225fe22d <redacted> + 0
3 CoreFoundation 0x225fc109 <redacted> + 712
4 CoreFoundation 0x2252d938 _CF_forwarding_prep_0 + 24
5 UIKit 0x25aa7a9b <redacted> + 38
6 UIKit 0x25b16d5b <redacted> + 66
7 UIKit 0x25b16d11 <redacted> + 84
8 UIKit 0x25b16c99 <redacted> + 400
9 QuartzCore 0x254f4681 <redacted> + 228
10 QuartzCore 0x254de0c1 <redacted> + 2068
11 QuartzCore 0x255bfb4d <redacted> + 52
12 QuartzCore 0x254dd8a5 <redacted> + 88
13 QuartzCore 0x254dd555 <redacted> + 1156
14 QuartzCore 0x254c1b1d <redacted> + 200
15 QuartzCore 0x254c17e1 <redacted> + 24
16 QuartzCore 0x254c11c7 <redacted> + 222
17 QuartzCore 0x254c0fd1 <redacted> + 324
18 UIKit 0x25a9c5f9 <redacted> + 1384
19 CoreFoundation 0x225bf5e7 <redacted> + 14
20 CoreFoundation 0x225be9fb <redacted> + 222
21 CoreFoundation 0x225bd079 <redacted> + 768
22 CoreFoundation 0x2250a981 CFRunLoopRunSpecific + 476
23 CoreFoundation 0x2250a793 CFRunLoopRunInMode + 106
24 GraphicsServices 0x298e3051 GSEventRunModal + 136
25 UIKit 0x25afc981 UIApplicationMain + 1440
26 W I T Party 0x0014b1fd main + 220
27 libdyld.dylib 0x303f3aaf <redacted> + 2
)
Please help me out with this
This is my viewWillAppear. I am just calling the super.
-(void)viewWillAppear:(BOOL)animated {
NSLog(#"%s",__func__);
[super viewWillAppear:NO];
}
After I use flurry to collect the crash reports in my app, I found a lot of crash like this:
0 libobjc.A.dylib 0x3340d6ba _objc_retain + 9
1 libsystem_network.dylib 0x33a8a32b <redacted> + 1402
2 libsystem_dnssd.dylib 0x33a07a81 <redacted> + 308
3 libsystem_dnssd.dylib 0x33a065bb _DNSServiceProcessResult + 550
4 libdispatch.dylib 0x33964253 <redacted> + 626
5 libdispatch.dylib 0x339553f9 <redacted> + 212
6 libdispatch.dylib 0x3395b48f <redacted> + 502
7 libdispatch.dylib 0x3395609d <redacted> + 84
8 libdispatch.dylib 0x3395cba1 <redacted> + 320
9 libdispatch.dylib 0x3395dcd7 <redacted> + 94
10 libsystem_pthread.dylib 0x33ab4e31 __pthread_wqthread + 668
11 libsystem_pthread.dylib 0x33ab4b84 _start_wqthread + 8
and another crash:
0 CoreFoundation 0x2dde782e _CFArrayGetCount + 5
1 WebCore 0x3610dddd -[WAKView subviews] + 36
2 WebCore 0x3610dd99 -[WAKView viewWillDraw] + 20
3 WebCore 0x3610dc85 <redacted> + 64
4 QuartzCore 0x30348e3b <redacted> + 350
5 QuartzCore 0x30348ccd <redacted> + 16
6 QuartzCore 0x303486df <redacted> + 230
7 QuartzCore 0x303484ef <redacted> + 314
8 UIKit 0x306c842b <redacted> + 126
9 CoreFoundation 0x2de7f2a5 <redacted> + 20
10 CoreFoundation 0x2de7cc49 <redacted> + 284
11 CoreFoundation 0x2de7cf8b <redacted> + 730
12 CoreFoundation 0x2dde7f4f _CFRunLoopRunSpecific + 522
13 CoreFoundation 0x2dde7d33 _CFRunLoopRunInMode + 106
14 GraphicsServices 0x32d40663 _GSEventRunModal + 138
15 UIKit 0x3073316d _UIApplicationMain + 1136
What's the root cause for them? I had google a lot about them, but I can't found any useful about them.
My app started crashing after long time in background right when I launch it again.
The problem of course is when it wasn't killed - only when it was in the background.
the log is:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x32858a1c __pthread_kill + 8
1 libsystem_c.dylib 0x337013b4 pthread_kill + 52
2 libsystem_c.dylib 0x336f9bf8 abort + 72
3 libstdc++.6.dylib 0x30504a64 __gnu_cxx::__verbose_terminate_handler() + 376
4 libobjc.A.dylib 0x3068f06c _objc_terminate + 104
5 libstdc++.6.dylib 0x30502e36 __cxxabiv1::__terminate(void (*)()) + 46
6 libstdc++.6.dylib 0x30502e8a std::terminate() + 10
7 libstdc++.6.dylib 0x30502f5a __cxa_throw + 78
8 libobjc.A.dylib 0x3068dc84 objc_exception_throw + 64
9 CoreFoundation 0x3351048a +[NSException raise:format:arguments:] + 62
10 Foundation 0x326ea56c -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 56
11 UIKit 0x31bc3a82 -[UITableView(UITableViewInternal) _createPreparedCellForGlobalRow:withIndexPath:] + 666
12 UIKit 0x31bc3764 -[UITableView(UITableViewInternal) _createPreparedCellForGlobalRow:] + 28
13 UIKit 0x31bbc0c6 -[UITableView(_UITableViewPrivate) _updateVisibleCellsNow:] + 930
14 UIKit 0x31bbb276 -[UITableView layoutSubviews] + 134
15 UIKit 0x31b675f4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 20
16 CoreFoundation 0x3347defc -[NSObject(NSObject) performSelector:withObject:] + 16
17 QuartzCore 0x33351bae -[CALayer layoutSublayers] + 114
18 QuartzCore 0x33351966 CALayerLayoutIfNeeded + 178
19 QuartzCore 0x333571be CA::Context::commit_transaction(CA::Transaction*) + 206
20 QuartzCore 0x33356fd0 CA::Transaction::commit() + 184
21 QuartzCore 0x3335004e CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 50
22 CoreFoundation 0x334e7a2e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 10
23 CoreFoundation 0x334e945e __CFRunLoopDoObservers + 406
24 CoreFoundation 0x334ea754 __CFRunLoopRun + 848
25 CoreFoundation 0x3347aebc CFRunLoopRunSpecific + 224
26 CoreFoundation 0x3347adc4 CFRunLoopRunInMode + 52
27 GraphicsServices 0x311a5418 GSEventRunModal + 108
28 GraphicsServices 0x311a54c4 GSEventRun + 56
29 UIKit 0x31b90d62 -[UIApplication _run] + 398
30 UIKit 0x31b8e800 UIApplicationMain + 664
31 Vento 0x00002c64 main (main.m:14)
32 Vento 0x00002c0c start + 32
Any idea where to start digging?
Thank you!
Look at the log to see the exception detail.
Run the static code analyzer over your code. It may find the bug for you.