<?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>241415</bug_id>
          
          <creation_ts>2022-06-08 06:29:53 -0700</creation_ts>
          <short_desc>TestWebKitAPI.GPUProcess.WebProcessTerminationAfterTooManyGPUProcessCrashes hang (WebKit::RemoteAudioDestinationProxy::startRendering)</short_desc>
          <delta_ts>2022-06-08 17:13:35 -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>WebKit2</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          
          <blocked>240692</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Kimmo Kinnunen">kkinnunen</reporter>
          <assigned_to name="Kimmo Kinnunen">kkinnunen</assigned_to>
          <cc>ap</cc>
    
    <cc>kkinnunen</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1874707</commentid>
    <comment_count>0</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2022-06-08 06:29:53 -0700</bug_when>
    <thetext>TestWebKitAPI.GPUProcess.WebProcessTerminationAfterTooManyGPUProcessCrashes hangs 

DYLD_FRAMEWORK_PATH=$HOME/Build/Debug lldb -- $HOME/Build/Debug/TestWebKitAPI --gtest_filter=GPUProcess.WebProcessTerminationAfterTooManyGPUProcessCrashes --gtest_repeat=100



The WebContent process is then hanging in:
xecutable module set to &quot;/Users/kkinnunen/Build/Debug/com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent.Development&quot;.
Architecture set to: arm64e-apple-macosx-.
(lldb) bt
C^C
... Interrupted.
(lldb) bt
* thread #1, queue = &apos;com.apple.main-thread&apos;, stop reason = signal SIGSTOP
  * frame #0: 0x0000000198e97644 libsystem_kernel.dylib`__psynch_cvwait + 8
    frame #1: 0x0000000198ed385c libsystem_pthread.dylib`_pthread_cond_wait + 1232
    frame #2: 0x000000012c22c95c JavaScriptCore`WTF::ThreadCondition::wait(this=0x0000000135044310, mutex=0x00000001350442d0) at ThreadingPOSIX.cpp:603:18
    frame #3: 0x000000012c22ca68 JavaScriptCore`WTF::ThreadCondition::timedWait(this=0x0000000135044310, mutex=0x00000001350442d0, absoluteTime=WallTime @ 0x000000016f06d950) at ThreadingPOSIX.cpp:613:9
    frame #4: 0x000000012c1c42a0 JavaScriptCore`WTF::ParkingLot::parkConditionallyImpl(address=0x000000011a6cb1e2, validation=0x000000016f06da88, beforeSleep=0x000000016f06da70, timeout=0x000000016f06dc60)&gt; const&amp;, WTF::ScopedLambda&lt;void ()&gt; const&amp;, WTF::TimeWithDynamicClockType const&amp;) at ParkingLot.cpp:595:34
    frame #5: 0x000000012c135994 JavaScriptCore`WTF::ParkingLot::ParkResult WTF::ParkingLot::parkConditionally&lt;bool WTF::Condition::waitUntilUnchecked&lt;WTF::Lock&gt;(WTF::Lock&amp;, WTF::TimeWithDynamicClockType const&amp;)::&apos;lambda&apos;(), bool WTF::Condition::waitUntilUnchecked&lt;WTF::Lock&gt;(WTF::Lock&amp;, WTF::TimeWithDynamicClockType const&amp;)::&apos;lambda0&apos;()&gt;(address=0x000000011a6cb1e2, validation=0x000000016f06daf8, beforeSleep=0x000000016f06daf0, timeout=0x000000016f06dc60)::&apos;lambda0&apos;() const&amp;, WTF::TimeWithDynamicClockType const&amp;) at ParkingLot.h:82:16
    frame #6: 0x000000012c135904 JavaScriptCore`bool WTF::Condition::waitUntilUnchecked&lt;WTF::Lock&gt;(this=0x000000011a6cb1e2, lock=0x000000011a6cb1e1, timeout=0x000000016f06dc60) at Condition.h:192:22
    frame #7: 0x000000012c13583c JavaScriptCore`WTF::Condition::waitUntil(this=0x000000011a6cb1e2, lock=0x000000011a6cb1e1, timeout=0x000000016f06dc60) at Condition.h:77:16
    frame #8: 0x000000012c141b88 JavaScriptCore`bool WTF::Condition::waitUntilUnchecked&lt;WTF::Lock, WTF::BinarySemaphore::waitUntil(WTF::TimeWithDynamicClockType const&amp;)::$_0&gt;(this=0x000000011a6cb1e2, lock=0x000000011a6cb1e1, timeout=0x000000016f06dc60, predicate=0x000000016f06dc00)::$_0 const&amp;) at Condition.h:213:18
    frame #9: 0x000000012c141b18 JavaScriptCore`bool WTF::Condition::waitUntil&lt;WTF::BinarySemaphore::waitUntil(WTF::TimeWithDynamicClockType const&amp;)::$_0&gt;(this=0x000000011a6cb1e2, lock=0x000000011a6cb1e1, timeout=0x000000016f06dc60, predicate=0x000000016f06dc00)::$_0 const&amp;) at Condition.h:91:16
    frame #10: 0x000000012c141a9c JavaScriptCore`WTF::BinarySemaphore::waitUntil(this=0x000000011a6cb1e0, absoluteTime=0x000000016f06dc60) at BinarySemaphore.cpp:41:34
    frame #11: 0x0000000117d978b8 WebKit`IPC::Connection::SyncMessageState::wait(this=0x000000011a6cb1e0, timeout=Timeout @ 0x000000016f06dc78) at Connection.cpp:91:44
    frame #12: 0x0000000117d976f8 WebKit`IPC::Connection::waitForSyncReply(this=0x00000001351e2400, syncRequestID=(m_identifier = 8), messageName=RemoteAudioDestinationManager_CreateAudioDestination, timeout=Timeout @ 0x000000016f06dd78, sendSyncOptions={ size = 0 }) at Connection.cpp:726:51
    frame #13: 0x0000000117d96584 WebKit`IPC::Connection::sendSyncMessage(this=0x00000001351e2400, syncRequestID=(m_identifier = 8), encoder=0x000000016f06df28, timeout=Timeout @ 0x000000016f06de98, sendSyncOptions={ size = 0 }) at Connection.cpp:676:38
    frame #14: 0x0000000118b8d464 WebKit`std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt; IPC::Connection::sendSync&lt;Messages::RemoteAudioDestinationManager::CreateAudioDestination&gt;(this=0x00000001351e2400, message=0x000000016f06e0c8, reply=size=1, destinationID=0, timeout=Timeout @ 0x000000016f06df60, sendSyncOptions={ size = 0 }) at Connection.h:612:45
    frame #15: 0x0000000118b8d130 WebKit`WebKit::RemoteAudioDestinationProxy::connection(this=0x0000000135119f00) at RemoteAudioDestinationProxy.cpp:107:51
    frame #16: 0x0000000118b8da60 WebKit`WebKit::RemoteAudioDestinationProxy::startRendering(this=0x0000000135119f00, completionHandler=0x000000016f06e1c8)&gt;&amp;&amp;) at RemoteAudioDestinationProxy.cpp:146:30
    frame #17: 0x0000000118b8e354 WebKit`WebKit::RemoteAudioDestinationProxy::gpuProcessConnectionDidClose(this=0x0000000135119f00, oldConnection=0x00000001350a1000) at RemoteAudioDestinationProxy.cpp:210:9
    frame #18: 0x00000001189b0278 WebKit`WebKit::GPUProcessConnection::didClose(this=0x00000001350a1000, (null)=0x00000001351e2200) at GPUProcessConnection.cpp:189:16
    frame #19: 0x0000000117dbc0e4 WebKit`IPC::Connection::connectionDidClose(this=0x00000001350180e8)::$_12::operator()() at Connection.cpp:948:33
    frame #20: 0x0000000117dbbf88 WebKit`WTF::Detail::CallableWrapper&lt;IPC::Connection::connectionDidClose()::$_12, void&gt;::call(this=0x00000001350180e0) at Function.h:53:39</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1874708</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-06-08 06:30:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/94628205&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>