<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 - PrimitiveRestartNV inside a render list causes a crash"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101464">101464</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>PrimitiveRestartNV inside a render list causes a crash
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>17.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>o.lauffenburger@topsolid.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>When using glDrawElements with glPrimitiveRestartIndexNV during the compilation
of a render list, there is a crash when Mesa reaches the second restart index
of the array.
The reason is that when PrimitiveRestartNV is called internally the first time,
save_PrimitiveRestartNV() (in \src\mesa\vbo\vbo_save_api.c) is called. It
executes _save_End() and _save_Begin(curPrim), but _save_Begin() is a noop
function that merely raises an OpenGL error "Recursive glBegin".</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>