Bug 243838

Summary: GPUP deadlock shutting down RemoteRenderingBackend while drawing a MediaPlayer
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: a_protyasha, dino, jean-yves.avenard, jer.noble, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=253791
Bug Depends on: 235353    
Bug Blocks:    

Description Kimmo Kinnunen 2022-08-11 12:30:36 PDT
GPUP deadlock shutting down RemoteRenderingBackend while drawing a MediaPlayer

1. When shutting down RRB, GPUP main thread waits until the cleanup task has run
2. When drawing a media player, RRB work thread waits until the main thread has run the video player paint 

Solution is to run media players in a work queue
Comment 1 Radar WebKit Bug Importer 2022-08-11 12:30:51 PDT
<rdar://problem/98523368>
Comment 2 Kimmo Kinnunen 2022-08-11 22:50:43 PDT
I have not seen this one on any site, but I have not looked for it either. This has occurred for me in dev scenarios running a debugger.