<?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>294921</bug_id>
          
          <creation_ts>2025-06-24 11:32:07 -0700</creation_ts>
          <short_desc>[ iOS Debug ] 2x TestWebKitAPI.WebKit2.CrashGPUProcess* (api-tests) are constant failures</short_desc>
          <delta_ts>2025-06-25 13:16:49 -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>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>294916</dup_id>
          
          <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="Dawn Morningstar">Morningstar</reporter>
          <assigned_to name="youenn fablet">youennf</assigned_to>
          <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>2125550</commentid>
    <comment_count>0</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2025-06-24 11:32:07 -0700</bug_when>
    <thetext>TestWebKitAPI.WebKit2.CrashGPUProcessWhileCapturing
TestWebKitAPI.WebKit2.CrashGPUProcessAfterApplyingConstraints
These api tests are constantly failing on Debug iOS queues, this started between 296524@main and 296510@main

HISTORY:
https://results.webkit.org/?suite=api-tests&amp;suite=api-tests&amp;test=TestWebKitAPI.WebKit2.CrashGPUProcessWhileCapturing&amp;test=TestWebKitAPI.WebKit2.CrashGPUProcessAfterApplyingConstraints

TEST-RUN:
https://build.webkit.org/#/builders/1391/builds/1197

STDIO:
https://s3-us-west-2.amazonaws.com/archives.webkit.org/ios-simulator-18-x86_64%20arm64-debug-run-api-tests/296510@main-1197.txt

FAILURE:
        {
            &quot;name&quot;: &quot;TestWebKitAPI.WebKit2.CrashGPUProcessWhileCapturing&quot;,
            &quot;output&quot;: &quot;ASSERTION FAILED: !m_hostable\n/Volumes/Data/worker/Apple-iOS-18-Simulator-Debug-Build/build/Source/WebKit/Platform/cocoa/LayerHostingContext.mm(170) : void WebKit::LayerHostingContext::setFencePort(mach_port_t)\n1   0x1355871cc WebKit::LayerHostingContext::setFencePort(unsigned int)\n2   0x1318b86c0 WebKit::RemoteSampleBufferDisplayLayer::updateBoundsAndPosition(CGRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;)\n3   0x1330d3170 WebKit::RemoteSampleBufferDisplayLayerManager::updateSampleBufferDisplayLayerBoundsAndPosition(WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;)\n4   0x132e38b74 WebKit::GPUConnectionToWebProcess::updateSampleBufferDisplayLayerBoundsAndPosition(WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;)\n5   0x131dad3f4 auto void IPC::callMemberFunction&lt;WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;&gt;(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;&amp;&amp;)::&apos;lambda&apos;(auto&amp;&amp;...)::operator()&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;(auto&amp;&amp;...) const\n6   0x131dad2bc decltype(std::declval&lt;WebKit::GPUConnectionToWebProcess&gt;()(std::declval&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;&gt;(), std::declval&lt;WebCore::FloatRect&gt;(), std::declval&lt;std::__1::optional&lt;WTF::MachSendRight&gt;&gt;())) std::__1::__invoke[abi:sn190102]&lt;void IPC::callMemberFunction&lt;WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;&gt;(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;&amp;&amp;)::&apos;lambda&apos;(auto&amp;&amp;...), WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;(WebKit::GPUConnectionToWebProcess&amp;&amp;, WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;&amp;&amp;, WebCore::FloatRect&amp;&amp;, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;)\n7   0x131dad280 decltype(auto) std::__1::__apply_tuple_impl[abi:sn190102]&lt;void IPC::callMemberFunction&lt;WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;&gt;(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;&amp;&amp;)::&apos;lambda&apos;(auto&amp;&amp;...), std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;, 0ul, 1ul, 2ul&gt;(WebKit::GPUConnectionToWebProcess&amp;&amp;, WebKit::GPUConnectionToWebProcess&amp;&amp;, std::__1::__tuple_indices&lt;0ul, 1ul, 2ul&gt;)\n8   0x131dad224 decltype(auto) std::__1::apply[abi:sn190102]&lt;void IPC::callMemberFunction&lt;WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;&gt;(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;&amp;&amp;)::&apos;lambda&apos;(auto&amp;&amp;...), std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;&gt;(WebKit::GPUConnectionToWebProcess&amp;&amp;, WebKit::GPUConnectionToWebProcess&amp;&amp;)\n9   0x131dabac4 void IPC::callMemberFunction&lt;WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;&gt;(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&gt;&amp;&amp;)\n10  0x131d7df7c void IPC::handleMessage&lt;Messages::GPUConnectionToWebProcess::UpdateSampleBufferDisplayLayerBoundsAndPosition, IPC::Connection, WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;)&gt;(IPC::Connection&amp;, IPC::Decoder&amp;, WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric&lt;WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;, WebCore::FloatRect, std::__1::optional&lt;WTF::MachSendRight&gt;&amp;&amp;))\n11  0x131d7ca7c WebKit::GPUConnectionToWebProcess::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)\n12  0x13559e4c4 IPC::Connection::dispatchMessage(IPC::Decoder&amp;)\n13  0x13559e8ec IPC::Connection::dispatchMessage(WTF::UniqueRef&lt;IPC::Decoder&gt;)\n14  0x13559ecb0 IPC::Connection::dispatchOneIncomingMessage()\n15  0x1355e3d38 IPC::Connection::enqueueIncomingMessage(WTF::UniqueRef&lt;IPC::Decoder&gt;)::$_2::operator()() const\n16  0x1355e3c94 WTF::Detail::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(WTF::UniqueRef&lt;IPC::Decoder&gt;)::$_2, void&gt;::call()\n17  0x107c106ec WTF::Function&lt;void ()&gt;::operator()() const\n18  0x107cdceb4 WTF::RunLoop::performWork()\n19  0x107ce1134 WTF::RunLoop::performWork(void*)\n20  0x180429368 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__\n21  0x1804292b0 __CFRunLoopDoSource0\n22  0x180428a38 __CFRunLoopDoSources0\n23  0x180423434 __CFRunLoopRun\n24  0x180422cec CFRunLoopRunSpecific\n25  0x180f0e38c -[NSRunLoop(NSRunLoop) runMode:beforeDate:]\n26  0x180f0e55c -[NSRunLoop(NSRunLoop) run]\n27  0x1800d7010 _xpc_objc_main\n28  0x1800d9404 _xpc_main\n29  0x1800d95b8 _xpc_create_bootstrap_pipe\n30  0x1cf086d38 block_destroy_helper.14\n31  0x1cf086de0 block_destroy_helper.14\n\n/Volumes/Data/worker/Apple-iOS-18-Simulator-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKit/GetUserMedia.mm:928\nExpected equality of these values:\n  gpuProcessPID\n    Which is: 27650\n  [processPool _gpuProcessIdentifier]\n    Which is: 27651\n\n\nLEAK: 1 WebProcessPool&quot;
        }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2125551</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-06-24 11:34:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/154215110&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2125860</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2025-06-25 13:16:49 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 294916 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>