[Bug 82683] Segfault in glBufferSubData
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Sep 11 07:32:07 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=82683
--- Comment #3 from Iago Toral <itoral at igalia.com> ---
This is a bug in the attached example. You have a huge loop where each
iteration allocates a new buffer that is never freed... it simply runs out of
memory/buffers.
Adding these deletes at the bottom of the while loop fixes the crash:
glDeleteVertexArrays(1, &vertex_array);
glDeleteBuffers(1, &vertex_buffer);
--
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/20140911/9c4c8145/attachment.html>
More information about the intel-3d-bugs
mailing list