Bug 243838 - GPUP deadlock shutting down RemoteRenderingBackend while drawing a MediaPlayer
Summary: GPUP deadlock shutting down RemoteRenderingBackend while drawing a MediaPlayer
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 235353
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-11 12:30 PDT by Kimmo Kinnunen
Modified: 2024-04-30 17:23 PDT (History)
6 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-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.