Bug 253927

Summary: ReleaseSerializedImageBuffer doesn't release the underlying IOSurface
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, tzvetelin.vassilev, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Matt Woodrow
Reported 2023-03-14 19:05:43 PDT
We're adding a read reference in the RemoteSerializedImageBufferProxy constructor, and we never have any reads happen if we destroy the RemoteSerializedImageBufferProxy without transferring to an ImageBuffer. This shouldn't happen often, but can happen if you draw to an OffscreenCanvas, call `commit()`, and then draw again quickly (not waiting for rAF).
Attachments
Matt Woodrow
Comment 1 2023-03-14 19:08:11 PDT
EWS
Comment 2 2023-03-15 12:15:48 PDT
Committed 261703@main (284c71ac630f): <https://commits.webkit.org/261703@main> Reviewed commits have been landed. Closing PR #11534 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-03-15 12:16:16 PDT
Matt Woodrow
Comment 4 2023-04-06 11:07:37 PDT
*** Bug 254974 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.