[Mesa-dev] [Bug 99631] segfault with OSVRTrackerView and openscenegraph git master

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 1 20:44:22 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99631

--- Comment #1 from Ilia Mirkin <imirkin at alum.mit.edu> ---
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170201/41bdead7/attachment.html>


More information about the mesa-dev mailing list