Ok, here comes my analysis:

 QSGRenderer::draw contains code like

    if (g->indexDataPattern() != QSGGeometry::AlwaysUploadPattern && 
g->indexCount() > 512) {
        // Base pointer for a VBO is 0
        indexData = 0;
        ...
    } else {
       ...
    }
    ....
    // draw the stuff...
    ...
    glDrawElements(g->drawingMode(), g->indexCount(), g->indexType(), 
indexData);

So in some cases uses a VBO passing indexData as 0

Without having libgl1-mesa-dri installed that crashes, with it installed
it does not. My guess is that libgl1-mesa-dri adds VBO support and thus
can interpret the 0 in indexData as a VBO instead of simply trying to
access a NULL pointer

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1176199

Title:
  qtdeclarative5-qtquick2-plugin should depend on libgl1-mesa-dri

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1176199/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to