<?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>229810</bug_id>
          
          <creation_ts>2021-09-02 09:14:52 -0700</creation_ts>
          <short_desc>[ iOS ] SHOULD NEVER BE REACHED ./Modules/mediastream/MediaStreamTrack.cpp(294) : WebCore::DoubleRange WebCore::capabilityDoubleRange(const WebCore::CapabilityValueOrRange &amp;)</short_desc>
          <delta_ts>2022-06-23 14:10:05 -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>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <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>ayumi_kojima</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>ehutchison</cc>
    
    <cc>eric.carlson</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>1789730</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-02 09:14:52 -0700</bug_when>
    <thetext>fast/mediastream/get-display-media-capabilities.html

Is crashing on iOS 14 E debug and failing on iOS 14 E release. 

The failure is also showing on iOS-14-Simulator-WK2-Tests-EWS as a pre-existing test failure.

History: https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fmediastream%2Fget-display-media-capabilities.html

Crash log:

SHOULD NEVER BE REACHED
./Modules/mediastream/MediaStreamTrack.cpp(294) : WebCore::DoubleRange WebCore::capabilityDoubleRange(const WebCore::CapabilityValueOrRange &amp;)
1   0x30583c0d9 WTFCrash
2   0x30e332f0b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x31071c77d WebCore::capabilityDoubleRange(WebCore::CapabilityValueOrRange const&amp;)
4   0x31071c0dd WebCore::MediaStreamTrack::getCapabilities() const
5   0x30f4acc10 WebCore::jsMediaStreamTrackPrototypeFunction_getCapabilitiesBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSMediaStreamTrack*)
6   0x30f4acb0c long long WebCore::IDLOperation&lt;WebCore::JSMediaStreamTrack&gt;::call&lt;&amp;(WebCore::jsMediaStreamTrackPrototypeFunction_getCapabilitiesBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSMediaStreamTrack*)), (WebCore::CastedThisErrorBehavior)0&gt;(JSC::JSGlobalObject&amp;, JSC::CallFrame&amp;, char const*)
7   0x30f4abdb4 WebCore::jsMediaStreamTrackPrototypeFunction_getCapabilities(JSC::JSGlobalObject*, JSC::CallFrame*)
8   0x59a7e3c011d8
9   0x305eff4d9 llint_entry
10  0x305eff4d9 llint_entry
11  0x305eff431 llint_entry
12  0x305eff4d9 llint_entry
13  0x305eff431 llint_entry
14  0x305edc430 vmEntryToJavaScript
15  0x306ec64bb JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)
16  0x306ec6c1c JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
17  0x3072b9aad JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
18  0x3072b9d83 JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
19  0x307556631 JSC::JSMicrotask::run(JSC::JSGlobalObject*)
20  0x310d030de WebCore::JSExecState::runTask(JSC::JSGlobalObject*, JSC::Microtask&amp;)
21  0x310d0a08b WebCore::JSMicrotaskCallback::call()
22  0x310d09ec4 WebCore::JSDOMWindowBase::queueMicrotaskToEventLoop(JSC::JSGlobalObject&amp;, WTF::Ref&lt;JSC::Microtask, WTF::RawPtrTraits&lt;JSC::Microtask&gt; &gt;&amp;&amp;)::$_40::operator()()
23  0x310d09dae WTF::Detail::CallableWrapper&lt;WebCore::JSDOMWindowBase::queueMicrotaskToEventLoop(JSC::JSGlobalObject&amp;, WTF::Ref&lt;JSC::Microtask, WTF::RawPtrTraits&lt;JSC::Microtask&gt; &gt;&amp;&amp;)::$_40, void&gt;::call()
24  0x30e34df22 WTF::Function&lt;void ()&gt;::operator()() const
25  0x3114b52ce WebCore::EventLoopFunctionDispatchTask::execute()
26  0x3114fe84b WebCore::MicrotaskQueue::performMicrotaskCheckpoint()
27  0x3114aaa11 WebCore::EventLoop::run()
28  0x311651f8c WebCore::WindowEventLoop::didReachTimeToRun()
29  0x311655467 decltype(*(std::__1::forward&lt;WebCore::WindowEventLoop*&amp;&gt;(fp0)).*fp()) std::__1::__invoke&lt;void (WebCore::WindowEventLoop::*&amp;)(), WebCore::WindowEventLoop*&amp;, void&gt;(void (WebCore::WindowEventLoop::*&amp;)(), WebCore::WindowEventLoop*&amp;)
30  0x3116553e0 std::__1::__bind_return&lt;void (WebCore::WindowEventLoop::*)(), std::__1::tuple&lt;WebCore::WindowEventLoop*&gt;, std::__1::tuple&lt;&gt;, __is_valid_bind_return&lt;void (WebCore::WindowEventLoop::*)(), std::__1::tuple&lt;WebCore::WindowEventLoop*&gt;, std::__1::tuple&lt;&gt; &gt;::value&gt;::type std::__1::__apply_functor&lt;void (WebCore::WindowEventLoop::*)(), std::__1::tuple&lt;WebCore::WindowEventLoop*&gt;, 0ul, std::__1::tuple&lt;&gt; &gt;(void (WebCore::WindowEventLoop::*&amp;)(), std::__1::tuple&lt;WebCore::WindowEventLoop*&gt;&amp;, std::__1::__tuple_indices&lt;0ul&gt;, std::__1::tuple&lt;&gt;&amp;&amp;)
31  0x311655399 std::__1::__bind_return&lt;void (WebCore::WindowEventLoop::*)(), std::__1::tuple&lt;WebCore::WindowEventLoop*&gt;, std::__1::tuple&lt;&gt;, __is_valid_bind_return&lt;void (WebCore::WindowEventLoop::*)(), std::__1::tuple&lt;WebCore::WindowEventLoop*&gt;, std::__1::tuple&lt;&gt; &gt;::value&gt;::type std::__1::__bind&lt;void (WebCore::WindowEventLoop::*&amp;)(), WebCore::WindowEventLoop*&gt;::operator()&lt;&gt;()
com.apple.WebKit.WebContent.Development terminated (pid 1274) because the process crashed

Diff:

--- /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/fast/mediastream/get-display-media-capabilities-expected.txt
+++ /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/fast/mediastream/get-display-media-capabilities-actual.txt
@@ -1,3 +1,3 @@
 
-PASS check capabilities
+FAIL check capabilities assert_equals: expected 1 but got 45</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1789731</commentid>
    <comment_count>1</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-02 09:16:05 -0700</bug_when>
    <thetext>The test has been failing/ crashing since it is added at https://trac.webkit.org/changeset/281880/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1789732</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-02 09:16:43 -0700</bug_when>
    <thetext>&lt;rdar://problem/82678194&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1789736</commentid>
    <comment_count>3</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-02 09:22:51 -0700</bug_when>
    <thetext>Marked expectations : https://trac.webkit.org/changeset/281927/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1789746</commentid>
    <comment_count>4</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-09-02 09:38:56 -0700</bug_when>
    <thetext>Per Eric&apos;s request, updated expectations so that the test skip on iOS: https://trac.webkit.org/changeset/281929/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877834</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-06-23 14:09:13 -0700</bug_when>
    <thetext>*** Bug 229812 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>