|
Lines 1-3
a/Source/WebCore/ChangeLog_sec1
|
|
|
1 |
2016-06-01 Carlos Garcia Campos <cgarcia@igalia.com> |
| 2 |
|
| 3 |
[Wayland] PlatformDisplayWayland destructor is super crashy |
| 4 |
https://bugs.webkit.org/show_bug.cgi?id=157973 |
| 5 |
|
| 6 |
Reviewed by NOBODY (OOPS!). |
| 7 |
|
| 8 |
EGL registers two at exist callbacks one to finish the display and another one to unload drivers, the one to |
| 9 |
finish the display happens first. When our destructor is called the _eglFiniDisplay callback has already been |
| 10 |
called, so we have a valid pointer for an already finished display. Then eglTerminate tries to find the display |
| 11 |
in the global display list, but fails and for some reason it crashes when trying to return an error. |
| 12 |
If atexit is called after the global PlatformDisplay constructor, the atexit handler is called before the |
| 13 |
destructor. The atexit callbacks are called in reverse order, so if we register an atexit handler after the |
| 14 |
global instace has been created and after EGL has been initialized, we could terminate the EGL display before |
| 15 |
the EGL atexit handlers and the global PlatformDisplay destructor. |
| 16 |
|
| 17 |
* platform/graphics/PlatformDisplay.cpp: |
| 18 |
(WebCore::PlatformDisplay::initializeEGLDisplay): |
| 19 |
|
| 1 |
2016-06-01 Per Arne Vollan <pvollan@apple.com> |
20 |
2016-06-01 Per Arne Vollan <pvollan@apple.com> |
| 2 |
|
21 |
|
| 3 |
[Win][IndexedDB] Crash when running blob test. |
22 |
[Win][IndexedDB] Crash when running blob test. |