Bug 212824

Summary: [ macOS iOS ] imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-disconnect-audioparam.html is a constant failure
Product: WebKit Reporter: Jacob Uphoff <jacob_uphoff>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: ASSIGNED ---    
Severity: Normal CC: cdumez, hector_i_lopez, 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 Jacob Uphoff 2020-06-05 08:27:09 PDT
imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-disconnect-audioparam.html

This test has been a flaky failure for all history and the history starts around commit r262425.

History:

https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebaudio%2Fthe-audio-api%2Fthe-audionode-interface%2Faudionode-disconnect-audioparam.html&limit=50000

Diff:

--- /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-disconnect-audioparam-expected.txt
+++ /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-disconnect-audioparam-actual.txt
@@ -1,3 +1,5 @@
+
+Harness Error (FAIL), message = Unhandled rejection: The object is in an invalid state.
 
 PASS # AUDIT TASK RUNNER STARTED. 
 FAIL Executing "disconnect(AudioParam)" promise_test: Unhandled rejection with value: object "TypeError: undefined is not an object (evaluating 'context.startRendering()
Comment 1 Jacob Uphoff 2020-06-05 08:52:11 PDT
Set expectations here: https://trac.webkit.org/changeset/262622/webkit
Comment 2 Radar WebKit Bug Importer 2020-06-05 09:26:32 PDT
<rdar://problem/64031929>
Comment 3 Radar WebKit Bug Importer 2020-06-05 09:26:34 PDT
<rdar://problem/64031931>
Comment 4 Hector Lopez 2020-08-10 08:57:27 PDT
Created attachment 406298 [details]
Crash log
Comment 5 Hector Lopez 2020-08-10 08:57:59 PDT
imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-disconnect-audioparam.html

Test is consistently failing on macOS and iOS. Test was a flaky failure on macOS Debug when first reported. Started consistently failing on macOS debug at r265087. Test failures changed to consistent and crashes at r265403 on macOS and iOS.

Diff:
--- /Volumes/Data/slave/catalina-release-tests-wk1/build/layout-test-results/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-disconnect-audioparam-expected.txt
+++ /Volumes/Data/slave/catalina-release-tests-wk1/build/layout-test-results/imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-disconnect-audioparam-actual.txt
@@ -1,5 +1,3 @@
-CONSOLE MESSAGE: Unhandled Promise Rejection: InvalidStateError: The object is in an invalid state.
-CONSOLE MESSAGE: Unhandled Promise Rejection: InvalidStateError: The object is in an invalid state.
 
 Harness Error (FAIL), message = Unhandled rejection: The object is in an invalid state.

Crash Log: See attachment
ASSERTION FAILED: m_finishedNodes.isEmpty in WebCore::BaseAudioContext::~BaseAudioContext

CoreSimulator 704.12 - Device: Managed 7 (F3E52D42-5180-4106-8AD4-A43E8DFC9A39) - Runtime: iOS 13.4 (17E255) - DeviceType: iPad (5th generation)

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x00000005edb99d8e WTFCrash + 14 (Assertions.cpp:295)
1   com.apple.WebCore             	0x00000005f53734eb WTFCrashWithInfo(int, char const*, char const*, int) + 27
2   com.apple.WebCore             	0x00000005f73d068e WebCore::BaseAudioContext::~BaseAudioContext() + 654 (BaseAudioContext.cpp:182)
3   com.apple.WebCore             	0x00000005f740f9f1 WebCore::OfflineAudioContext::~OfflineAudioContext() + 161 (OfflineAudioContext.h:33)
4   com.apple.WebCore             	0x00000005f740daf5 WebCore::OfflineAudioContext::~OfflineAudioContext() + 21 (OfflineAudioContext.h:33)
5   com.apple.WebCore             	0x00000005f740db1c WebCore::OfflineAudioContext::~OfflineAudioContext() + 28 (OfflineAudioContext.h:33)
6   com.apple.WebCore             	0x00000005f58fab34 WTF::ThreadSafeRefCounted<WebCore::BaseAudioContext, (WTF::DestructionThread)0>::deref() const::'lambda'()::operator()() const + 52 (ThreadSafeRefCounted.h:118)
7   com.apple.WebCore             	0x00000005f58faaed WTF::ThreadSafeRefCounted<WebCore::BaseAudioContext, (WTF::DestructionThread)0>::deref() const + 61 (ThreadSafeRefCounted.h:136)
Comment 6 Hector Lopez 2020-08-10 09:11:16 PDT
imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audionode-interface/audionode-disconnect-audioparam.html

Test is consistently failing on macOS and iOS. Test was a flaky failure on macOS Debug when first reported. Started consistently failing on macOS debug at r265087. Test failures changed to consistent and crashes at r265403 on macOS and iOS.

History:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebaudio%2Fthe-audio-api%2Fthe-audionode-interface%2Faudionode-disconnect-audioparam.html&limit=50000&platform=ios&platform=mac
Comment 7 Chris Dumez 2020-08-10 09:30:24 PDT
 <https://trac.webkit.org/changeset/265430>
Comment 8 Chris Dumez 2020-08-10 09:58:54 PDT
<https://trac.webkit.org/changeset/265434>