<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Segfault in glBufferSubData"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82683#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Segfault in glBufferSubData"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82683">bug 82683</a>
              from <span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=106164" name="attach_106164" title="workaround">attachment 106164</a> <a href="attachment.cgi?id=106164&action=edit" title="workaround">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=82683&attachment=106164'>[review]</a>
workaround

The error is that intel_bufferobj_subdata does not take in to account that
drm_intel_gem_bo_map_unsynchronized can fail. Attaching a workaround/fix to the
problem. With this patch applied, test fails appropriately:

--- 8< ----
initializing..
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Ivybridge Mobile 
Mesa: User error: GL_OUT_OF_MEMORY in glGenVertexArrays
GL_OUT_OF_MEMORY gen/binding</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>