<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#c3">Comment # 3</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:mattst88@gmail.com" title="Matt Turner <mattst88@gmail.com>"> <span class="fn">Matt Turner</span></a>
</span></b>
        <pre>Indeed, I can reproduce on master using your test program (thanks a lot for
that!)

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4e1ad42 in dri2InvalidateDrawable (drawable=0x0) at
../../../../../../mesa/src/mesa/drivers/dri/common/dri_util.c:798
798        drawable->dri2.stamp++;
(gdb) bt
#0  0x00007ffff4e1ad42 in dri2InvalidateDrawable (drawable=0x0) at
../../../../../../mesa/src/mesa/drivers/dri/common/dri_util.c:798
#1  0x00007ffff4e382b5 in intel_viewport (ctx=0x7ffff7fcf040) at
../../../../../../mesa/src/mesa/drivers/dri/i965/brw_context.c:155
#2  0x00007ffff4b9f405 in _mesa_Viewport (x=0, y=0, width=0, height=0) at
../../../mesa/src/mesa/main/viewport.c:125
#3  0x00000000004014f4 in main (argc=1, argv=0x7fffffffe148) at main.cpp:180</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>