Following GStreamer OpenGL code produces a segmentation fault in mesa:
It only occurs in EGL / GLES2 mode, e.g. GST_GL_API=gles2 GST_GL_PLATFORM=egl
The segfault is reproducible with following EGL apitrace trace:
Using Mesa 10.5.3, Linux 4.0
Application is calling glDebugMessageControl which is not part of GLES2 API and available only on desktop OpenGL. I've tried to run trace with current Mesa git on i965, it did not segfault but produced GL_INVALID_OPERATION errors on the invalid function calls.
I can reproduce the crash on HSW with current git.
Issue is not reproducible when building from sources.
HW: KBL and HSW
Mesa: Mesa 18.1.2, 18.2.0-devel (git-b5a56a11da).
Can you please test it again with the latest Mesa ?
Looks like this issue was already fixed at some point.