[Bug 90821] Segfault when calling glViewport on surfaceless EGL context without bound FBO

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 4 05:54:54 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90821

--- Comment #1 from Martina Kollarova <martina.kollarova at intel.com> ---
Reproducer:
https://github.com/mkollaro/opengl_snippets/blob/master/egl/main.cpp
Compile with: 
gcc main.cpp -std=c++11 -lEGL -lGLESv2

It will segfault if the bug is present, print "Success" on the last line if
not.
Reproduced on Linux Mint 17.1 Rebecca (based on Ubuntu Trusty)  with Mesa
10.7.0-devel and Ubuntu 15.04 with Mesa 10.5.2. Could not reproduce on ChromeOS
with Mesa 10.3r33. The Yocto setup is currently unavailable.

You can additionally add "-DNO_SURFACE=false" and it will use a pbuffer
surface, where the segfault doesn't occur.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150604/7c5b9a71/attachment.html>


More information about the intel-3d-bugs mailing list