RESOLVED FIXED228824
WebKit::SampleBufferDisplayLayer needs to handle GPUProcess crash
https://bugs.webkit.org/show_bug.cgi?id=228824
Summary WebKit::SampleBufferDisplayLayer needs to handle GPUProcess crash
youenn fablet
Reported 2021-08-05 06:44:53 PDT
WebKit::SampleBufferDisplayLayer needs to handle GPUProcess crash
Attachments
Patch (11.60 KB, patch)
2021-08-05 06:49 PDT, youenn fablet
no flags
Patch (14.90 KB, patch)
2021-08-05 10:51 PDT, youenn fablet
ews-feeder: commit-queue-
Patch (15.96 KB, patch)
2021-08-06 03:03 PDT, youenn fablet
no flags
Radar WebKit Bug Importer
Comment 1 2021-08-05 06:45:17 PDT
youenn fablet
Comment 2 2021-08-05 06:49:34 PDT
Eric Carlson
Comment 3 2021-08-05 09:27:59 PDT
Comment on attachment 434982 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=434982&action=review > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:341 > + destroyLayers(); > + updateLayersAsNeeded(); There are three status values: "unknown", "rendering", and "failed". Do we really want to destroy the layers every time the status changes?
youenn fablet
Comment 4 2021-08-05 09:52:15 PDT
Good point, we should rename it to sampleBufferDisplayLayerStatusFailed.
youenn fablet
Comment 5 2021-08-05 09:52:30 PDT
And only call it when rendering fails.
Peng Liu
Comment 6 2021-08-05 10:14:38 PDT
Comment on attachment 434982 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=434982&action=review > Source/WebCore/ChangeLog:3 > + WebKit::SampleBufferDisplayLayer needs to handle GPUProcess crash Will this patch fix bug 228759?
youenn fablet
Comment 7 2021-08-05 10:51:22 PDT
youenn fablet
Comment 8 2021-08-06 03:03:12 PDT
youenn fablet
Comment 9 2021-08-06 04:15:55 PDT
(In reply to Peng Liu from comment #6) > Comment on attachment 434982 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=434982&action=review > > > Source/WebCore/ChangeLog:3 > > + WebKit::SampleBufferDisplayLayer needs to handle GPUProcess crash > > Will this patch fix bug 228759? No, bug 228759 is due to an unrelated regression
EWS
Comment 10 2021-08-06 12:04:25 PDT
Committed r280731 (240318@main): <https://commits.webkit.org/240318@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 435061 [details].
Note You need to log in before you can comment on or make changes to this bug.