Bug 229569 - REGRESSION(r281616): [ iOS & MacOS]imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-perfect-negotiation-stress-glare-linear.https.html is failing/ crashing.
Summary: REGRESSION(r281616): [ iOS & MacOS]imported/w3c/web-platform-tests/webrtc/RTC...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-08-26 09:42 PDT by ayumi_kojima
Modified: 2022-04-25 17:14 PDT (History)
5 users (show)

See Also:


Attachments
Crash log (145.40 KB, text/plain)
2021-08-26 09:43 PDT, ayumi_kojima
no flags Details
Crash Log(2) (101.74 KB, text/plain)
2021-10-22 17:34 PDT, Eric Hutchison
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ayumi_kojima 2021-08-26 09:42:19 PDT
imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-perfect-negotiation-stress-glare-linear.https.html

is crashing on iOS Debug and failing on other platforms.
 
History: https://results.webkit.org/?suite=layout-tests&test=imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-perfect-negotiation-stress-glare-linear.https.html

Diff: 

--- /Volumes/Data/worker/bigsur-debug-applesilicon-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-perfect-negotiation-stress-glare-linear.https-expected.txt
+++ /Volumes/Data/worker/bigsur-debug-applesilicon-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-perfect-negotiation-stress-glare-linear.https-actual.txt
@@ -1,5 +1,3 @@
-
-Harness Error (FAIL), message = Unhandled rejection: null is not an object (evaluating 'target.postMessage')
 
 FAIL Perfect negotiation stress glare linear Failed to set remote offer sdp: Called in wrong state: have-local-offer
 FAIL Perfect negotiation stress glare linear with roles reversed assert_unreached: Error in iframe: InvalidStateError: Failed to set remote offer sdp: Called in wrong state: have-local-offer Reached unreachable code

The test also showing up on EWS as a flaky test.
Comment 1 ayumi_kojima 2021-08-26 09:42:32 PDT
imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-perfect-negotiation-stress-glare.https.html

Is also crashing/failing.

History: https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebrtc%2FRTCPeerConnection-perfect-negotiation-stress-glare.https.html

Result page: https://build.webkit.org/results/Apple-iOS-14-Simulator-Debug-WK2-Tests/r281620%20(2459)/results.html

It appears that the changes in https://trac.webkit.org/changeset/281616/webkit caused the failure.
Comment 2 ayumi_kojima 2021-08-26 09:43:12 PDT
Created attachment 436528 [details]
Crash log
Comment 3 Radar WebKit Bug Importer 2021-08-26 09:43:56 PDT
<rdar://problem/82394585>
Comment 4 youenn fablet 2021-08-26 09:53:23 PDT
Thanks ayumi, I'll revert https://commits.webkit.org/r281616 for now and will fix the debug assert in another patch.
Comment 5 Eric Hutchison 2021-10-22 17:34:46 PDT
Created attachment 442229 [details]
Crash Log(2)
Comment 6 Eric Hutchison 2021-10-22 17:45:21 PDT
imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-perfect-negotiation-stress-glare.https.html

is crashing flakily on Catalina wk2 Release EWS.

History: https://results.webkit.org/?suite=layout-tests&test=imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-perfect-negotiation-stress-glare.https.html

Build: https://ews-build.webkit.org/#/builders/59/builds/21303

Crash Log attached: Crash Log(2)

Thread 3 Crashed:: WebKitWebRTCNetwork
0   libwebrtc.dylib               	0x0000000113f8915b rtc::NetworkManagerBase::MergeNetworkList(std::__1::vector<rtc::Network*, std::__1::allocator<rtc::Network*> > const&, bool*, rtc::NetworkManager::Stats*) + 3051
1   libwebrtc.dylib               	0x0000000113f88569 rtc::NetworkManagerBase::MergeNetworkList(std::__1::vector<rtc::Network*, std::__1::allocator<rtc::Network*> > const&, bool*) + 25
2   com.apple.WebKit              	0x000000010d4f5513 WTF::Detail::CallableWrapper<WebKit::LibWebRTCNetworkManager::networksChanged(WTF::Vector<WebKit::RTCNetwork, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&, WebKit::RTCNetwork::IPAddress const&, WebKit::RTCNetwork::IPAddress const&)::$_12, void>::call() + 147
3   com.apple.WebCore             	0x0000000110cc0c44 WebCore::PeerConnectionFactoryAndThreads::OnMessage(rtc::Message*) + 20
4   libwebrtc.dylib               	0x00000001141545be rtc::Thread::Dispatch(rtc::Message*) + 46
5   libwebrtc.dylib               	0x0000000114152ebc rtc::Thread::ProcessMessages(int) + 300
6   libwebrtc.dylib               	0x0000000114154a4f rtc::Thread::PreRun(void*) + 79
7   libsystem_pthread.dylib       	0x00007fff68710109 _pthread_start + 148
8   libsystem_pthread.dylib       	0x00007fff6870bb8b thread_start + 15
Comment 7 Eric Hutchison 2021-10-22 17:59:11 PDT
Updated test expectations at https://trac.webkit.org/changeset/284732/webkit
Comment 8 Ryan Haddad 2022-04-25 17:14:15 PDT
This test appears to be consistently passing now, and there are no expectations to remove.