Bug 285929
| Summary: | REGRESSION(iOS 18): TestWebKitAPI.ShareSheetTests.ShareImgElementWithBase64URL (api-test) is a flaky crash on iOS | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dawn Morningstar <Morningstar> |
| Component: | Tools / Tests | Assignee: | Antoine Quint <graouts> |
| Status: | NEW | ||
| Severity: | Normal | CC: | akeerthi, a_protyasha, graouts, webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Dawn Morningstar
TestWebKitAPI.ShareSheetTests.ShareImgElementWithBase64URL
Is a flaky crash on iOS, this started occurring when we moved from iOS17 to iOS18
HISTORY:
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.ShareSheetTests.ShareImgElementWithBase64URL&recent=false
Test-run:
https://build.webkit.org/#/builders/1391/builds/218
STDIO:
https://build.webkit.org/#/builders/1391/builds/218/steps/18/logs/stdio
Crash:
Crashed
TestWebKitAPI.ShareSheetTests.ShareImgElementWithBase64URL
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Can not set up _UISceneHostingView with a nil scene'
*** First throw call stack:
(
0 CoreFoundation 0x00000001096b810c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x000000010731eda8 objc_exception_throw + 72
2 Foundation 0x0000000113449c70 _userInfoForFileAndLine + 0
3 UIKitCore 0x000000016e949b98 -[_UISceneHostingView setPresentedScene:] + 568
4 UIKitCore 0x000000016e3c3664 -[_UISceneHostingController createSceneWithConfiguration:] + 188
5 UIKitCore 0x000000016e3c34fc -[_UISceneHostingController initWithAdvancedConfiguration:] + 140
6 UIKitCore 0x000000016e3c358c -[_UISceneHostingController initWithProcessIdentity:sceneSpecification:] + 100
7 ShareSheet 0x000000013db052b0 -[SHSheetRemoteScene setupSceneHosting] + 220
8 ShareSheet 0x000000013db04ff8 -[SHSheetRemoteScene activate] + 124
9 ShareSheet 0x000000013db4994c -[SHSheetInteractor startSession] + 244
10 ShareSheet 0x000000013db43010 -[SHSheetPresenter initWithRouter:interactor:] + 160
11 ShareSheet 0x000000013db363d0 +[SHSheetFactory createMainPresenterWithContext:] + 228
12 ShareSheet 0x000000013db2e320 -[UIActivityViewController _createMainPresenterIfNeeded] + 80
13 libdispatch.dylib 0x000000010d2fa314 _dispatch_call_block_and_release + 24
14 libdispatch.dylib 0x000000010d2fbc08 _dispatch_client_callout + 16
15 libdispatch.dylib 0x000000010d30ac2c _dispatch_main_queue_drain + 1276
16 libdispatch.dylib 0x000000010d30a720 _dispatch_main_queue_callback_4CF + 40
17 CoreFoundation 0x000000010961bdac __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
18 CoreFoundation 0x0000000109616308 __CFRunLoopRun + 1944
19 CoreFoundation 0x00000001096156f4 CFRunLoopRunSpecific + 552
20 Foundation 0x0000000113501438 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208
21 TestWebKitAPI 0x00000001038c9eb0 _ZN13TestWebKitAPI4Util3runEPb + 108
22 TestWebKitAPI 0x0000000102c738e0 _ZN13TestWebKitAPI49ShareSheetTests_ShareImgElementWithBase64URL_Test8TestBodyEv + 504
23 TestWebKitAPI 0x0000000103983be4 _ZN7testing8internal38HandleSehExceptionsInMethodIfSupportedINS_4TestEvEET0_PT_MS4_FS3_vEPKc + 148
24 TestWebKitAPI 0x0000000103944310 _ZN7testing8internal35HandleExceptionsInMethodIfSupportedINS_4TestEvEET0_PT_MS4_FS3_vEPKc + 96
25 TestWebKitAPI 0x0000000103944260 _ZN7testing4Test3RunEv + 192
26 TestWebKitAPI 0x00000001039451ac _ZN7testing8TestInfo3RunEv + 304
27 TestWebKitAPI 0x000000010394638c _ZN7testing9TestSuite3RunEv + 412
28 TestWebKitAPI 0x0000000103954038 _ZN7testing8internal12UnitTestImpl11RunAllTestsEv + 1032
29 TestWebKitAPI 0x0000000103988a78 _ZN7testing8internal38HandleSehExceptionsInMethodIfSupportedINS0_12UnitTestImplEbEET0_PT_MS4_FS3_vEPKc + 148
30 TestWebKitAPI 0x00000001039539f4 _ZN7testing8internal35HandleExceptionsInMethodIfSupportedINS0_12UnitTestImplEbEET0_PT_MS4_FS3_vEPKc + 96
31 TestWebKitAPI 0x0000000103953950 _ZN7testing8UnitTest3RunEv + 100
32 TestWebKitAPI 0x0000000102d16930 _Z13RUN_ALL_TESTSv + 16
33 TestWebKitAPI 0x0000000102d168c4 _ZN13TestWebKitAPI15TestsController3runEiPPc + 156
34 TestWebKitAPI 0x0000000103937e40 main + 380
35 dyld 0x00000001060ad410 start_sim + 20
36 ??? 0x000000010618e274 0x0 + 4397261428
)
libc++abi: terminating due to uncaught exception of type NSException
Child process terminated with signal 6: Abort trap
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/142903525>
EWS
Test gardening commit 288883@main (09cc81641e27): <https://commits.webkit.org/288883@main>
Reviewed commits have been landed. Closing PR #39011 and removing active labels.
Alexey Proskuryakov
Guessing (form just glancing at the stack trace) that as far as we are concerned this is mostly about this test winding down before SHSheet has a chance before doing its asynchronous work. Although that code could be more resilient, too.
Alexey Proskuryakov
*** Bug 285928 has been marked as a duplicate of this bug. ***