Bug 224723 - RemoteImageDecoderAVFManager should never re-launch the GPUProcess on destruction
Summary: RemoteImageDecoderAVFManager should never re-launch the GPUProcess on destruc...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-04-17 15:35 PDT by Chris Dumez
Modified: 2021-04-24 15:06 PDT (History)
9 users (show)

See Also:


Attachments
Patch (8.59 KB, patch)
2021-04-17 15:40 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-04-17 15:35:42 PDT
RemoteImageDecoderAVFManager should never re-launch the GPUProcess on destruction.
Comment 1 Chris Dumez 2021-04-17 15:40:29 PDT
Created attachment 426353 [details]
Patch
Comment 2 Darin Adler 2021-04-17 15:44:27 PDT
Comment on attachment 426353 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=426353&action=review

> Source/WebKit/WebProcess/GPU/media/RemoteImageDecoderAVFManager.cpp:82
> +    // FIXME: Do we need to do more when m_remoteImageDecoders is not empty to re-create them?

You’d think they’d either need to fail or get re-created.
Comment 3 Chris Dumez 2021-04-17 15:46:31 PDT
(In reply to Darin Adler from comment #2)
> Comment on attachment 426353 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=426353&action=review
> 
> > Source/WebKit/WebProcess/GPU/media/RemoteImageDecoderAVFManager.cpp:82
> > +    // FIXME: Do we need to do more when m_remoteImageDecoders is not empty to re-create them?
> 
> You’d think they’d either need to fail or get re-created.

Yes, we likely need to do something. I will ping the media team about this pre-existing issue.
Comment 4 EWS 2021-04-17 16:22:20 PDT
Committed r276212 (236694@main): <https://commits.webkit.org/236694@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 426353 [details].
Comment 5 Peng Liu 2021-04-19 09:41:47 PDT
(In reply to Chris Dumez from comment #3)
> (In reply to Darin Adler from comment #2)
> > Comment on attachment 426353 [details]
> > Patch
> > 
> > View in context:
> > https://bugs.webkit.org/attachment.cgi?id=426353&action=review
> > 
> > > Source/WebKit/WebProcess/GPU/media/RemoteImageDecoderAVFManager.cpp:82
> > > +    // FIXME: Do we need to do more when m_remoteImageDecoders is not empty to re-create them?
> > 
> > You’d think they’d either need to fail or get re-created.
> 
> Yes, we likely need to do something. I will ping the media team about this
> pre-existing issue.

Yes. Filed webkit.org/b/224766 to track that.
Comment 6 Radar WebKit Bug Importer 2021-04-24 15:06:56 PDT
<rdar://problem/77110085>