[Interest] Crash when calling deleteLater for a QGLSceneNode

Juan umrk.bimbo at gmail.com
Sat Apr 26 18:01:55 CEST 2014


The QGLMaterialCollection? Probably. Why does Qt not send it a deleteLater
queued call? I have no control over that, or do I?.


On Fri, Apr 25, 2014 at 5:17 PM, Alan Ezust <alan.ezust at gmail.com> wrote:

> 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
>>
>>
>


-- 
Sent from my iPhone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140426/a2e1bfb7/attachment.html>


More information about the Interest mailing list