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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 7 00:43:35 PDT 2021


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

--- Comment #8 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Michael Catanzaro from comment #7)
> (In reply to Claudio Saavedra from comment #5)
> > I have my doubts that this is doing anything useful in practice
> 
> I'm pretty sure we should not need to manually deinitialize EGL, so it
> should be OK and practical to just drop all the exit handlers and sidestep
> the issue. At least, I think so. Trying to make exit handlers work as
> expected is hard and probably not worthwhile.
> 
> That said, I would worry that this may have been added as a workaround for
> some embedded device bug. Say some proprietary graphics driver fails to
> release a global resource if the process exits without first calling
> eglTerminate (or if it crashes). If so, Miguel would probably know about it.

The problem is that mesa install atexit handlers to shutdown EGL, IIRC the original problem was that we were getting crashes when EGL was uninitialized by mesa because we had already destroyed things. Just by adding our own exit handlers things happened earlier and crashes didn't happen. I don't remember the details, but I think it was something like this.

-- 
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/20211007/8d39a2c4/attachment-0001.htm>


More information about the webkit-unassigned mailing list