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
Related
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?
I have the following crash report but I can't figure out the cause of this crash. This crash appears quite frequently but the pattern varies at each time. Many thanks!
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000198337270 __pthread_kill + 8
1 libsystem_c.dylib 0x00000001982aeb18 abort + 112
2 libsystem_malloc.dylib 0x00000001983723e4 <redacted> + 0
3 libsystem_malloc.dylib 0x00000001983712f8 <redacted> + 192
4 CoreFoundation 0x00000001866c55e8 <redacted> + 192
5 CoreFoundation 0x00000001865d1394 CFRelease + 328
6 CoreFoundation 0x00000001866bc2bc _CFStringCreateWithFormatAndArgumentsAux2 + 272
7 Foundation 0x0000000187502448 -[NSPlaceholderString initWithFormat:locale:arguments:] + 172
8 0x000000010020f088 _mh_execute_header + 1536136
9 0x0000000100225614 _mh_execute_header + 1627668
10 0x00000001001ac6d0 _mh_execute_header + 1132240
11 CFNetwork 0x00000001861745b8 <redacted> + 80
12 CFNetwork 0x0000000186174548 <redacted> + 208
13 CFNetwork 0x00000001861746c4 <redacted> + 60
14 CFNetwork 0x0000000186047990 <redacted> + 104
15 CFNetwork 0x000000018611150c <redacted> + 104
16 CFNetwork 0x0000000186033ac8 <redacted> + 76
17 CoreFoundation 0x00000001865d4cdc CFArrayApplyFunction + 68
18 CFNetwork 0x0000000186033974 <redacted> + 136
19 CFNetwork 0x0000000186033828 <redacted> + 312
20 CFNetwork 0x0000000186033654 <redacted> + 68
21 CoreFoundation 0x00000001866ac240 <redacted> + 24
22 CoreFoundation 0x00000001866ab4e4 <redacted> + 264
23 CoreFoundation 0x00000001866a9594 <redacted> + 712
24 CoreFoundation 0x00000001865d52d4 CFRunLoopRunSpecific + 396
25 GraphicsServices 0x000000018fc9b6fc GSEventRunModal + 168
26 UIKit 0x000000018b19afac UIApplicationMain + 1488
27 0x000000010024bf1c _mh_execute_header + 1785628
28 libdyld.dylib 0x000000019821ea08 <redacted> + 4
I am assuming that you download some information from the web and are trying to create a string with some parts of that information:
6 CoreFoundation 0x00000001866bc2bc _CFStringCreateWithFormatAndArgumentsAux2 + 272
7 Foundation 0x0000000187502448 -[NSPlaceholderString initWithFormat:locale:arguments:] + 172
Where ever you are using information that you fetched from the Internet, you should first check if that information is valid and respects the right format you expect. Therefore, I recommend you to validate the information before using it.
this might help you:
iPhone app crash at [NSString stringWithFormat]
the error line must be:
[NSString stringWithFormat:#"%#,%#...",a,b...];
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
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.
sometimes I have a following warnings in my app and then app freezes and stops working.
I don't know why does this happen. Does anyone can help me?
> <Warning>: CoreAnimation: warning, deleted thread with uncommitted CATransaction; created by:
0 QuartzCore 0x32f303b3 <redacted> + 266
1 QuartzCore 0x32f30269 <redacted> + 224
2 QuartzCore 0x32f308c7 <redacted> + 30
3 QuartzCore 0x32f33bf3 <redacted> + 182
4 QuartzCore 0x32f8b985 <redacted> + 36
5 UIKit 0x3383ec57 <redacted> + 30
6 UIKit 0x334eca33 <redacted> + 114
7 UIKit 0x33413aab <redacted> + 246
8 UIKit 0x3383a6a1 <redacted> + 160
9 Program_TV_Pro 0x00017b3b -[MainMenuViewController grabURLInBackgroundForEntryFromAppDelegate] + 1166
10 Program_TV_Pro 0x000180a3 __49-[MainMenuViewController contextChannelsChanged:]_block_invoke + 138
11 libdispatch.dylib 0x3b800d1b <redacted> + 10
12 libdispatch.dylib 0x3b807d71 <redacted> + 220
13 libdispatch.dylib 0x3b807f59 <redacted> + 56
14 libsystem_pthread.dylib 0x3b942dbf _pthread_wqthread + 298
15 libsystem_pthread.dylib 0x3b942c84 start_wqthread + 8
and warning at another time:
CoreAnimation: warning, deleted thread with uncommitted CATransaction; created by:
0 QuartzCore 0x32f303b3 <redacted> + 266
1 QuartzCore 0x32f30269 <redacted> + 224
2 QuartzCore 0x32f31871 <redacted> + 24
3 QuartzCore 0x32f3207f <redacted> + 130
4 UIKit 0x3338a3d7 <redacted> + 1562
5 Program_TV_Pro 0x00115c2b -[ReplaysTableViewController downloadReplays] + 346
6 Program_TV_Pro 0x00113cbb __41-[ReplaysTableViewController viewDidLoad]_block_invoke52 + 46
7 libdispatch.dylib 0x3b800d1b <redacted> + 10
8 libdispatch.dylib 0x3b807d71 <redacted> + 220
9 libdispatch.dylib 0x3b807f59 <redacted> + 56
10 libsystem_pthread.dylib 0x3b942dbf _pthread_wqthread + 298
11 libsystem_pthread.dylib 0x3b942c84 start_wqthread + 8