Bug 259712

Summary: New Test (266162@main): [ macOS ] media/media-source/media-source-paint-after-display-none.html is a consistent crash/failure/timeout.
Product: WebKit Reporter: Ben Schwartz <ben_schwartz>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: jer.noble, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Crash log none

Description Ben Schwartz 2023-08-01 16:10:01 PDT
media/media-source/media-source-paint-after-display-none.html

This test is a consistent crash/failure/timeout on macOS.

HISTORY:

https://results.webkit.org/?suite=layout-tests&test=media%2Fmedia-source%2Fmedia-source-paint-after-display-none.html&platform=mac

CRASH LOG:

Attached.

TEXT DIFF (on failure):

 RUN(video.style.display = "none")
 EVENT(canplay)
 EVENT(playing)
-EXPECTED (canvas.getContext("2d").getImageData(1, 1, 1, 1).data[0] < '128') OK
-EXPECTED (canvas.getContext("2d").getImageData(1, 1, 1, 1).data[1] > '128') OK
+EXPECTED (canvas.getContext("2d").getImageData(1, 1, 1, 1).data[0] < '128'), OBSERVED '247' FAIL
+EXPECTED (canvas.getContext("2d").getImageData(1, 1, 1, 1).data[1] > '128'), OBSERVED '36' FAIL
 END OF TEST
 
DIFF URL (on failure):

https://build.webkit.org/results/Apple-Ventura-Release-AppleSilicon-WK2-Tests/266482@main%20(4242)/media/media-source/media-source-paint-after-display-none-pretty-diff.html

TEXT DIFF (on timeout):

+FAIL: Timed out waiting for notifyDone to be called
+
 EVENT(sourceopen)
-EVENT(canplay)
-EXPECTED (canvas.getContext("2d").getImageData(1, 1, 1, 1).data[0] > '128') OK
-EXPECTED (canvas.getContext("2d").getImageData(1, 1, 1, 1).data[1] < '128') OK
-RUN(video.style.display = "none")
-EVENT(canplay)
-EVENT(playing)
-EXPECTED (canvas.getContext("2d").getImageData(1, 1, 1, 1).data[0] < '128') OK
-EXPECTED (canvas.getContext("2d").getImageData(1, 1, 1, 1).data[1] > '128') OK
-END OF TEST
 

DIFF URL (on timeout):

https://build.webkit.org/results/Apple-Ventura-Release-WK1-Tests/266464@main%20(3514)/media/media-source/media-source-paint-after-display-none-pretty-diff.html
Comment 1 Radar WebKit Bug Importer 2023-08-01 16:10:22 PDT
<rdar://problem/113233606>
Comment 2 Ben Schwartz 2023-08-01 16:10:39 PDT
Created attachment 467174 [details]
Crash log
Comment 3 Ben Schwartz 2023-08-01 16:15:34 PDT
REPRODUCIBILITY:

I was able to reproduce this bug on macOS Ventura arm64 ToT running the test as follows:

run-webkit-tests --clobber-old-results --iterations 50 --child-processes=10 -f --verbose media/media-source/media-source-paint-after-display-none.html

REGRESSION:

This issue appeared at the time of test introduction to the project at 266162@main.
Comment 4 EWS 2023-08-02 10:25:32 PDT
Test gardening commit 266517@main (13fd3eb86982): <https://commits.webkit.org/266517@main>

Reviewed commits have been landed. Closing PR #16296 and removing active labels.
Comment 5 Ben Schwartz 2023-08-02 10:26:40 PDT
More information: upon further inspection, it looks like this is a consistent problem especially on macOS Ventura x86_64 (both WK1/2).
Comment 6 EWS 2023-08-29 17:14:28 PDT
Test gardening commit 267434@main (4552204d4d73): <https://commits.webkit.org/267434@main>

Reviewed commits have been landed. Closing PR #17208 and removing active labels.