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.
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.
Created attachment 436528 [details] Crash log
<rdar://problem/82394585>
Thanks ayumi, I'll revert https://commits.webkit.org/r281616 for now and will fix the debug assert in another patch.
Created attachment 442229 [details] Crash Log(2)
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
Updated test expectations at https://trac.webkit.org/changeset/284732/webkit
This test appears to be consistently passing now, and there are no expectations to remove.