<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>214730</bug_id>
          
          <creation_ts>2020-07-24 05:05:27 -0700</creation_ts>
          <short_desc>REGRESSION (r264492): Check failed: sink_by_mid_.empty() on 2 webrtc tests, flakily</short_desc>
          <delta_ts>2020-07-28 06:28:07 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=214478</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=214661</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Rackler">rackler</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jer.noble</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1674588</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2020-07-24 05:05:27 -0700</bug_when>
    <thetext>REGRESSION (r264492): [ iOS debug wk2 ] Broke 2 webrtc tests that are flaky crash

Description:
imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-constructor.html
webrtc/simulcast-h264.html

This started approximately 07/17/20 and is flaky crash since.

It looks like the changes in https://trac.webkit.org/changeset/264492/webkit caused these tests to crash.

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

Crash Log:
Test: imported/w3c/web-platform-tests/webrtc/RTCSctpTransport-constructor.html
No crash log found for WebKitTestRunnerApp:10592.

stdout:

stderr:


#
# Fatal error in: /Volumes/Data/slave/ios-simulator-13-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 15054)
LEAK: 1 WebProcessPool
LEAK: 1 WebPageProxy
-------------------------
Test: webrtc/simulcast-h264.html
No crash log found for WebKitTestRunnerApp:15453.

stdout:

stderr:
(used_ids.h:55): Duplicate id found. Reassigning from 102 to 127
(used_ids.h:55): Duplicate id found. Reassigning from 103 to 125
(used_ids.h:55): Duplicate id found. Reassigning from 105 to 124
(used_ids.h:55): Duplicate id found. Reassigning from 1 to 14
(used_ids.h:55): Duplicate id found. Reassigning from 3 to 13
(used_ids.h:55): Duplicate id found. Reassigning from 5 to 12
(used_ids.h:55): Duplicate id found. Reassigning from 6 to 11
(webrtc_video_engine.cc:3160): Absent receive stream; ignoring clearing encoded frame sink for ssrc 0
(webrtc_video_engine.cc:3160): Absent receive stream; ignoring clearing encoded frame sink for ssrc 0
(webrtc_video_engine.cc:3160): Absent receive stream; ignoring clearing encoded frame sink for ssrc 0
(jsep_transport_controller.cc:349): Not adding candidate because the JsepTransport doesn&apos;t exist. Ignore it.
(jsep_transport_controller.cc:349): Not adding candidate because the JsepTransport doesn&apos;t exist. Ignore it.
(jsep_transport_controller.cc:349): Not adding candidate because the JsepTransport doesn&apos;t exist. Ignore it.
(jsep_transport_controller.cc:349): Not adding candidate because the JsepTransport doesn&apos;t exist. Ignore it.
(dtls_transport.cc:569): DtlsTransport[0|1|__]: Packet received before we know if we are doing DTLS or not.
(balanced_degradation_settings.cc:96): Unsupported size, value ignored.
(rtp_video_sender.cc:112): Only RED or only ULPFEC enabled, but not both. Disabling both.
(rtp_video_sender.cc:112): Only RED or only ULPFEC enabled, but not both. Disabling both.
(rtp_video_sender.cc:112): Only RED or only ULPFEC enabled, but not both. Disabling both.
(video_send_stream_impl.cc:243): ERROR: Initial encoder max bitrate = -1 which is &lt;= 0!
(simulcast.cc:242): Reducing simulcast layer count from 3 to 2
(helpers.cc:135): VTSessionSetProperty failed to set: DataRateLimits to array value: -12902, vcpSession: 0


#
# Fatal error in: /Volumes/Data/slave/ios-simulator-13-debug/build/Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/components/video_codec/RTCVideoEncoderH264.mm, line 428
# last system error: 0
# Check failed: frame.width == _width (640 vs. 320)
# #CRASHED - com.apple.WebKit.WebContent.Development (pid 17127)
LEAK: 1 WebProcessPool
LEAK: 1 WebPageProxy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1674589</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-07-24 05:06:53 -0700</bug_when>
    <thetext>&lt;rdar://problem/66047260&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1674590</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2020-07-24 05:21:17 -0700</bug_when>
    <thetext>I have marked these tests as skip while this issue is investigated.
https://trac.webkit.org/changeset/264817/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1675316</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2020-07-27 11:10:02 -0700</bug_when>
    <thetext>This affects both iOS and Mac debug wk2.

Appears to have the same results as Mac. https://bugs.webkit.org/show_bug.cgi?id=214478

It looks like the changes in https://trac.webkit.org/changeset/264492/webkit caused these tests to crash.

Adding iOS debug wk2 test expectation, similar to https://trac.webkit.org/changeset/264520/webkit since skipping one causes the next to crash.

I have marked these tests as skip while this issue is investigated.
https://trac.webkit.org/changeset/264932/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1675587</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2020-07-28 06:28:07 -0700</bug_when>
    <thetext>One more test added.

I have marked these tests as skip while this issue is investigated.
https://trac.webkit.org/changeset/264979/webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>