<?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>241453</bug_id>
          
          <creation_ts>2022-06-09 00:25:09 -0700</creation_ts>
          <short_desc>[Assertion] m_lastPresentationTime in WebMParser::VideoTrackData::flushPendingSamples()</short_desc>
          <delta_ts>2022-06-12 20:23:09 -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>Media</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=236754</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jean-Yves Avenard [:jya]">jean-yves.avenard</reporter>
          <assigned_to name="Jean-Yves Avenard [:jya]">jean-yves.avenard</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1874929</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2022-06-09 00:25:09 -0700</bug_when>
    <thetext>STR:

1- Open https://www.youtube.com/watch?v=gLcpjY3Gm2E
2- Select 8K stream
3- Seek around 4m mark

```
error: invalid value path &apos;target.prefer-gdb-objc-realized-classes&apos;
(lldb) bt
* thread #77, queue = &apos;SourceBufferPrivateAVFObjC data parser queue&apos;, stop reason = EXC_BAD_ACCESS (code=1, address=0xbbadbeef)
    frame #0: 0x000000012dddef28 JavaScriptCore`::WTFCrash() at Assertions.cpp:322:35
    frame #1: 0x000000014bb23ef4 WebCore`WTFCrashWithInfo((null)=1160, (null)=&quot;platform/graphics/cocoa/SourceBufferParserWebM.cpp&quot;, (null)=&quot;void WebCore::WebMParser::VideoTrackData::flushPendingSamples()&quot;, (null)=2651) at Assertions.h:748:5
  * frame #2: 0x000000014feccfd4 WebCore`WebCore::WebMParser::VideoTrackData::flushPendingSamples(this=0x00000001390da070) at SourceBufferParserWebM.cpp:1160:5
    frame #3: 0x000000014fec8640 WebCore`WebCore::WebMParser::flushPendingVideoSamples(this=0x0000000139028538) at SourceBufferParserWebM.cpp:1056:63
    frame #4: 0x000000014fec826c WebCore`WebCore::WebMParser::parse(this=0x0000000139028538, segment=0x000000016dff67c8) at SourceBufferParserWebM.cpp:581:13
    frame #5: 0x000000014fed0214 WebCore`WebCore::SourceBufferParserWebM::appendData(this=0x00000001390284e0, segment=0x000000016dff67c8, completionHandler=0x000000016dff67b8, appendFlags=None)&gt;&amp;&amp;, WebCore::SourceBufferParser::AppendFlags) at SourceBufferParserWebM.cpp:1475:28
    frame #6: 0x000000014babb394 WebCore`WebCore::SourceBufferPrivateAVFObjC::append(this=0x00000001395d10e8)::$_16::operator()() at SourceBufferPrivateAVFObjC.mm:696:17
    frame #7: 0x000000014babb198 WebCore`WTF::Detail::CallableWrapper&lt;WebCore::SourceBufferPrivateAVFObjC::append(WTF::Ref&lt;WebCore::SharedBuffer, WTF::RawPtrTraits&lt;WebCore::SharedBuffer&gt; &gt;&amp;&amp;)::$_16, void&gt;::call(this=0x00000001395d10e0) at Function.h:53:39
    frame #8: 0x000000012de073e4 JavaScriptCore`WTF::Function&lt;void ()&gt;::operator(this=0x0000000139635378)() const at Function.h:82:35
    frame #9: 0x000000012df38d58 JavaScriptCore`WTF::(anonymous namespace)::DispatchWorkItem::operator(this=0x0000000139635370)() at WorkQueueCocoa.cpp:40:25
    frame #10: 0x000000012df375c8 JavaScriptCore`void WTF::dispatchWorkItem&lt;WTF::(anonymous namespace)::DispatchWorkItem&gt;(dispatchContext=0x0000000139635370) at WorkQueueCocoa.cpp:48:5
    frame #11: 0x0000000102acea48 libdispatch.dylib`_dispatch_client_callout + 20
    frame #12: 0x0000000102ad7de8 libdispatch.dylib`_dispatch_lane_serial_drain + 984
    frame #13: 0x0000000102ad8e40 libdispatch.dylib`_dispatch_lane_invoke + 432
    frame #14: 0x0000000102ae8998 libdispatch.dylib`_dispatch_workloop_worker_thread + 1064
    frame #15: 0x00000001026dbf58 libsystem_pthread.dylib`_pthread_wqthread + 288
(lldb) 
```

Regression from bug 236754</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1874930</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-06-09 00:25:29 -0700</bug_when>
    <thetext>&lt;rdar://problem/94700278&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1875382</commentid>
    <comment_count>2</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2022-06-11 04:30:43 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/1458</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1875471</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-06-12 20:23:07 -0700</bug_when>
    <thetext>Committed r295480 (251485@main): &lt;https://commits.webkit.org/251485@main&gt;

Reviewed commits have been landed. Closing PR #1458 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>