Bug 222633

Summary: [GPUP] Sometimes RemoteRenderingBackend cannot find a media player from an identifier in stress tests
Product: WebKit Reporter: Peng Liu <peng.liu6>
Component: MediaAssignee: Peng Liu <peng.liu6>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=221989
https://bugs.webkit.org/show_bug.cgi?id=222674

Description Peng Liu 2021-03-02 16:20:41 PST
====================================
bool RemoteRenderingBackend::applyMediaItem(DisplayList::ItemHandle item, GraphicsContext& context)

    ...

    auto& mediaItem = item.get<DisplayList::PaintFrameForMedia>();
    auto player = m_gpuConnectionToWebProcess->remoteMediaPlayerManagerProxy().mediaPlayer(mediaItem.identifier());
    if (!player)
        return false;
    ...
====================================
Comment 1 Peng Liu 2021-03-02 16:21:56 PST
Eric and Jer suggested to add a WTFLogAlways() (or equivalent) with the mediaItem.identifier() to debug this exceptional case.
Comment 2 Radar WebKit Bug Importer 2021-03-09 16:21:14 PST
<rdar://problem/75240249>
Comment 3 Peng Liu 2021-04-30 15:33:02 PDT

*** This bug has been marked as a duplicate of bug 222674 ***