[Webkit-unassigned] [Bug 201507] [GTK] Crash in Nicosia::GC3DLayer::makeContextCurrent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 8 03:16:02 PDT 2019


--- Comment #10 from Miguel Gomez <magomez at igalia.com> ---
(In reply to Carlos Garcia Campos from comment #9)
> The origin is 
> PlatformDisplayLibWPE: could not create the EGL display: EGL_SUCCESS.
> which happens when 
> m_eglDisplay =
> eglGetDisplay(wpe_renderer_backend_egl_get_native_display(m_backend));
> fails. In that case we don't initialize egl display, so it's initialized on
> demand when PlatformDisplay::eglDispaly is called, but
> eglGetDisplay(EGL_DEFAULT_DISPLAY) (fortunately, because we don't really
> want to use the default display in this case).
> So, the thing is why
> eglGetDisplay(wpe_renderer_backend_egl_get_native_display(m_backend)) is
> failing.

Were you able to reproduce this, Carlos? using which version exactly? I've tried ToT and I'm not able to see it. I'm now about to test 2.26.

Anyway, it's true that the problem is that we can't create a gl context because we can't get a valid display. What bothers me is this line:

Cannot get default EGL display: EGL_BAD_PARAMETER

cause, at least according to the documentation, eglGetdisplay should not gererate an EGL_BAD_PARAMETER error, which could mean that the error is coming from a previous EGL call.

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/20191008/cf6bbd4c/attachment-0001.html>

More information about the webkit-unassigned mailing list