[Webkit-unassigned] [Bug 157973] [Wayland] PlatformDisplayWayland destructor is super crashy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 27 01:02:37 PDT 2016


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

--- Comment #3 from Carlos Garcia Campos <cgarcia at igalia.com> ---
This is my guess looking at mesa egl code. _eglGlobal registers two at exist callbacks one to finish the display and another one to unload drivers, the one to finish the display happens first. When our destructor is called the _eglFiniDisplay callback has already been called, so we have a valid pointer for an already finished display. Then eglTerminate tries to find the display in the global display list, but fails and for some reason it crashes when trying to return an error. The error doesn't really depend on the display, it uses thread specific data I think. But _eglGetCurrentThread should never return null, so I don't understand why it's crashing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160527/508088ab/attachment.html>


More information about the webkit-unassigned mailing list