Bug 214661

Summary: REGRESSION(r264492): Check failed: sink_by_mid_.empty() on imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-events.html
Product: WebKit Reporter: Karl Rackler <rackler>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: hector_i_lopez, tsavell, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=214730
https://bugs.webkit.org/show_bug.cgi?id=214197

Description Karl Rackler 2020-07-22 15:13:48 PDT
Description:
imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-events.html

This started approximately 07/17/20 and has persisted daily since.

History:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebrtc%2FRTCSctpTransport-events.html&platform=mac&limit=50000&style=debug&flavor=wk2

Crash Log:
No crash log found for WebKitTestRunner:11409.

stdout:

stderr:


#
# Fatal error in: /Volumes/Data/slave/mojave-debug/build/Source/ThirdParty/libwebrtc/Source/webrtc/call/rtp_demuxer.cc, line 49
# last system error: 316
# Check failed: sink_by_mid_.empty()
# #CRASHED - com.apple.WebKit.WebContent.Development (pid 13857)
LEAK: 1 WebProcessPool
LEAK: 1 WebPageProxy
Comment 1 Radar WebKit Bug Importer 2020-07-22 15:14:43 PDT
<rdar://problem/65958169>
Comment 2 Karl Rackler 2020-07-22 15:26:38 PDT
I have marked these tests as failing while this issue is investigated.
https://trac.webkit.org/changeset/264730/webkit
Comment 3 Hector Lopez 2020-07-23 09:42:50 PDT
Was able to reproduce this crash with command:

run-webkit-test imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver-stop.html imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver.https.html imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-events.html --debug --child-processes 1

Regression range is 264476 - 264517
Comment 4 Truitt Savell 2020-07-23 09:49:07 PDT
It looks like this test started crashing when I skipped multiple webrtc tests in https://trac.webkit.org/changeset/264520/webkit

sense this test is reproducible with a test list of 3 tests run in sequence:
imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver-stop.html 
imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver.https.html 
imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-events.html

then when I skipped those tests this was the next test in line to crash. 

This is more fallout from https://trac.webkit.org/changeset/264492/webkit
Comment 5 Karl Rackler 2020-07-27 05:08:33 PDT
This affects both iOS and Mac debug wk2.

Adding iOS debug wk2 test expectation.

History:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebrtc%2FRTCSctpTransport-events.html&platform=mac&platform=ios&limit=50000&flavor=wk2&style=debug

I have marked this test as failing while this issue is investigated.
https://trac.webkit.org/changeset/264918/webkit
Comment 6 youenn fablet 2020-08-18 00:21:49 PDT
As per bug 215025, imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-maxChannels.html is also crashing.
Comment 7 youenn fablet 2020-08-18 00:22:02 PDT
*** Bug 215025 has been marked as a duplicate of this bug. ***