Bug 251731

Summary: REGRESSION(259687@main-259686@main?): [ Mac WK1 ] webaudio/AudioBuffer/huge-buffer.html is broken.
Product: WebKit Reporter: Bri Harris <bharris9>
Component: New BugsAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: jenner, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=251710
Attachments:
Description Flags
Crash Log none

Description Bri Harris 2023-02-03 17:17:17 PST
webaudio/AudioBuffer/huge-buffer.html

is a constant crash running on Apple Silicon WebKit 1, is a constant failure running on Intel Wk 1 Debug and a constant time out on Intel Release Wk 1. 

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=webaudio%2FAudioBuffer%2Fhuge-buffer.html



I was able to replicate the crash as follows:

run-webkit-test webaudio/AudioBuffer/huge-buffer.html -1

but I was not able to retrieve a crash log. I was able to replicate this crash at 259688@main but not at 259682@main. 

It is also failing as follows for Mac Intel Debug WK1:


FAILURE TEXT DIFF:
@@ -3,7 +3,7 @@
 PASS Executing "huge buffer"
 PASS Audit report
 PASS > [huge buffer]
-PASS   new AudioBuffer({"numberOfChannels":32,"length":1073741824,"sampleRate":16000}) threw NotSupportedError: "Channel was not able to be created.".
-PASS < [huge buffer] All assertions passed. (total 1 assertions)
-PASS # AUDIT TASK RUNNER FINISHED: 1 tasks ran successfully.
+FAIL X new AudioBuffer({"numberOfChannels":32,"length":1073741824,"sampleRate":16000}) did not throw an exception. assert_true: expected true got false
+FAIL < [huge buffer] 1 out of 1 assertions were failed. assert_true: expected true got false
+FAIL # AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed. assert_true: expected true got false
Comment 1 Bri Harris 2023-02-03 17:18:17 PST
I was also able to verify that 259688@main caused the regression because I was able to reproduce the crash at 259688@main but not at 259682@main.
Comment 2 Radar WebKit Bug Importer 2023-02-03 17:18:37 PST
<rdar://problem/105027512>
Comment 3 Bri Harris 2023-02-17 09:56:49 PST
Created attachment 465056 [details]
Crash Log
Comment 4 Jean-Yves Avenard [:jya] 2023-03-09 23:11:00 PST
Pull request: https://github.com/WebKit/WebKit/pull/11348
Comment 5 EWS 2023-03-13 16:44:15 PDT
Committed 261599@main (1b6b753d9def): <https://commits.webkit.org/261599@main>

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