[Webkit-unassigned] [Bug 217655] [WPE] PlatformDisplay::shutDownEglDisplays() is never called

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 2 07:57:02 PST 2021


Pablo Saavedra <psaavedra at igalia.com> changed:

           What    |Removed                     |Added
                 CC|                            |psaavedra at igalia.com

--- Comment #13 from Pablo Saavedra <psaavedra at igalia.com> ---
Testing the Claudio's proposal I've noticed the WebProcess is hanged in the eglTerminate() called from the PlatformDisplay::terminateEGLDisplay during the exit handler execution for the WebProcess.

This is because the EGL resources wasn't correctly released at that point.

One way to avoid is to call the `.close()` method for all the WebPages associated to the closed WebProcess. This eventually will invalidate all the  ThreadedCompositor objects associated to those WebPages what it will end-up in the releasing of the EGLS resources and it will prevent the WebProcess hang in the eglTerminate().

For this purpose something like this works: https://paste.debian.net/1221681/

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/20211202/409074c7/attachment-0001.htm>

More information about the webkit-unassigned mailing list