Bug 207115 - REGRESSION: [ iOS ] 20 iOS api tests are crashing after system update
Summary: REGRESSION: [ iOS ] 20 iOS api tests are crashing after system update
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-03 07:50 PST by Truitt Savell
Modified: 2020-02-11 09:15 PST (History)
4 users (show)

See Also:


Attachments
Crash Log (99.55 KB, text/plain)
2020-02-03 13:38 PST, Truitt Savell
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Truitt Savell 2020-02-03 07:50:39 PST
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
Comment 1 Radar WebKit Bug Importer 2020-02-03 07:50:53 PST
<rdar://problem/59110543>
Comment 2 Truitt Savell 2020-02-03 10:03:54 PST
I am able to get this to fail as far back as 251002
Comment 3 Truitt Savell 2020-02-03 10:13:44 PST
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
Comment 4 Truitt Savell 2020-02-03 13:38:29 PST
Created attachment 389558 [details]
Crash Log
Comment 5 Jonathan Bedard 2020-02-04 08:10:03 PST
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.
Comment 6 Jonathan Bedard 2020-02-04 11:51:51 PST
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.
Comment 7 Jonathan Bedard 2020-02-11 09:15:40 PST
Wenson fixed this in https://bugs.webkit.org/show_bug.cgi?id=207525.