I have a random crash in Webview that happend a couple of times already.
(Test automation tools: Monkey)
It looks like it is related to UIWebView, but I have no clue what happened
- any help is appreciated The crash seems to be known.
Version: 1.0 (1.0)
Code Type: ARM-64 (Native)
Parent Process: debugserver [406]
Date/Time: 2015-08-07 20:33:59.099 +0800
Launch Time: 2015-08-07 20:13:10.956 +0800
OS Version: iOS 8.3 (12F70)
Report Version: 105
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000002e6beb8
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x00000001959d3bd0 objc_msgSend + 16
1 UIKit 0x0000000188ff77b0 -[UIWebDocumentView selectionRectsForRange:] + 44
2 UIKit 0x00000001890d03b0 -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) distanceBetweenPoint:andRange:] + 88
3 UIKit 0x0000000188dddcf4 -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) oneFingerTap:] + 3364
4 UIKit 0x0000000188dc30d8 _UIGestureRecognizerSendActions + 272
5 UIKit 0x0000000188c5c71c -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 576
6 UIKit 0x00000001890cd4f8 ___UIGestureRecognizerUpdate_block_invoke662 + 56
7 UIKit 0x0000000188c20480 _UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks + 288
8 UIKit 0x0000000188c1e82c _UIGestureRecognizerUpdate + 2500
9 UIKit 0x0000000188c5a894 -[UIWindow _sendGesturesForEvent:] + 1040
10 UIKit 0x0000000188c59f4c -[UIWindow sendEvent:] + 656
11 UIKit 0x0000000188c2d188 -[UIApplication sendEvent:] + 260
12 UIKit 0x0000000188ece320 _UIApplicationHandleEventFromQueueEvent + 15420
13 UIKit 0x0000000188c2b69c _UIApplicationHandleEventQueue + 1712
14 CoreFoundation 0x00000001841a423c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 20
15 CoreFoundation 0x00000001841a34e0 __CFRunLoopDoSources0 + 260
16 CoreFoundation 0x00000001841a1590 __CFRunLoopRun + 708
17 CoreFoundation 0x00000001840cd2d0 CFRunLoopRunSpecific + 392
18 GraphicsServices 0x000000018d8eb6f8 GSEventRunModal + 164
19 UIKit 0x0000000188c92fa8 UIApplicationMain + 1484
20 PxxSDK 0x000000010009f144 0x100088000 + 94532
21 libdyld.dylib 0x000000019603ea04 start + 0
code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2015-08-07 19:47:25.688 +0800
Launch Time: 2015-08-07 18:30:53.690 +0800
OS Version: iOS 8.3 (12F70)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x1841ec2d8 __exceptionPreprocess + 132
1 libobjc.A.dylib 0x1959c00e4 objc_exception_throw + 60
2 CoreFoundation 0x1841f33a4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 220
3 CoreFoundation 0x1841f0154 ___forwarding___ + 928
4 CoreFoundation 0x1840f2ccc _CF_forwarding_prep_0 + 92
5 UIKit 0x188ff77b4 -[UIWebDocumentView selectionRectsForRange:] + 48
6 UIKit 0x1890d03b4 -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) distanceBetweenPoint:andRange:] + 92
7 UIKit 0x188dddcf8 -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) oneFingerTap:] + 3368
8 UIKit 0x188dc30dc _UIGestureRecognizerSendActions + 276
9 UIKit 0x188c5c720 -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 580
10 UIKit 0x1890cd4fc ___UIGestureRecognizerUpdate_block_invoke662 + 60
11 UIKit 0x188c20484 _UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks + 292
12 UIKit 0x188c1e830 _UIGestureRecognizerUpdate + 2504
13 UIKit 0x188c5a898 -[UIWindow _sendGesturesForEvent:] + 1044
14 UIKit 0x188c59f50 -[UIWindow sendEvent:] + 660
15 UIKit 0x188c2d18c -[UIApplication sendEvent:] + 264
16 UIKit 0x188ece324 _UIApplicationHandleEventFromQueueEvent + 15424
17 UIKit 0x188c2b6a0 _UIApplicationHandleEventQueue + 1716
18 CoreFoundation 0x1841a4240 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
19 CoreFoundation 0x1841a34e4 __CFRunLoopDoSources0 + 264
20 CoreFoundation 0x1841a1594 __CFRunLoopRun + 712
21 CoreFoundation 0x1840cd2d4 CFRunLoopRunSpecific + 396
22 GraphicsServices 0x18d8eb6fc GSEventRunModal + 168
23 UIKit 0x188c92fac UIApplicationMain + 1488
24 PxxSDK 0x100107148 0x1000f0000 + 94536
25 libdyld.dylib 0x19603ea08 start + 4
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2015-08-07 18:30:15.419 +0800
Launch Time: 2015-08-07 18:10:52.612 +0800
OS Version: iOS 8.3 (12F70)
Report Version: 105
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000014da98b0
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x00000001959d3bd0 objc_msgSend + 16
1 UIKit 0x0000000188c6ae48 -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) containerIsBrowserView] + 48
2 UIKit 0x0000000188c6add0 -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) textDocument] + 44
3 UIKit 0x0000000188c6acd0 -[UITextSelectionView selection] + 48
4 UIKit 0x0000000188d5a6b8 -[UITextSelectionView inputViewDidChange] + 108
5 CoreFoundation 0x00000001841922c0 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 16
6 CoreFoundation 0x00000001840cf44c _CFXNotificationPost + 2056
7 Foundation 0x0000000184ffea7c -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
8 UIKit 0x000000018932bc8c -[UIInputWindowController postEndNotifications:withInfo:] + 160
9 UIKit 0x000000018932a390 -[UIInputWindowController performWithSafeTransitionFrames:] + 148
10 UIKit 0x000000018932dac0 __77-[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]_block_invoke644 + 460
11 UIKit 0x0000000188c64770 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 404
12 UIKit 0x0000000188c642d8 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 184
13 UIKit 0x0000000188c641e0 -[UIViewAnimationState animationDidStop:finished:] + 100
14 UIKit 0x000000018261bfec -[UIViewAnimationStateAccessibility animationDidStop:finished:] + 52
15 QuartzCore 0x000000018857968c CA::Layer::run_animation_callbacks(void*) + 292
16 libdispatch.dylib 0x0000000196011950 _dispatch_client_callout + 12
17 libdispatch.dylib 0x0000000196016208 _dispatch_main_queue_callback_4CF + 1604
18 CoreFoundation 0x00000001841a37f4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
19 CoreFoundation 0x00000001841a189c __CFRunLoopRun + 1488
20 CoreFoundation 0x00000001840cd2d0 CFRunLoopRunSpecific + 392
21 GraphicsServices 0x000000018d8eb6f8 GSEventRunModal + 164
22 UIKit 0x0000000188c92fa8 UIApplicationMain + 1484
23 PxxSDK 0x0000000100067144 0x100050000 + 94532
24 libdyld.dylib 0x000000019603ea04 start + 0
Related
My application crashes while trying to present a view controller. It only seems to happen in the device but not in the simulator.
Also do I need to disable the breakpoints before archiving the build for TestFlight?
Here is the crash log:
Incident Identifier: E8E38296-EB9E-47FD-AC91-DC6231A32CE2
Beta Identifier: C0074033-1ABA-4888-9906-B0E709FDC0D5
Hardware Model: iPhone10,6
Process: Darb [6943]
Path: /private/var/containers/Bundle/Application/134E7292-FC58-4A08-9C73-E5B27C8BE5D2/Darb.app/Darb
Identifier: com.dot.Darb
Version: 7 (3.6.14)
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.dot.Darb [2421]
Date/Time: 2018-07-23 10:51:48.2281 +0400
Launch Time: 2018-07-23 10:51:44.0025 +0400
OS Version: iPhone OS 11.2.6 (15D100)
Baseband Version: 1.03.06
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x183c2b164 __exceptionPreprocess + 124 (NSException.m:166)
1 libobjc.A.dylib 0x182e74528 objc_exception_throw + 56 (objc-exception.mm:521)
2 CoreFoundation 0x183c2ae2c -[NSException raise] + 12 (NSException.m:98)
3 Foundation 0x184542630 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 272 (NSKeyValueCoding.m:418)
4 UIKit 0x18d551134 -[UIViewController setValue:forKey:] + 104 (UIViewController.m:1275)
5 UIKit 0x18d779224 -[UIRuntimeOutletConnection connect] + 124 (UIRuntimeOutletConnection.m:17)
6 CoreFoundation 0x183b37d14 -[NSArray makeObjectsPerformSelector:] + 284 (NSArray.m:497)
7 UIKit 0x18d777c18 -[UINib instantiateWithOwner:options:] + 1696 (UINib.m:0)
8 UIKit 0x18d554be0 -[UIViewController _loadViewFromNibNamed:bundle:] + 372 (UIViewController.m:2866)
9 UIKit 0x18d3028e8 -[UIViewController loadView] + 176 (UIViewController.m:2995)
10 UIKit 0x18d1e56a8 -[UIViewController loadViewIfRequired] + 184 (UIViewController.m:3094)
11 UIKit 0x18d1e55d8 -[UIViewController view] + 28 (UIViewController.m:3155)
12 UIKit 0x18dd8ed24 -[_UIFullscreenPresentationController _setPresentedViewController:] + 92 (_UIFullscreenPresentationController.m:232)
13 UIKit 0x18d52da18 -[UIPresentationController initWithPresentedViewController:presentingViewController:] + 140 (UIPresentationController.m:81)
14 UIKit 0x18d55e84c -[UIViewController _presentViewController:withAnimationController:completion:] + 2676 (UIViewController.m:7081)
15 UIKit 0x18d56188c __63-[UIViewController _presentViewController:animated:completion:]_block_invoke_2 + 68 (UIViewController.m:7543)
16 UIKit 0x18d1f392c +[UIView(Animation) performWithoutAnimation:] + 104 (UIView.m:11877)
17 UIKit 0x18d5617e0 __63-[UIViewController _presentViewController:animated:completion:]_block_invoke + 220 (UIViewController.m:7541)
18 UIKit 0x18d561ca0 -[UIViewController _performCoordinatedPresentOrDismiss:animated:] + 528 (UIViewController.m:7621)
19 UIKit 0x18d5616bc -[UIViewController _presentViewController:animated:completion:] + 188 (UIViewController.m:7552)
20 UIKit 0x18d2c32d0 -[UIViewController presentViewController:animated:completion:] + 160 (UIViewController.m:7565)
21 Darb 0x1025fdd7c MainViewController.viewDidLoad() + 5940 (MainViewController.swift:320)
22 Darb 0x1025ff3c0 #objc MainViewController.viewDidLoad() + 28 (MainViewController.swift:0)
23 UIKit 0x18d1e5a00 -[UIViewController loadViewIfRequired] + 1040 (UIViewController.m:3133)
24 UIKit 0x18d28ceb8 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 76 (UINavigationController.m:6345)
25 UIKit 0x18d28c358 -[UINavigationController _startTransition:fromViewController:toViewController:] + 196 (UINavigationController.m:6380)
26 UIKit 0x18d28bd5c -[UINavigationController _startDeferredTransitionIfNeeded:] + 1168 (UINavigationController.m:6601)
27 UIKit 0x18d28b7d8 -[UINavigationController __viewWillLayoutSubviews] + 164 (UINavigationController.m:6872)
28 UIKit 0x18d28b6d8 -[UILayoutContainerView layoutSubviews] + 188 (UILayoutContainerView.m:87)
29 UIKit 0x18d1e2e18 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1276 (UIView.m:15124)
30 QuartzCore 0x187c6f948 -[CALayer layoutSublayers] + 184 (CALayer.mm:9302)
31 QuartzCore 0x187c73ad0 CA::Layer::layout_if_needed(CA::Transaction*) + 332 (CALayer.mm:9182)
32 QuartzCore 0x187be031c CA::Context::commit_transaction(CA::Transaction*) + 336 (CALayer.mm:2416)
33 QuartzCore 0x187c07b40 CA::Transaction::commit() + 540 (CATransactionInternal.mm:425)
34 UIKit 0x18d45eb6c __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 140 (UIApplication.m:9904)
35 CoreFoundation 0x183bd3590 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20 (CFRunLoop.c:1840)
36 CoreFoundation 0x183bd2e60 __CFRunLoopDoBlocks + 288 (CFRunLoop.c:1881)
37 CoreFoundation 0x183bd0b70 __CFRunLoopRun + 1068 (CFRunLoop.c:2922)
38 CoreFoundation 0x183af0c58 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245)
39 GraphicsServices 0x18599cf84 GSEventRunModal + 100 (GSEvent.c:2245)
40 UIKit 0x18d2495c4 UIApplicationMain + 236 (UIApplication.m:3956)
41 Darb 0x1025b1064 main + 56 (AppDelegate.swift:19)
42 libdyld.dylib 0x18361056c start + 4
Could some one please look into the logs and point me in the right direction?
following is the code which crash log points to
let lastLaunch = Foundation.UserDefaults.standard.double(forKey: "lastLaunch")
let lastLaunchDate = Date(timeIntervalSince1970: lastLaunch)
let lastLaunchIsToday = Calendar.current.isDateInToday(lastLaunchDate)
if !lastLaunchIsToday {
// Show the GIF
let zayedVC: ZayedVideoViewController = self.storyboard?.instantiateViewController(withIdentifier: "ZayedVC") as! ZayedVideoViewController
zayedVC.providesPresentationContextTransitionStyle = true
zayedVC.definesPresentationContext = true
zayedVC.isModalInPopover = true
zayedVC.modalPresentationStyle = .overFullScreen
self.navigationController?.present(zayedVC, animated: false, completion: nil)
}
Foundation.UserDefaults.standard.set(Date().timeIntervalSince1970, forKey: "lastLaunch")
Alright,
I have managed to solve the problem,the issue i had is the broken outlet connection.
I have removed it from the storyboard and it worked fine
When trying to launch my Application not using Xcode, the App crashes upon opening a specific ViewController. I've checked the Device Logs but I can't figure out what exactly caused the problem.
Incident Identifier: 20BC06E7-31B0-4C0D-B563-9D28FCE7A51D
CrashReporter Key: 17799fa3afc4ff5354281302e5f0d5909740c60b
Hardware Model: iPhone9,3
Process: Wizy [7883]
Path: /private/var/containers/Bundle/Application/8471B027-87B4-408C-802D-526BC2B73E8A/Wizy.app/Wizy
Identifier: Wizypay.Wizy
Version: 3 (1.0.1)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: Wizypay.Wizy [3810]
Date/Time: 2018-06-26 17:53:40.5443 +0200
Launch Time: 2018-06-26 17:53:37.7096 +0200
OS Version: iPhone OS 11.4 (15F79)
Baseband Version: 2.03.12
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Filtered syslog:
None found
Last Exception Backtrace:
0 CoreFoundation 0x1831aad8c __exceptionPreprocess + 228
1 libobjc.A.dylib 0x1823645ec objc_exception_throw + 55
2 CoreFoundation 0x1831aac6c +[NSException raise:format:] + 115
3 UIKit 0x18d58b5fc UINibDecoderDecodeObjectForValue + 371
4 UIKit 0x18d58b8b0 UINibDecoderDecodeObjectForValue + 1063
5 UIKit 0x18d58b470 -[UINibDecoder decodeObjectForKey:] + 311
6 UIKit 0x18d1e5be4 -[UIView initWithCoder:] + 647
7 UIKit 0x18d58b738 UINibDecoderDecodeObjectForValue + 687
8 UIKit 0x18d58b470 -[UINibDecoder decodeObjectForKey:] + 311
9 UIKit 0x18d429c94 -[UIRuntimeConnection initWithCoder:] + 187
10 UIKit 0x18d58b738 UINibDecoderDecodeObjectForValue + 687
11 UIKit 0x18d58b8b0 UINibDecoderDecodeObjectForValue + 1063
12 UIKit 0x18d58b470 -[UINibDecoder decodeObjectForKey:] + 311
13 UIKit 0x18d428fe4 -[UINib instantiateWithOwner:options:] + 1163
14 UIKit 0x18d25aaa8 -[UIViewController _loadViewFromNibNamed:bundle:] + 371
15 UIKit 0x18ce9e074 -[UIViewController loadView] + 175
16 UIKit 0x18cdc2b14 -[UIViewController loadViewIfRequired] + 171
17 UIKit 0x18cdc2a50 -[UIViewController view] + 27
18 UIKit 0x18d96c0f4 __67-[UIStoryboardEmbedSegueTemplate newDefaultPerformHandlerForSegue:]_block_invoke + 175
19 UIKit 0x18d742af4 -[UIStoryboardSegueTemplate _performWithDestinationViewController:sender:] + 291
20 UIKit 0x18d7429a0 -[UIStoryboardSegueTemplate _perform:] + 91
21 UIKit 0x18d742c6c -[UIStoryboardSegueTemplate perform:] + 159
22 UIKit 0x18cdc2cb4 -[UIViewController loadViewIfRequired] + 587
23 UIKit 0x18cdc2a50 -[UIViewController view] + 27
24 UIKit 0x18ce44620 -[UINavigationController preferredContentSize] + 167
25 UIKit 0x18d006f10 -[UIPresentationController preferredContentSizeDidChangeForChildContentContainer:] + 67
26 UIKit 0x18d23ede4 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 139
27 UIKit 0x18d19e884 _runAfterCACommitDeferredBlocks + 295
28 UIKit 0x18d194958 _cleanUpAfterCAFlushAndRunDeferredBlocks + 383
29 UIKit 0x18d07951c _afterCACommitHandler + 131
30 CoreFoundation 0x183152910 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 31
31 CoreFoundation 0x183150238 __CFRunLoopDoObservers + 411
32 CoreFoundation 0x183150884 __CFRunLoopRun + 1435
33 CoreFoundation 0x183070da8 CFRunLoopRunSpecific + 551
34 GraphicsServices 0x185055020 GSEventRunModal + 99
35 UIKit 0x18d08d758 UIApplicationMain + 235
36 Wizy 0x100a45d70 0x1009e4000 + 400752
37 libdyld.dylib 0x182b01fc0 start + 3
I tried changing the optimisation level in the build settings because someone suggested to do so, but no luck.
I hope someone can help me, I'm under time pressure!
Thanks in advance!
I have no idea about this crash. The crash happens at various screens without any actions sometimes. Any help would be appreciated. Thanks in advance.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000c
Triggered by Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x3b3a1626 objc_msgSend + 6
1 UIKit 0x33301b46 +[UIViewController _viewControllerForFullScreenPresentationFromView:] + 174
2 UIKit 0x33301614 -[UIWindow _scrollToTopViewsUnderScreenPointIfNecessary:resultHandler:] + 428
3 UIKit 0x3330143e -[_UIScrollsToTopInitiatorView touchesEnded:withEvent:] + 210
4 UIKit 0x3330134e -[UIStatusBar touchesEnded:withEvent:] + 334
5 UIKit 0x33255790 forwardTouchMethod + 228
6 UIKit 0x3310371c -[UIWindow _sendTouchesForEvent:] + 524
7 UIKit 0x330fe6e6 -[UIWindow sendEvent:] + 754
8 UIKit 0x330d38e8 -[UIApplication sendEvent:] + 192
9 UIKit 0x330d1f92 _UIApplicationHandleEventQueue + 7098
10 CoreFoundation 0x3087e258 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
11 CoreFoundation 0x3087d726 __CFRunLoopDoSources0 + 202
12 CoreFoundation 0x3087bf1a __CFRunLoopRun + 618
13 CoreFoundation 0x307e6f0a CFRunLoopRunSpecific + 518
14 CoreFoundation 0x307e6cee CFRunLoopRunInMode + 102
15 GraphicsServices 0x356e065e GSEventRunModal + 134
16 UIKit 0x33132168 UIApplicationMain + 1132
17 MyApp 0x0029c0a0 main (main.m:16)
18 libdyld.dylib 0x3b8a4ab4 start + 0
I found couple of strange crash issues in my app and here is the details of it
Incident Identifier: 9ECA0354-F69F-4562-A9FC-4904319BFC72
CrashReporter Key: 7e75d7f19d6ccbb07328f3b3317626187ecbc9bb
Hardware Model: iPod5,1
Process: myApp [1760]
Path: /var/mobile/Applications/7E5B3CA8-81BA-4F6A-A2A8-1B8F4060A037/myApp.app/myApp
Identifier: myApp
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-09-24 11:33:16.513 +0530
OS Version: iOS 6.1.3 (10B329)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 11
Last Exception Backtrace:
0 CoreFoundation 0x342c229e __exceptionPreprocess + 158
1 libobjc.A.dylib 0x3bfa697a objc_exception_throw + 26
2 CoreFoundation 0x342c1d80 __NSFastEnumerationMutationHandler + 124
3 Foundation 0x34b62504 -[NSConcreteMapTable countByEnumeratingWithState:objects:count:] + 52
4 CoreFoundation 0x3424ad34 -[__NSFastEnumerationEnumerator nextObject] + 128
5 CoreFoundation 0x3421df0c -[NSEnumerator countByEnumeratingWithState:objects:count:] + 44
6 Foundation 0x34c7208e -[NSISEngine enumerateRows:] + 210
7 Foundation 0x34c77fda -[NSISEngine description] + 118
8 CoreFoundation 0x34232892 -[NSObject(NSObject) _copyDescription] + 30
9 CoreFoundation 0x342a32d6 __CFStringAppendFormatCore + 11134
10 CoreFoundation 0x3423dfa4 CFStringCreateWithFormatAndArguments + 68
11 CoreFoundation 0x342c2190 +[NSException raise:format:] + 52
12 Foundation 0x34c7411a -[NSISEngine minimizeConstantInObjectiveRowWithHead:] + 186
13 Foundation 0x34c76754 -[NSISEngine optimize] + 56
14 Foundation 0x34c76e6a -[NSISEngine tryToAddConstraintWithMarker:expression:integralizationAdjustment:mutuallyExclusiveConstraints:] + 630
15 Foundation 0x34c7fbba -[NSLayoutConstraint _addToEngine:integralizationAdjustment:mutuallyExclusiveConstraints:] + 390
16 UIKit 0x365033bc -[UIView(UIConstraintBasedLayout) _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:] + 124
17 UIKit 0x36503530 -[UIView(UIConstraintBasedLayout) _tryToAddConstraintWithoutUpdatingConstraintsArray:roundingAdjustment:mutuallyExclusiveConstraints:] + 32
18 UIKit 0x360ea2dc -[UIView(Internal) _didMoveFromWindow:toWindow:] + 372
19 UIKit 0x360ea5c2 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1114
20 UIKit 0x360e4e4e -[UIView(Hierarchy) _postMovedFromSuperview:] + 134
21 UIKit 0x360cc7d8 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1296
22 UIKit 0x360e9af2 -[UIScrollView(UIScrollViewInternal) _addContentSubview:atBack:] + 66
23 UIKit 0x360e993a -[UITableView(_UITableViewPrivate) _addContentSubview:atBack:] + 126
24 UIKit 0x360fc0a0 -[UITableView(_UITableViewPrivate) _updateVisibleHeadersAndFootersNow:] + 1696
25 UIKit 0x360fa506 -[UITableView(_UITableViewPrivate) _updateVisibleCellsNow:] + 1810
26 UIKit 0x361117ca -[UITableView layoutSubviews] + 202
27 UIKit 0x360cd7fe -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 254
28 QuartzCore 0x35e77d86 -[CALayer layoutSublayers] + 210
29 QuartzCore 0x35e77924 CA::Layer::layout_if_needed(CA::Transaction*) + 456
30 QuartzCore 0x35e78858 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 12
31 QuartzCore 0x35e7823e CA::Context::commit_transaction(CA::Transaction*) + 234
32 QuartzCore 0x35e7804c CA::Transaction::commit() + 312
33 QuartzCore 0x35e77eac CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 56
34 CoreFoundation 0x342976c8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 16
35 CoreFoundation 0x342959bc __CFRunLoopDoObservers + 272
36 CoreFoundation 0x34295d12 __CFRunLoopRun + 738
37 CoreFoundation 0x34208eb8 CFRunLoopRunSpecific + 352
38 CoreFoundation 0x34208d44 CFRunLoopRunInMode + 100
39 GraphicsServices 0x37dd02e6 GSEventRunModal + 70
40 UIKit 0x3611e2fc UIApplicationMain + 1116
41 myApp 0x000a4aca 0xa2000 + 10954
42 libdyld.dylib 0x3c3ddb1c start + 0
It says that thread 11 is crashed but this looks like main thread crash as I can see from last line. The thread 11 stack trace looks like this
Thread 11 Crashed:
0 libsystem_kernel.dylib 0x3c4a4d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3c3f2cf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3c3f2a12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3c3f28a0 start_wqthread + 4
Also the crash report points out that app was crashed while doing enumeration but I am not sure how it is related to UIView and UITableView objects as I see from the stack trace. Some more info, I have tableview which shows a list if data, this is fetched from server.
Can some help me in fixing this issue?
Thanks
#nkd, why not use a Crash Reporting Manager like , Crashlytics it does a two step symbolication process, once at the app, and at the server side, to give you exact location of your crash with all thread information, testing environment etc.
I have been using this extensively, helps a lot in resolving bugs.
I am able to symbolicate my crash logs in xcode 4.5 EXCEPT for the last line. Specifically line 29 of the 'Last Exception Backtrace' and line 15 in the 'Thread 0' area in the crash log doesn't show the object or method call when all the other lines do. My code is CoachMe1.
Any ideas as to why this would be ?
Here is the Symbolicated code:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x3165929e __exceptionPreprocess + 158
1 libobjc.A.dylib 0x355af97a objc_exception_throw + 26
2 CoreFoundation 0x316591c0 +[NSException raise:format:] + 100
3 Foundation 0x34a9ece2 -[NSKeyedUnarchiver initForReadingWithData:] + 2402
4 CoachMe1 0x000047b6 -[CoachMe1ViewController viewWillAppear:] (CoachMe1ViewController.m:322)
5 UIKit 0x32b7531c -[UIViewController _setViewAppearState:isAnimating:] + 132
6 UIKit 0x32b817a0 -[UINavigationController _startTransition:fromViewController:toViewController:] + 536
7 UIKit 0x32b814ac -[UINavigationController _startDeferredTransitionIfNeeded:] + 320
8 UIKit 0x32b6fb8e -[UINavigationController pushViewController:transition:forceImmediate:] + 854
9 UIKit 0x32b6f82e -[UINavigationController pushViewController:animated:] + 34
10 CoachMe1 0x000183da -[FrontPageViewController loadGameDashboard] (FrontPageViewController.m:38)
11 UIKit 0x32bf90a8 -[UIApplication sendAction:to:from:forEvent:] + 68
12 UIKit 0x32bf905a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26
13 UIKit 0x32bf9038 -[UIControl sendAction:to:forEvent:] + 40
14 UIKit 0x32bf88ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498
15 UIKit 0x32bf8de4 -[UIControl touchesEnded:withEvent:] + 484
16 UIKit 0x32b215f4 -[UIWindow _sendTouchesForEvent:] + 520
17 UIKit 0x32b0e804 -[UIApplication sendEvent:] + 376
18 UIKit 0x32b0e11e _UIApplicationHandleEvent + 6150
19 GraphicsServices 0x3085459e _PurpleEventCallback + 586
20 GraphicsServices 0x308541ce PurpleEventCallback + 30
21 CoreFoundation 0x3162e16e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30
22 CoreFoundation 0x3162e112 __CFRunLoopDoSource1 + 134
23 CoreFoundation 0x3162cf94 __CFRunLoopRun + 1380
24 CoreFoundation 0x3159feb8 CFRunLoopRunSpecific + 352
25 CoreFoundation 0x3159fd44 CFRunLoopRunInMode + 100
26 GraphicsServices 0x308532e6 GSEventRunModal + 70
27 UIKit 0x32b622fc UIApplicationMain + 1116
28 CoachMe1 0x0000257e main (main.m:14)
29 CoachMe1 0x00002538 0x1000 + 5432
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3934f350 __pthread_kill + 8
1 libsystem_c.dylib 0x33cb111e pthread_kill + 54
2 libsystem_c.dylib 0x33ced96e abort + 90
3 libc++abi.dylib 0x30803d4a abort_message + 70
4 libc++abi.dylib 0x30800ff4 _ZL17default_terminatev + 20
5 libobjc.A.dylib 0x355afa74 _ZL15_objc_terminatev + 144
6 libc++abi.dylib 0x30801078 _ZL19safe_handler_callerPFvvE + 76
7 libc++abi.dylib 0x30801110 std::terminate() + 16
8 libc++abi.dylib 0x30802594 __cxa_rethrow + 84
9 libobjc.A.dylib 0x355af9cc objc_exception_rethrow + 8
10 CoreFoundation 0x3159ff1c CFRunLoopRunSpecific + 452
11 CoreFoundation 0x3159fd44 CFRunLoopRunInMode + 100
12 GraphicsServices 0x308532e6 GSEventRunModal + 70
13 UIKit 0x32b622fc UIApplicationMain + 1116
14 CoachMe1 0x0000257e main (main.m:14)
15 CoachMe1 0x00002538 0x1000 + 5432
Your app is crashing in loadGameDashboard function in FrontPageViewController.m class line 38.
Please check this function with a break point . you see where your app is crashing....