Bug 241415 - TestWebKitAPI.GPUProcess.WebProcessTerminationAfterTooManyGPUProcessCrashes hang (WebKit::RemoteAudioDestinationProxy::startRendering)
Summary: TestWebKitAPI.GPUProcess.WebProcessTerminationAfterTooManyGPUProcessCrashes h...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on:
Blocks: 240692
  Show dependency treegraph
 
Reported: 2022-06-08 06:29 PDT by Kimmo Kinnunen
Modified: 2022-06-08 17:13 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 2022-06-08 06:29:53 PDT
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 "/Users/kkinnunen/Build/Debug/com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent.Development".
Architecture set to: arm64e-apple-macosx-.
(lldb) bt
C^C
... Interrupted.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', 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)> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) at ParkingLot.cpp:595:34
    frame #5: 0x000000012c135994 JavaScriptCore`WTF::ParkingLot::ParkResult WTF::ParkingLot::parkConditionally<bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&)::'lambda'(), bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&)::'lambda0'()>(address=0x000000011a6cb1e2, validation=0x000000016f06daf8, beforeSleep=0x000000016f06daf0, timeout=0x000000016f06dc60)::'lambda0'() const&, WTF::TimeWithDynamicClockType const&) at ParkingLot.h:82:16
    frame #6: 0x000000012c135904 JavaScriptCore`bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(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<WTF::Lock, WTF::BinarySemaphore::waitUntil(WTF::TimeWithDynamicClockType const&)::$_0>(this=0x000000011a6cb1e2, lock=0x000000011a6cb1e1, timeout=0x000000016f06dc60, predicate=0x000000016f06dc00)::$_0 const&) at Condition.h:213:18
    frame #9: 0x000000012c141b18 JavaScriptCore`bool WTF::Condition::waitUntil<WTF::BinarySemaphore::waitUntil(WTF::TimeWithDynamicClockType const&)::$_0>(this=0x000000011a6cb1e2, lock=0x000000011a6cb1e1, timeout=0x000000016f06dc60, predicate=0x000000016f06dc00)::$_0 const&) 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<IPC::Decoder, std::__1::default_delete<IPC::Decoder> > IPC::Connection::sendSync<Messages::RemoteAudioDestinationManager::CreateAudioDestination>(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)>&&) 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<IPC::Connection::connectionDidClose()::$_12, void>::call(this=0x00000001350180e0) at Function.h:53:39
Comment 1 Radar WebKit Bug Importer 2022-06-08 06:30:16 PDT
<rdar://problem/94628205>