[Webkit-unassigned] [Bug 274802] REGRESSION(274853 at main): [GLib][MSE] Excessive CPU usage from cached web process after closing ksdk.com page, failure to display web content after reopening page, part 2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 11 07:55:18 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=274802

--- Comment #18 from Philippe Normand <philn at igalia.com> ---
I'm not entirely sure this is due to MediaSession...

According to my log here is what happens:

1. MediaSource::detachFromElement() is called
2. that triggers a call to setReadyState(ReadyState::Closed)
3. which then end up calling MediaPlayerPrivateGStreamerMSE::setReadyState(HaveMetadata)
4. which calls MediaPlayerPrivateGStreamerMSE::propagateReadyStateToPlayer()
5. which calls player->readyStateChanged()
6. which end up to HTMLMediaElement::mediaPlayerReadyStateChanged() called with isSuspended() returning true.
7. infinite loop starts, we're doomed

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240611/da683839/attachment.htm>


More information about the webkit-unassigned mailing list