I have couple of crashes on startup of app and there are no code changes made since it was last installed by Xcode. When I open device logs, Xcode is not fully symbolicating crash, particularly the place where it crashed. Why is it so and how do I get the fully symbolicated crash log? The crash is unfortunately not reproducible in direct debugging session.
Date/Time: 2018-12-01 12:30:38.3874 +0400
Launch Time: 2018-12-01 12:30:36.0854 +0400
OS Version: iPhone OS 12.1 (16B92)
Baseband Version: 2.01.07
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000101abe1a4
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [43684]
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libswiftCore.dylib 0x0000000101abe1a4 0x1018cc000 + 2040228
1 libswiftCore.dylib 0x0000000101abe1a4 0x1018cc000 + 2040228
2 libswiftCore.dylib 0x0000000101925db8 0x1018cc000 + 368056
3 MyApp-Swift 0x0000000100e69880 0x100d64000 + 1071232
4 MyApp-Swift 0x0000000100dfbd00 0x100d64000 + 621824
5 MyApp-Swift 0x0000000100dfbdb8 0x100d64000 + 622008
6 UIKitCore 0x00000001c29da768 -[UIApplication sendAction:to:from:forEvent:] + 96
7 UIKitCore 0x00000001c24686d0 -[UIControl sendAction:to:forEvent:] + 80
8 UIKitCore 0x00000001c24689f0 -[UIControl _sendActionsForEvents:withEvent:] + 440
9 UIKitCore 0x00000001c24679f0 -[UIControl touchesEnded:withEvent:] + 568
10 UIKitCore 0x00000001c2a1418c -[UIWindow _sendTouchesForEvent:] + 2472
11 UIKitCore 0x00000001c2a153f0 -[UIWindow sendEvent:] + 3156
12 UIKitCore 0x00000001c29f46ec -[UIApplication sendEvent:] + 340
13 UIKitCore 0x00000001c2ac057c __dispatchPreprocessedEventFromEventQueue + 1620
14 UIKitCore 0x00000001c2ac2f74 __handleEventQueueInternal + 4740
15 UIKitCore 0x00000001c2abba64 __handleHIDEventFetcherDrain + 152
16 CoreFoundation 0x00000001958ac1cc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
17 CoreFoundation 0x00000001958ac14c __CFRunLoopDoSource0 + 88
18 CoreFoundation 0x00000001958aba30 __CFRunLoopDoSources0 + 176
19 CoreFoundation 0x00000001958a68fc __CFRunLoopRun + 1040
20 CoreFoundation 0x00000001958a61cc CFRunLoopRunSpecific + 436
21 GraphicsServices 0x0000000197b1d584 GSEventRunModal + 100
22 UIKitCore 0x00000001c29d9054 UIApplicationMain + 212
23 MyApp-Swift 0x0000000100f48dec 0x100d64000 + 1986028
24 libdyld.dylib 0x0000000195366bb4 start + 4
Related
I have all dSYM files, crash file and .app file in the same folder, using this command it symbolicates the crash report:
symbolicatecrash myCrash.crash > SymbolicatedM.crash
But the first few lines still show hex address:
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000001000da338
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 myApp 0x00000001000da338 0x1000c8000 + 74552
1 myApp 0x00000001000eac90 0x1000c8000 + 142480
2 myApp 0x0000000100120340 0x1000c8000 + 361280
3 myApp 0x0000000100120870 0x1000c8000 + 362608
4 UIKit 0x000000019467f0ec -[UIApplication sendAction:to:from:forEvent:] + 96
5 UIKit 0x00000001947ef6b4 -[UIBarButtonItem(UIInternal) _sendAction:withEvent:] + 168
6 UIKit 0x000000019467f0ec -[UIApplication sendAction:to:from:forEvent:] + 96
7 UIKit 0x000000019467f06c -[UIControl sendAction:to:forEvent:] + 80
8 UIKit 0x00000001946695e0 -[UIControl _sendActionsForEvents:withEvent:] + 440
9 UIKit 0x0000000194669748 -[UIControl _sendActionsForEvents:withEvent:] + 800
10 UIKit 0x000000019467e950 -[UIControl touchesEnded:withEvent:] + 576
11 UIKit 0x000000019467e46c -[UIWindow _sendTouchesForEvent:] + 2480
12 UIKit 0x0000000194679804 -[UIWindow sendEvent:] + 3192
13 UIKit 0x000000019464a418 -[UIApplication sendEvent:] + 340
14 UIKit 0x0000000194e43f64 __dispatchPreprocessedEventFromEventQueue + 2400
15 UIKit 0x0000000194e3e6c0 __handleEventQueue + 4268
16 UIKit 0x0000000194e3eaec __handleHIDEventFetcherDrain + 148
17 CoreFoundation 0x000000018e4c9424 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
18 CoreFoundation 0x000000018e4c8d94 __CFRunLoopDoSources0 + 540
19 CoreFoundation 0x000000018e4c69a0 __CFRunLoopRun + 744
20 CoreFoundation 0x000000018e3f6d94 CFRunLoopRunSpecific + 424
21 GraphicsServices 0x000000018fe60074 GSEventRunModal + 100
22 UIKit 0x00000001946af130 UIApplicationMain + 208
23 myApp 0x00000001000d986c 0x1000c8000 + 71788
24 libdyld.dylib 0x000000018d40559c start + 4
Content of the folder is as follow:
myApp.app.dYSM, myCrash.crash, myApp, myApp.ipa and other dYSM files
How can find the reason of the crash with this log?
I had to download the dSYM.zip from iTunesConnect website and extract it along side these files.
When I was debugging the iOS application, meet with some issue causing application to crash when playing video in fullscreen mode and this issue is concerned with the specific device iPhone 6s. The application works good in iPhone 6 and iPhone 5s without crash.
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2016-09-12 17:41:50.50 -0700
Launch Time: 2016-09-12 17:41:27.27 -0700
OS Version: iOS 9.3.4 (13G35)
Report Version: 105
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000180a96234
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 CoreFoundation 0x0000000180a96234 CFEqual + 512
1 CoreGraphics 0x0000000182025a3c CGGradientCreateWithColors + 232
2 CoreGraphics 0x0000000182025a3c CGGradientCreateWithColors + 232
3 UIKit 0x000000018621cf34 +[UIProgressView _tintedImageForHeight:andColors:roundingRectCorners:] + 356
4 UIKit 0x0000000186109524 __50-[UISlider _updateMaxTrackColorForInitialization:]_block_invoke + 148
5 UIKit 0x00000001860217b0 +[UIView _performSystemAppearanceModifications:] + 68
6 UIKit 0x000000018610942c -[UISlider _updateMaxTrackColorForInitialization:] + 476
7 UIKit 0x0000000185f74c08 -[UISlider _initImages] + 568
8 UIKit 0x0000000185f7495c -[UISlider layoutSubviews] + 92
9 MediaPlayer 0x0000000189ad0544 -[MPVolumeSlider layoutSubviews] + 56
10 UIKit 0x0000000185d141e4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 656
11 QuartzCore 0x00000001836a698c -[CALayer layoutSublayers] + 148
12 QuartzCore 0x00000001836a15c8 CA::Layer::layout_if_needed(CA::Transaction*) + 292
13 UIKit 0x0000000185d2b0a4 -[UIView(Hierarchy) layoutBelowIfNeeded] + 924
14 UIKit 0x0000000185d30bec -[UISlider setValue:animated:] + 184
15 MediaPlayer 0x0000000189ad0c8c -[MPVolumeSlider volumeController:volumeValueDidChange:] + 84
16 MediaPlayer 0x0000000189b68074 __39-[MPVolumeController updateVolumeValue]_block_invoke_2 + 240
17 libdispatch.dylib 0x00000001806054bc _dispatch_call_block_and_release + 24
18 libdispatch.dylib 0x000000018060547c _dispatch_client_callout + 16
19 libdispatch.dylib 0x000000018060ab84 _dispatch_main_queue_callback_4CF + 1844
20 CoreFoundation 0x0000000180b70d50 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
21 CoreFoundation 0x0000000180b6ebb8 __CFRunLoopRun + 1628
22 CoreFoundation 0x0000000180a98c50 CFRunLoopRunSpecific + 384
23 GraphicsServices 0x0000000182380088 GSEventRunModal + 180
24 UIKit 0x0000000185d82088 UIApplicationMain + 204
I'm unable to detect an issue by viewing the below crash log as I'm not an expert in it.
Symbolication is applied but it seems point 24 below didn't get symbolicated. I don't know why.
Any help would be greatly appreciated.
Incident Identifier: 64AA5ACD-41A0-462C-8169-2689E4C9DFF6
CrashReporter Key: e3e88a5898a533649d98f91fa4931fa1d7c125f9
Hardware Model: iPhone5,3
Process: yanachat [3315]
Path: /private/var/mobile/Containers/Bundle/Application/F46E2E69-F521-4FDF-A1BF-FDEAAFF50C8D/yanachat.app/yanachat
Identifier: com.soccerManiac.SSChat
Version: 1 (1.0)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2015-05-28 16:57:52.245 +0500
Launch Time: 2015-05-28 16:38:37.031 +0500
OS Version: iOS 8.2 (12D508)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x25f2c45a __exceptionPreprocess + 122
1 libobjc.A.dylib 0x33e02c86 objc_exception_throw + 34
2 CoreData 0x25c56b48 _PFManagedObject_coerceValueForKeyWithDescription + 2808
3 CoreData 0x25c55408 _sharedIMPL_setvfk_core + 144
4 CoreData 0x25c744c6 _PF_Handler_Public_SetProperty + 82
5 CoreData 0x25c792ce -[NSManagedObject setValue:forKey:] + 138
6 yanachat 0x002116a8 0xe1000 + 1246888
7 yanachat 0x001e5266 0xe1000 + 1065574
8 UIKit 0x29479e7a -[UIApplication sendAction:to:from:forEvent:] + 66
9 UIKit 0x29479e1c -[UIControl sendAction:to:forEvent:] + 40
10 UIKit 0x29464c3e -[UIControl _sendActionsForEvents:withEvent:] + 578
11 UIKit 0x29479888 -[UIControl touchesEnded:withEvent:] + 584
12 UIKit 0x29479562 -[UIWindow _sendTouchesForEvent:] + 518
13 UIKit 0x29472e2c -[UIWindow sendEvent:] + 540
14 UIKit 0x29449754 -[UIApplication sendEvent:] + 192
15 UIKit 0x296bd2f4 _UIApplicationHandleEventFromQueueEvent + 14164
16 UIKit 0x294481a4 _UIApplicationHandleEventQueue + 1348
17 CoreFoundation 0x25ef2fba __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 10
18 CoreFoundation 0x25ef23ca __CFRunLoopDoSources0 + 214
19 CoreFoundation 0x25ef0a30 __CFRunLoopRun + 768
20 CoreFoundation 0x25e3e3ac CFRunLoopRunSpecific + 472
21 CoreFoundation 0x25e3e1be CFRunLoopRunInMode + 102
22 GraphicsServices 0x2d46b1fc GSEventRunModal + 132
23 UIKit 0x294a8438 UIApplicationMain + 1436
24 yanachat 0x0020b02a 0xe1000 + 1220650
25 libdyld.dylib 0x3438eaaa tlv_initializer + 2
This contains essential information for developers who wish to receive and process crash reports for their iOS applications.
Report Types
Application crash
Low memory
User force-quit
Watchdog timeout
Symbolication
Symbolication
Acquiring Crash Reports
The Xcode Organizer
Understand more detail for cash log with example refer here.
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
Recently I am trying to debug with the information provided by Crash Reports. So far I have been able to identify and fix some bugs but not this one.
As I read from the crash report, it's something wrong with UIDictationController, but my code did not call UIDictationController at all. The crash report is generated by PLCrashReporter.
It seems that the user is using an iPad Mini (WiFi) and running iOS 6.0.2.
Incident Identifier: [REMOVED]
CrashReporter Key: [REMOVED]
Hardware Model: iPad2,5
Process: MyApp [2849]
Path: [REMOVED]
Identifier: com.yourcompany.MyApp
Version: 1.1
Code Type: ARM
Parent Process: launchd [1]
Date/Time: 2013-01-26 02:11:01 +0000
OS Version: iPhone OS 6.0.2 (10A550)
Report Version: 104
Exception Type: SIGABRT
Exception Codes: #0 at 0x32255350
Crashed Thread: 0
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
Last Exception Backtrace:
0 CoreFoundation 0x3882e2a3 __exceptionPreprocess + 163
1 libobjc.A.dylib 0x30d8897f objc_exception_throw + 31
2 CoreFoundation 0x387788d9 -[__NSArrayM insertObject:atIndex:] + 769
3 UIKit 0x36ad24c3 -[UIDictationMeterView initWithFrame:] + 267
4 UIKit 0x36abe699 -[UIDictationView initWithFrame:] + 281
5 UIKit 0x36abdcd1 +[UIDictationView sharedInstance] + 145
6 UIKit 0x36aae7f5 -[UIDictationController setState:] + 149
7 UIKit 0x36aaef5f -[UIDictationController setupForDictationStart] + 199
8 UIKit 0x36aae5d7 -[UIDictationController startConnectionForReason:] + 51
9 UIKit 0x36aaf173 -[UIDictationController startDictationFromLayout] + 55
10 UIKit 0x36825c09 -[UIKeyboardLayoutStar touchUp:] + 5249
11 UIKit 0x3682472f -[UIKeyboardLayout touchesEnded:withEvent:] + 387
12 UIKit 0x3670c5f1 -[UIWindow _sendTouchesForEvent:] + 525
13 UIKit 0x366f9801 -[UIApplication sendEvent:] + 381
14 UIKit 0x366f911b _UIApplicationHandleEvent + 6155
15 GraphicsServices 0x3771e5a3 _PurpleEventCallback + 591
16 GraphicsServices 0x3771e1d3 PurpleEventCallback + 35
17 CoreFoundation 0x38803173 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 35
18 CoreFoundation 0x38803117 __CFRunLoopDoSource1 + 139
19 CoreFoundation 0x38801f99 __CFRunLoopRun + 1385
20 CoreFoundation 0x38774ebd CFRunLoopRunSpecific + 357
21 CoreFoundation 0x38774d49 CFRunLoopRunInMode + 105
22 GraphicsServices 0x3771d2eb GSEventRunModal + 75
23 UIKit 0x3674d2f9 UIApplicationMain + 1121
24 MyApp 0x000032e1 main (main.m:36)
25 MyApp 0x00003230 start + 40
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x30f10350 __pthread_kill + 8
1 libsystem_c.dylib 0x304f8973 abort + 95
2 MyApp 0x000e954f uncaught_exception_handler + 27
3 CoreFoundation 0x3882e57f __handleUncaughtException + 615
4 libobjc.A.dylib 0x30d88a65 _objc_terminate() + 129
5 libc++abi.dylib 0x3719807b safe_handler_caller(void (*)()) + 79
6 libc++abi.dylib 0x37198114 std::terminate() + 20
7 libc++abi.dylib 0x37199599 __cxa_current_exception_type + 1
8 libobjc.A.dylib 0x30d889d1 objc_exception_rethrow + 13
9 CoreFoundation 0x38774f21 CFRunLoopRunSpecific + 457
10 CoreFoundation 0x38774d49 CFRunLoopRunInMode + 105
11 GraphicsServices 0x3771d2eb GSEventRunModal + 75
12 UIKit 0x3674d2f9 UIApplicationMain + 1121
13 MyApp 0x000032e1 main (main.m:36)
Is there any way that I can do with this bug? Or, at least mitigating the issue? Thanks in advance.
the problem is that somewhere in your app you have a keyboard come up and with iOS version 6.0.1 and 6.0.2, apple enabled the dictation controller even if you didn't specify it to be enabled. Two solutions to fixing it: create a custom keyboard without it or implement dictation in your app.
My suggestion is to just let it be, only affects two outdate iOS versions and hopefully the crashes will go away as the users upgrade their devices
I have the keyboard coming up for a custom TextView, and when the user pushed the dictation button, said something, pushed finish, and then they tried to dismiss the keyboard, there would be a crash. Possible this is also what you're experiencing?