20 iOS api tests are crashing after system update These tests are crashing all with "Child process terminated with signal 11: Segmentation fault" Stdio: https://build.webkit.org/builders/Apple%20iOS%2013%20Simulator%20Release%20WK2%20%28Tests%29/builds/2341/steps/run-api-tests/logs/stdio These are very flaky crashes and we are seeing 7-12 crashes fairly consistently. The only one I am able to reproduce reliably with iterations is: TestWebKitAPI.KeyboardInputTests.SupportsImagePaste
<rdar://problem/59110543>
I am able to get this to fail as far back as 251002
TestWebKitAPI.ProcessSwap.BasicWithAsyncSchemeHandler TestWebKitAPI.KeyboardInputTests.SupportsImagePaste TestWebKitAPI.ProcessSwap.CrossOriginBlobNavigation TestWebKitAPI.WebKit.DoAfterNextStablePresentationUpdateAfterCrash TestWebKitAPI.WebKit.WKHTTPCookieStore TestWebKitAPI.ResourceLoadStatistics.EnableDisableITP TestWebKitAPI.WebKit.GeolocationPermission TestWebKitAPI.PreferredContentMode.DesktopModeUsesNativeViewportByDefault TestWebKitAPI.WebKit.WebsiteDataStoreCustomPathsWithPrewarming TestWebKitAPI.KeyboardInputTests.ModifyInputAssistantItemBarButtonGroups TestWebKitAPI.WebKit.LoadInvalidURLRequest TestWebKitAPI.WKWebViewCloseAllMediaPresentations.ElementFullscreen TestWebKitAPI.PreferredContentMode.DesktopModeOnPhone TestWebKitAPI.WKWebViewFindString.DoNotUpdateMatchIndexWhenGivenNoIndexChangeOption TestWebKitAPI.URLSchemeHandler.Exceptions TestWebKitAPI.WKWebViewEditActions.NestedListInsertion TestWebKitAPI.WebKit.NetworkProcessRelaunchOnLaunchFailure TestWebKitAPI.ProcessSwap.ServerRedirect TestWebKitAPI.DeviceOrientation.RememberPermissionForSession
Created attachment 389558 [details] Crash Log
Looking at the code, my guess is that we someone have a test somehow not associated with a file or a line number. If we have a reliable reproduction, I can probably fix it. Building now to test.
I can fix the crash, but the crash is just surprising another error, likely an uncaught C++ exception (for TestWebKitAPI.KeyboardInputTests.SupportsImagePaste), but I haven't run all of the effected tests.
Wenson fixed this in https://bugs.webkit.org/show_bug.cgi?id=207525.