I have a Xamarin.iOS application that wraps a UIWebView. Unfortunately, I get a significant amount of crashes in the Firebase console; this only happens on the iPhone with iOS 10, the iPad does not have this problem.
Personally, I cannot reproduce the crash, so I only have stacktrace:
EXC_BAD_ACCESS / KERN_INVALID_ADDRESS 1 libobjc.A.dylib objc_msgSend + 115024 2 UIKit -[_UIKeyboardTextSelectionController selectTextWithGranularity:atPoint:executionContext:] + 5209476 3 UIKit -[_UIKeyboardBasedNonEditableTextSelectionGestureController oneFingerForcePan:] + 5624368 4 UIKit -[UIGestureRecognizerTarget _sendActionWithGestureRecognizer:] + 6166732 5 UIKit _UIGestureRecognizerSendTargetActions + 6181120 6 UIKit _UIGestureRecognizerSendActions + 1700016 7 UIKit -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 266176 8 UIKit _UIGestureEnvironmentUpdate + 6116260 9 UIKit -[UIGestureEnvironment _deliverEvent:toGestureRecognizers:usingBlock:] + 6115188 10 UIKit -[UIGestureEnvironment _updateGesturesForEvent:window:] + 6111776 11 UIKit -[UIWindow sendEvent:] + 258892 12 UIKit -[UIApplication sendEvent:] + 65404 13 UIKit __dispatchPreprocessedEventFromEventQueue + 8428060 14 UIKit __handleEventQueue + 8405368 15 UIKit __handleHIDEventFetcherDrain + 8406436 16 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 898088 17 CoreFoundation __CFRunLoopDoSources0 + 896408 18 CoreFoundation __CFRunLoopRun + 887204 19 CoreFoundation CFRunLoopRunSpecific + 36256 20 GraphicsServices GSEventRunModal + 49264 21 UIKit UIApplicationMain + 478360 22 XamarinApp.iOS (wrapper_managed-to-native)_UIKit.UIApplication:UIApplicationMain (<unknown>:1) 23 XamarinApp.iOS Main (UIApplication.cs:79) 24 XamarinApp.iOS XamarinApp_iOS_XamarinApp_iOS_Application_Main_string__ + 39656 25 XamarinApp.iOS wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 634656 26 Mono 4316120312 + 378104 27 Mono 4316622816 + 880608 28 Mono 4316635652 + 893444 29 Mono 4316004656 + 262448 30 XamarinApp.iOS xamarin_main (monotouch-main.m:480) 31 XamarinApp.iOS main (main.m:131) 32 libdyld.dylib start + 17816
Any help would be greatly appreciated. Migration to WKWebView is not an option for me, since the application works with cookies quite a lot.
source share