WebKit crash randomly only at iOS 10

I'm using WKWebview to present websites, In current version my app have a lot of crash report at iOS 10, other OS version is ok, is any clue to solve this issue?


Crash type 1:

0 libdispatch.dylib__dispatch_barrier_sync_f_slow + 596
1 WebKit___64-[WKProcessAssertionBackgroundTaskManager _updateBackgroundTask]_block_invoke + 240
2 WebKit___64-[WKProcessAssertionBackgroundTaskManager _updateBackgroundTask]_block_invoke + 240
3 UIKit-[UIApplication workspaceNoteAssertionExpirationImminent:] + 292
4 FrontBoardServices___FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36
5 FrontBoardServices-[FBSSerialQueue _performNext] + 176
6 FrontBoardServices-[FBSSerialQueue _performNextFromRunLoopSource] + 56
7 CoreFoundation___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
8 CoreFoundation___CFRunLoopDoSources0 + 524
9 CoreFoundation___CFRunLoopRun + 804
10 CoreFoundationCFRunLoopRunSpecific + 444
11 GraphicsServicesGSEventRunModal + 180
12 UIKit-[UIApplication _run] + 684
13 UIKitUIApplicationMain + 208
14 sixfoot0x00000001000ec000 + 713712
15 libdyld.dylib_start + 4


Crash type 2:

0 JavaScriptCore***::RunLoop::performWork() + 252
1 JavaScriptCore***::RunLoop::performWork(void*) + 36
2 JavaScriptCore***::RunLoop::performWork(void*) + 36
3 CoreFoundation___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
4 CoreFoundation___CFRunLoopDoSources0 + 276
5 CoreFoundation___CFRunLoopRun + 1204
6 CoreFoundationCFRunLoopRunSpecific + 552
7 GraphicsServicesGSEventRunModal + 100
8 UIKitUIApplicationMain + 236
9 sixfootmain (AppDelegate.swift:6)
10 libdyld.dylib_start + 4

Replies

In my experience the most common reason for problems like this is a bug that’s been fixed in the latest OS release. However, it’s hard to say based on the limited info available here. Please post Apple crash reports for each of these problems.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"