<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - segfault with OSVRTrackerView and openscenegraph git master"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99631#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - segfault with OSVRTrackerView and openscenegraph git master"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99631">bug 99631</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>The issue appears that the right buffer object isn't mapped. The fact that the
ARRAY_BUFFER is modified doesn't appear to make it into the actx->NewState bit.
The following "fixes" the trace:
diff --git a/src/mesa/main/api_arrayelt.c b/src/mesa/main/api_arrayelt.c
index 46175e4..fa78edb 100644
--- a/src/mesa/main/api_arrayelt.c
+++ b/src/mesa/main/api_arrayelt.c
@@ -1707,7 +1707,7 @@ _ae_map_vbos(struct gl_context *ctx)
if (actx->mapped_vbos)
return;
- if (actx->NewState)
+ if (actx->NewState || 1)
_ae_update_state(ctx);
for (i = 0; i < actx->nr_vbos; i++)
Now just need to figure out where NewState is not being updated when it should
be.</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>