[Interest] Crash when calling deleteLater for a QGLSceneNode

Alan Ezust alan.ezust at gmail.com
Fri Apr 25 22:17:17 CEST 2014


>From the stack trace it appears as if the node you are deleting has a
QSharedPointer member in it that is also being deleted, and the problem is
related to deleting that thing pointed to by the QSharedPointer...

Is it posisble that the pointed-to-object there is owned by a different
thread?




On Fri, Apr 25, 2014 at 12:28 PM, Juan <umrk.bimbo at gmail.com> wrote:

> Because I am in a different thread. I get the same exception when I call deleteLater
> directly, from the same thread where the node was created.
>
> Thanks anyway!
>
>
> On Thu, Apr 24, 2014 at 6:29 PM, Thiago Macieira <
> thiago.macieira at intel.com> wrote:
>
>> Em qui 24 abr 2014, às 17:55:23, Juan escreveu:
>> > QMetaObject::invokeMethod(node, "deleteLater");
>>
>> Why are you doing that instead of node->deleteLater()?
>>
>> --
>> Thiago Macieira - thiago.macieira (AT) intel.com
>>   Software Architect - Intel Open Source Technology Center
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>
>
>
> --
> Sent from my iPhone
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140425/df5df194/attachment.html>


More information about the Interest mailing list