I'm getting crash from our custom keyboard extension that shows doesNotRecognizeSelector in the report but the code that's crashing isn't mine... it's in Foundation/CoreFoundation. Here's the crash report...
Incident Identifier: B7818....
CrashReporter Key: 57ce8....
Hardware Model: iPhone9,2
Process: MyApp Keyboard [7390]
Path: /private/var/containers/Bundle/Application/AB6EA.....B37/MyApp.app/PlugIns/MyApp Keyboard.appex/MyApp Keyboard
Identifier: com.MyDomain.MyApp.MyApp-Keyboard
Version: 288 (3.12)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.MyDomain.MyApp.MyApp-Keyboard [710]
Date/Time: 2018-03-07 16:51:29.4017 -0500
Launch Time: 2018-03-07 16:51:28.3872 -0500
OS Version: iPhone OS 11.2.6 (15D100)
Baseband Version: 3.42.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 4
Last Exception Backtrace:
0 CoreFoundation 0x18146b164 __exceptionPreprocess + 124 (NSException.m:166)
1 libobjc.A.dylib 0x1806b4528 objc_exception_throw + 56 (objc-exception.mm:521)
2 CoreFoundation 0x181478628 -[NSObject(NSObject) doesNotRecognizeSelector:] + 140 (NSObject.m:322)
3 CoreFoundation 0x181470b10 ___forwarding___ + 1380 (NSForwarding.m:3220)
4 CoreFoundation 0x181355ccc _CF_forwarding_prep_0 + 92
5 Foundation 0x181df65e4 -[NSExtensionContext _willPerformHostCallback:] + 180 (NSExtensionContext.m:838)
6 Foundation 0x181df32d4 __105-[_NSExtensionContextVendor _beginRequestWithExtensionItems:listenerEndpoint:withContextUUID:completion:]_block_invoke + 780 (NSExtensionContext.m:268)
7 libdispatch.dylib 0x180deaa54 _dispatch_call_block_and_release + 24 (init.c:994)
8 libdispatch.dylib 0x180deaa14 _dispatch_client_callout + 16 (object.m:502)
9 libdispatch.dylib 0x180df496c _dispatch_queue_serial_drain$VARIANT$mp + 528 (inline_internal.h:2500)
10 libdispatch.dylib 0x180df52fc _dispatch_queue_invoke$VARIANT$mp + 340 (queue.c:5302)
11 libdispatch.dylib 0x180df5d20 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 404 (queue.c:5920)
12 libdispatch.dylib 0x180dfe03c _dispatch_workloop_worker_thread$VARIANT$mp + 644 (source.c:2529)
13 libsystem_pthread.dylib 0x181092f1c _pthread_wqthread + 932 (pthread.c:2207)
14 libsystem_pthread.dylib 0x181092b6c start_wqthread + 4
I can see the doesNotRecognizeSelector at line 2 and the nearest thing in the stack is NSExtensionContext _willPerformHostCallback. I looked through all the threads in the report and nothing shows anything from our code. I searched our codebase and I don't see any code where we override willPerformHostCallback or anything derived from NSExtensionContext for that matter.
Can anybody see what the deal is here?
TIA, Mike
Related
I tested my iOS app thoroughly in my device and there ware no crash but when I submitted the app for release it crashes repeatedly. I tried to analyze I couldn't find the reason. When I look the creash log it looks crash happens in
Hardware Model: xxx
Process: MyAppName [14002]
Path: /private/var/containers/Bundle/Application/6ED37E47-5605-432E-B077-B6B109B9FE1B/MyAppName.app/MyAppName
Identifier: com.mydomain.MyAppName
Version: 1 (1.0.0)
AppStoreTools: 10B63
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: com.mydomain.MyAppName [5310]
Date/Time: 2019-03-07 09:24:56.9034 -0800
Launch Time: 2019-03-07 09:20:00.9801 -0800
OS Version: iPhone OS 12.1.4 (16D57)
Baseband Version: 7.32.00
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
Last Exception Backtrace:
0 CoreFoundation 0x182ef1ea4 __exceptionPreprocess + 228
1 libobjc.A.dylib 0x1820c1a50 objc_exception_throw + 55
2 UIKitCore 0x1af72def0 -[UIPopoverPresentationController presentationTransitionWillBegin] + 2691
3 UIKitCore 0x1af736f28 __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 2195
4 UIKitCore 0x1af7348ac __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 479
5 UIKitCore 0x1afddc87c _runAfterCACommitDeferredBlocks + 295
6 UIKitCore 0x1afdca878 _cleanUpAfterCAFlushAndRunDeferredBlocks + 383
7 UIKitCore 0x1afdf9880 _afterCACommitHandler + 131
8 CoreFoundation 0x182e816bc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 31
9 CoreFoundation 0x182e7c350 __CFRunLoopDoObservers + 411
10 CoreFoundation 0x182e7c8f0 __CFRunLoopRun + 1263
11 CoreFoundation 0x182e7c0e0 CFRunLoopRunSpecific + 435
12 GraphicsServices 0x1850f5584 GSEventRunModal + 99
13 UIKitCore 0x1afdd0c00 UIApplicationMain + 211
14 MyAppName 0x100e601fc main + 33276 (ChildInfoViewController.swift:15)
15 libdyld.dylib 0x18293abb4 start + 3
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000182a87104 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000182b03020 pthread_kill$VARIANT$mp + 380
2 libsystem_c.dylib 0x00000001829ded78 abort + 140
3 libc++abi.dylib 0x00000001820a8f78 __cxa_bad_cast + 0
4 libc++abi.dylib 0x00000001820a9120 default_unexpected_handler+ 8480 () + 0
5 libobjc.A.dylib 0x00000001820c1e58 _objc_terminate+ 28248 () + 124
6 libc++abi.dylib 0x00000001820b50fc std::__terminate(void (*)+ 57596 ()) + 16
7 libc++abi.dylib 0x00000001820b4cec __cxa_rethrow + 144
8 libobjc.A.dylib 0x00000001820c1c20 objc_exception_rethrow + 44
9 CoreFoundation 0x0000000182e7c14c CFRunLoopRunSpecific + 544
10 GraphicsServices 0x00000001850f5584 GSEventRunModal + 100
11 UIKitCore 0x00000001afdd0c00 UIApplicationMain + 212
12 MyAppName 0x0000000100e601fc main + 33276 (ChildInfoViewController.swift:15)
13 libdyld.dylib 0x000000018293abb4 start + 4
The same code run to iphone se, or other one 5s is not crash
The crashed iphone is a iphone5s.
This crash is in WKWebview
This is the crash logļ¼
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2017-02-21 19:28:26.069 +0800
Launch Time: 2017-02-21 19:27:45.145 +0800
OS Version: iOS 8.4.1 (12H321)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 12
Last Exception Backtrace:
0 CoreFoundation 0x1846a022c __exceptionPreprocess + 132
1 libobjc.A.dylib 0x19631c0e4 objc_exception_throw + 60
2 CoreFoundation 0x1846a72f4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 220
3 CoreFoundation 0x1846a40a8 ___forwarding___ + 928
4 CoreFoundation 0x1845a696c _CF_forwarding_prep_0 + 92
5 UIKit 0x189156814 -[UIGestureRecognizer _delegateShouldReceiveTouch:] + 152
6 UIKit 0x1891565f4 -[UITouchesEvent _addGestureRecognizersForView:toTouch:currentTouchMap:newTouchMap:] + 912
7 UIKit 0x18914977c -[UITouchesEvent _addTouch:forDelayedDelivery:] + 624
8 UIKit 0x1891494c0 _AddTouchToEvent + 196
9 UIKit 0x1893bdc80 _UIApplicationHandleEventFromQueueEvent + 14236
10 UIKit 0x18911b488 _UIApplicationHandleEventQueue + 1716
11 CoreFoundation 0x184657f8c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
in ios8 set
allowsBackForwardNavigationGestures = YES;
then set
allowsBackForwardNavigationGestures = NO;
The app will crash when you touched WKWebView
I have an App which has a custom framework. When my app crashes, I could symbolicate the crash log in which I can only symbolicate the symbols in my app. But I want to symbolicate the framework as well. And I cannot create or find where the dsym file for the custom framework.
CrashLog:
Incident Identifier: E2C7076A-78E1-4269-91D0-A2AA5CA33612
CrashReporter Key: 7057b96f6b8938b54fe1ddecd38f89da2d16b752
Hardware Model: iPad5,3
Process: MyTestSuite [562]
Path: /private/var/containers/Bundle/Application/708341EB-76AB-4A0D-86E5-73DB875D26DA/MyTestSuite.app/MyTestSuite
Identifier: com.econsys.TestSuite
Version: 1 (1)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2016-09-23 15:41:43.43 +0530
Launch Time: 2016-09-23 15:23:13.13 +0530
OS Version: iOS 9.3.3 (13G34)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 3
Filtered syslog:
None found
Last Exception Backtrace:
0 CoreFoundation 0x183ee2db0 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x183547f80 objc_exception_throw + 56
2 CoreFoundation 0x183ee2cf8 +[NSException raise:format:] + 120
3 Foundation 0x1848602b0 -[NSMutableData(NSMutableData) replaceBytesInRange:withBytes:length:] + 300
4 DevSDK 0x10010ff28 0x10009c000 + 474920
5 DevSDK 0x10013d234 0x10009c000 + 660020
6 DevSDK 0x10013d474 0x10009c000 + 660596
7 ExternalAccessory 0x18f682a90 -[EAOutputStream _streamEventTrigger] + 420
8 CoreFoundation 0x183e9d7c8 __CFSocketPerformV0 + 1216
9 CoreFoundation 0x183e9909c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
10 CoreFoundation 0x183e98b30 __CFRunLoopDoSources0 + 540
11 CoreFoundation 0x183e96830 __CFRunLoopRun + 724
12 CoreFoundation 0x183dc0c50 CFRunLoopRunSpecific + 384
13 Foundation 0x1847d0cfc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 308
14 Foundation 0x184826030 -[NSRunLoop(NSRunLoop) run] + 88
15 DevSDK 0x10010de48 0x10009c000 + 466504
16 DevSDK 0x10010de74 0x10009c000 + 466548
17 Foundation 0x1848b7e4c __NSThread__start__ + 1000
18 libsystem_pthread.dylib 0x183b47b28 _pthread_body + 156
19 libsystem_pthread.dylib 0x183b47a8c _pthread_start + 156
20 libsystem_pthread.dylib 0x183b45028 thread_start + 4
I want to symbolicate the lines 4, 5, 6 in the backtrace.
Help me on this pls.
The iOS app I am developing is having this crash with many of my users (I can catch it via PLCrashReporter library). The Exception type is SIGSEGV, so I believe is an error involving memory (like acceding a deallocated variable?).
But how can I discover what triggered it? The first line in the stacktrace involving my app is line 13:
13 ****** 0x004a9b40 _mh_execute_header +
And I really can't catch what this could mean.
Is there a way to see more info, or maybe the first four/five lines can help me more than I think?
Additional information: I use massively CoreData and NSManagedObjects, so I can't check every instance if those.
Build Version: 2.0
Incident Identifier: 5D8AECAD-3DC6-403D-8C8A-86FCC06C7FF0
Hardware Model: iPad3,3
Process: ****** [6112]
Path: /private/var/mobile/Containers/Bundle/Application/853B3A08-D893-45CA-B223-BD4A3B0241FF/******.app/******
Identifier: com.**.******
Version: 2
Code Type: ARM
Parent Process: launchd [1]
Date/Time: 2015-07-30 11:56:43 +0000
OS Version: iPhone OS 8.4 (12H143)
Report Version: 104
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x7176d0c2
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x3408df66 objc_msgSend + 5
1 CoreData 0x25521bad -[NSManagedObject _clearRawPropertiesWithHint:] + 284
2 CoreData 0x25521a13 -[NSFaultHandler turnObject:intoFaultWithContext:] + 398
3 CoreData 0x2551f517 -[NSManagedObject dealloc] + 74
4 CoreData 0x2551ec25 -[_PFManagedObjectReferenceQueue _processReferenceQueue:] + 1768
5 CoreData 0x2551e4b3 <redacted> + 326
6 CoreFoundation 0x257d026d <redacted> + 20
7 CoreFoundation 0x257cd951 <redacted> + 276
8 CoreFoundation 0x257cdd53 <redacted> + 914
9 CoreFoundation 0x257199a1 CFRunLoopRunSpecific + 476
10 CoreFoundation 0x257197b3 CFRunLoopRunInMode + 106
11 GraphicsServices 0x2d0c11a9 GSEventRunModal + 136
12 UIKit 0x28eca635 UIApplicationMain + 1440
13 ****** 0x004a9b40 _mh_execute_header + 4156224
14 libdyld.dylib 0x3464faaf <redacted> + 2
[...]
I am using Unity 4.6.6f2 and made il2cpp build to support 64 bit requirement from apple. I am having strange random crash and in device crash logs, I see these crash reports. It is happening on multiple devices and all of them have this in common:
Here's the logs:
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2015-06-18 12:06:11.292 +0400
Launch Time: 2015-06-18 11:50:59.940 +0400
OS Version: iOS 8.1 (12B410)
Report Version: 105
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000000000029c
Triggered by Thread: 36
Thread 36 name: Dispatch queue: com.apple.IOAccelerator.BlockFences
Thread 36 Crashed:
0 libobjc.A.dylib 0x0000000194b739f4 objc_disposeClassPair + 192
1 libobjc.A.dylib 0x0000000194b739bc objc_disposeClassPair + 136
2 libsystem_blocks.dylib 0x000000019520190c _Block_release + 252
3 IOAccelerator 0x000000018d68aca4 ioAccelCommandQueueBlockFenceCallback + 60
4 IOKit 0x00000001851c58cc IODispatchCalloutFromCFMessage + 372
5 IOKit 0x00000001851c596c _IODispatchCalloutWithDispatch + 36
6 libdispatch.dylib 0x00000001951b2a2c dispatch_mig_server + 432
7 libdispatch.dylib 0x00000001951ad368 _dispatch_client_callout + 12
8 libdispatch.dylib 0x00000001951c20c4 _dispatch_source_latch_and_call + 788
9 libdispatch.dylib 0x00000001951af4d0 _dispatch_source_invoke + 284
10 libdispatch.dylib 0x00000001951b72a0 _dispatch_queue_drain + 672
11 libdispatch.dylib 0x00000001951b0470 _dispatch_queue_invoke + 128
12 libdispatch.dylib 0x00000001951b9220 _dispatch_root_queue_drain + 660
13 libdispatch.dylib 0x00000001951ba758 _dispatch_worker_thread3 + 104
14 libsystem_pthread.dylib 0x00000001953892e0 _pthread_wqthread + 812
15 libsystem_pthread.dylib 0x0000000195388fa4 start_wqthread + 0