Bug 270154

Summary: WebKit.GPU using an average of 57% CPU (2.0W estimated impact) for 2.1 hrs [+7%/hr]
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Jean-Yves Avenard [:jya]
Reported 2024-02-27 02:13:54 PST
under some circumstances, we loop: ``` 1184 invocation function for block in WebCore::VideoMediaSampleRenderer::resetReadyForMoreSample()(in WebCore) at VideoMediaSampleRenderer.mm:150 1182 WTF::Detail::CallableWrapper<WebCore::SourceBufferPrivateAVFObjC::notifyClientWhenReadyForMoreSamples(unsigned long long)::$_11, void>::call()(in WebCore) at Function.h:53 1178 WebCore::SourceBufferPrivateAVFObjC::didBecomeReadyForMoreSamples(unsigned long long)(in WebCore) at SourceBufferPrivateAVFObjC.mm:1183 1148 WebCore::SourceBufferPrivate::provideMediaData(WebCore::TrackBuffer&, unsigned long long)(in WebCore) at SourceBufferPrivate.cpp:312 883 WebCore::VideoMediaSampleRenderer::expectMinimumUpcomingSampleBufferPresentationTime(WTF::MediaTime const&)(in WebCore) at VideoMediaSampleRenderer.mm:163 ```
Attachments
Jean-Yves Avenard [:jya]
Comment 1 2024-02-27 02:14:12 PST
Jean-Yves Avenard [:jya]
Comment 2 2024-02-27 02:31:36 PST
EWS
Comment 3 2024-02-27 16:04:00 PST
Committed 275415@main (7be7a65a49c1): <https://commits.webkit.org/275415@main> Reviewed commits have been landed. Closing PR #25162 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.