<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - glGenFramebuffersEXT appears to be null on (some?) Mesa 12.0.6 systems"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100425">100425</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>glGenFramebuffersEXT appears to be null on (some?) Mesa 12.0.6 systems
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>12.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>GLX
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kainino@chromium.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Chromium is seeing GPU process crash reports on Linux with Mesa 12.0.6 in which
the function glGenFramebuffersEXT appears to be null. This is seen on Intel
mostly, some NVIDIA and a few AMD.

We have not tried to reproduce it as we don't have such a system on hand
(sorry). It may be reproducible by running Chrome 57.0 Stable (snapshot below)
on a Mesa 12.0.6 system and using WebGL 2.0: <a href="http://webglreport.com/?v=2">http://webglreport.com/?v=2</a> . See
chrome://gpu for GPU process logs.
<a href="https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Linux_x64/444952/">https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Linux_x64/444952/</a>
(chrome-linux.zip)

The glGenFramebuffersEXT call in question:
<a href="https://chromium.googlesource.com/chromium/src/+/57.0.2987.110/gpu/command_buffer/service/feature_info.cc#872">https://chromium.googlesource.com/chromium/src/+/57.0.2987.110/gpu/command_buffer/service/feature_info.cc#872</a>

Here is the generated code for retrieving glGenFramebuffersEXT. Note that it
should be requesting "glGenFramebuffers" on GL 3.0+.
<a href="https://cs.chromium.org/chromium/src/ui/gl/gl_bindings_autogen_gl.cc?l=1206&rcl=57.0.2987.110">https://cs.chromium.org/chromium/src/ui/gl/gl_bindings_autogen_gl.cc?l=1206&rcl=57.0.2987.110</a>

GetGLProcAddress calls g_get_proc_address:
<a href="https://cs.chromium.org/chromium/src/ui/gl/gl_implementation.cc?l=126&rcl=57.0.2987.110">https://cs.chromium.org/chromium/src/ui/gl/gl_implementation.cc?l=126&rcl=57.0.2987.110</a>

Which should be glXGetProcAddress on Linux:
<a href="https://cs.chromium.org/chromium/src/ui/gl/init/gl_initializer_x11.cc?l=58&rcl=57.0.2987.110">https://cs.chromium.org/chromium/src/ui/gl/init/gl_initializer_x11.cc?l=58&rcl=57.0.2987.110</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>