[Interest] [Qt3D] Crash when using an empty vertex buffer

Xavier Bigand flamaros.xavier at gmail.com
Tue May 10 14:45:24 CEST 2016


2016-05-10 13:28 GMT+02:00 Sean Harmer <sean.harmer at kdab.com>:

> On Tuesday 10 May 2016 11:27:01 Xavier Bigand wrote:
> > I am creating dynamic geometries and at some moment a geometry can be
> > empty, that cause a crash.
> >
> > I think that it would be nice if the renderer was safer and avoid the
> draw
> > call of empty geometries. It's like new and delete that manage correctly
> > the allocation of 0 bytes.
> > Else I'll have to manage the visibility of elements in a particular way.
>
> Can you file a JIRA please?
>

Done :
https://bugreports.qt.io/browse/QTBUG-53288

Thank you



> > Maybe it's not related but I am getting those errors :
> > ASSERT failure in QVector<T>::at: "index out of range", file
> > c:\Users\qt\work\install\include/QtCore/qvector.h, line 419
> > I can't figure out from what it come from, if it's due to a geometry I
> need
> > more informations.
>
> Run in a debugger and look at the backtrace for that assertion.
>
> Cheers,
>
> Sean
>
> --
> Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
> KDAB (UK) Ltd, a KDAB Group company
> Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090
> Mobile: +44 (0)7545 140604
> KDAB - Qt Experts
>



-- 
Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160510/1db9457a/attachment.html>


More information about the Interest mailing list