<?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>256189</bug_id>
          
          <creation_ts>2023-05-01 17:08:08 -0700</creation_ts>
          <short_desc>New-Test [ wk2 Debug iOS, Monterey+ x86_64] ASSERTION FAILED: decontaminate()</short_desc>
          <delta_ts>2023-07-21 18:09:01 -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>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=259394</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="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1952261</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-05-01 17:08:08 -0700</bug_when>
    <thetext>ipc/wait-for-video-output-will-change.html 

is a constant crash/assertion on Debug for iOS, and Monterey+ wk2 but only on Intel Macs.

HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=ipc%2Fwait-for-video-output-will-change.html

ASSERTION/CRASH TEXT:
ASSERTION FAILED: decontaminate()
./runtime/StructureID.h(132) : JSC::Structure *JSC::StructureID::decode() const
1   0x7d827d979 WTFCrash
2   0x7d9e669fb WTFCrashWithInfo(int, char const*, char const*, int)
3   0x7d9d79c3e JSC::StructureID::decode() const
4   0x7d9cc35f5 JSC::JSCell::structure() const
5   0x7d9cc36c6 JSC::JSCell::classInfo() const
6   0x7d8402609 JSC::JSCell::inherits(JSC::ClassInfo const*) const
7   0x7d9fd7790 JSC::ScriptExecutable const* JSC::jsCast&lt;JSC::ScriptExecutable const*, JSC::ExecutableBase const&gt;(JSC::ExecutableBase const*)
8   0x7d9fc1ef8 JSC::ExecutableBase::hasJITCodeForCall() const
9   0x7d9665d90 JSC::ExecutableBase::hasJITCodeFor(JSC::CodeSpecializationKind) const
10  0x7d963b2a3 void JSC::ScriptExecutable::prepareForExecution&lt;JSC::FunctionExecutable&gt;(JSC::VM&amp;, JSC::JSFunction*, JSC::JSScope*, JSC::CodeSpecializationKind, JSC::CodeBlock*&amp;)
11  0x7d9a7a213 JSC::Interpreter::executeCallImpl(JSC::VM&amp;, JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
12  0x7d9a7a5c0 JSC::Interpreter::executeCall(JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
13  0x7d9d2065d JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
14  0x7d9d20915 JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
15  0x7d8c35f85 JSObjectCallAsFunction
16  0x7b3f541a5 WebKit::IPCTestingAPI::JSMessageListener::willSendMessage(IPC::Encoder const&amp;, WTF::OptionSet&lt;IPC::SendOption&gt;)
17  0x7b4650acc IPC::Connection::sendMessage(WTF::UniqueRef&lt;IPC::Encoder&gt;&amp;&amp;, WTF::OptionSet&lt;IPC::SendOption&gt;, std::__1::optional&lt;WTF::Thread::QOS&gt;)
18  0x7b3cbc8d6 bool IPC::Connection::send&lt;Messages::RemoteSampleBufferDisplayLayerManager::ReleaseLayer&gt;(Messages::RemoteSampleBufferDisplayLayerManager::ReleaseLayer&amp;&amp;, unsigned long long, WTF::OptionSet&lt;IPC::SendOption&gt;, std::__1::optional&lt;WTF::Thread::QOS&gt;)
19  0x7b3cbc768 WebKit::SampleBufferDisplayLayer::~SampleBufferDisplayLayer()
20  0x7b3cbcb65 WebKit::SampleBufferDisplayLayer::~SampleBufferDisplayLayer()
21  0x7b3cbcbc9 WebKit::SampleBufferDisplayLayer::~SampleBufferDisplayLayer()
22  0x78d4bffdc std::__1::default_delete&lt;WebCore::SampleBufferDisplayLayer&gt;::operator()[abi:v15006](WebCore::SampleBufferDisplayLayer*) const
23  0x78d4bff5c std::__1::unique_ptr&lt;WebCore::SampleBufferDisplayLayer, std::__1::default_delete&lt;WebCore::SampleBufferDisplayLayer&gt; &gt;::reset[abi:v15006](WebCore::SampleBufferDisplayLayer*)
24  0x78d4a0ef1 std::__1::unique_ptr&lt;WebCore::SampleBufferDisplayLayer, std::__1::default_delete&lt;WebCore::SampleBufferDisplayLayer&gt; &gt;::operator=[abi:v15006](std::nullptr_t)
25  0x78d49f12c WebCore::MediaPlayerPrivateMediaStreamAVFObjC::destroyLayers()
26  0x78d4b5d65 WebCore::MediaPlayerPrivateMediaStreamAVFObjC::renderVideoWillBeDestroyed()
27  0x78fb8a8f5 WebCore::MediaPlayer::renderVideoWillBeDestroyed()
28  0x7902d2675 WebCore::RenderVideo::willBeDestroyed()
29  0x79024a2b5 WebCore::RenderObject::destroy()
30  0x79024a0f9 WebCore::RenderObjectDeleter::operator()(WebCore::RenderObject*) const
31  0x7901325ec std::__1::unique_ptr&lt;WebCore::RenderObject, WebCore::RenderObjectDeleter&gt;::reset[abi:v15006](WebCore::RenderObject*)
com.apple.WebKit.WebContent.Development terminated (pid 42962) for reason: crash
LEAK: 1 WebPageProxy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952263</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-05-01 17:08:43 -0700</bug_when>
    <thetext>&lt;rdar://problem/108763436&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952271</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-05-01 17:47:56 -0700</bug_when>
    <thetext>I was able to reproduce this crash/assertion failure at Ventura Debug ToT running the test as follows:

run-webkit-tests ipc/wait-for-video-output-will-change.html  


This test was introduced at: https://commits.webkit.org/259548.221@safari-7615-branch and appears to have been crashing on Debug for iOS and Mac wk2 Intel only since it was introduced.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952272</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-05-01 17:50:23 -0700</bug_when>
    <thetext>(In reply to Robert Jenner from comment #2)
&gt; I was able to reproduce this crash/assertion failure at Ventura Debug ToT
&gt; running the test as follows:
&gt; 
&gt; run-webkit-tests ipc/wait-for-video-output-will-change.html  
&gt; 
&gt; 
&gt; This test was introduced at:
&gt; https://commits.webkit.org/259548.221@safari-7615-branch and appears to have
&gt; been crashing on Debug for iOS and Mac wk2 Intel only since it was
&gt; introduced.

Disregard the link mentioned above. It was introduced at:

https://commits.webkit.org/262541@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952275</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-05-01 18:10:14 -0700</bug_when>
    <thetext>Test gardening commit 263566@main (3afe29b45647): &lt;https://commits.webkit.org/263566@main&gt;

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

    </bug>

</bugzilla>