<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Segfault when calling glViewport on surfaceless EGL context without bound FBO"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90821#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Segfault when calling glViewport on surfaceless EGL context without bound FBO"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90821">bug 90821</a>
from <span class="vcard"><a class="email" href="mailto:martina.kollarova@intel.com" title="Martina Kollarova <martina.kollarova@intel.com>"> <span class="fn">Martina Kollarova</span></a>
</span></b>
<pre>Reproducer:
<a href="https://github.com/mkollaro/opengl_snippets/blob/master/egl/main.cpp">https://github.com/mkollaro/opengl_snippets/blob/master/egl/main.cpp</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>