[Interest] Crash when calling deleteLater for a QGLSceneNode

Juan umrk.bimbo at gmail.com
Thu Apr 24 22:55:23 CEST 2014


Hi!

Using Qt3D and Qt5.1 I do this:
QMetaObject::invokeMethod(node, "deleteLater");
where node is a QGLSceneNode*. After a while I get an exception which
crashes my application, clearly prompted by that line.
The stack trace is as follows. Attached is the trace as jpg and txt.

Do you know why this happens and how to fix it? Thanks a lot!


​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140424/47fba40a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stack_trace.jpg
Type: image/jpeg
Size: 262221 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140424/47fba40a/attachment.jpg>
-------------- next part --------------
0	QRegExp::matchedLength	Qt5Cored		0x5957f38a	
1	QRegExp::matchedLength	Qt5Cored		0x5958f7b6	
2	QRegExp::matchedLength	Qt5Cored		0x5958b056	
3	QRegExp::matchedLength	Qt5Cored		0x59582eb6	
4	QHashNode<QString,int>::~QHashNode<QString,int>	Qt53Dd		0x7ff82099985b	
5	QHashNode<QString,int>::`scalar deleting destructor'	Qt53Dd		0x7ff820999c37	
6	QHash<QString,int>::deleteNode2	qhash.h	529	0x7ff82099a20d	
7	QRegExp::matchedLength	Qt5Cored		0x596e3244	
8	QHash<QString,int>::freeData	qhash.h	575	0x7ff82099a990	
9	QHash<QString,int>::~QHash<QString,int>	qhash.h	300	0x7ff820999826	
10	QGLMaterialCollectionPrivate::~QGLMaterialCollectionPrivate	Qt53Dd		0x7ff820999913	
11	QGLMaterialCollectionPrivate::`scalar deleting destructor'	Qt53Dd		0x7ff820999cd7	
12	QScopedPointerDeleter<QGLMaterialCollectionPrivate>::cleanup	qscopedpointer.h	62	0x7ff820999ed4	
13	QScopedPointer<QGLMaterialCollectionPrivate,QScopedPointerDeleter<QGLMaterialCollectionPrivate> >::~QScopedPointer<QGLMaterialCollectionPrivate,QScopedPointerDeleter<QGLMaterialCollectionPrivate> >	qscopedpointer.h	99	0x7ff8209998e0	
14	QGLMaterialCollection::~QGLMaterialCollection	qglmaterialcollection.cpp	113	0x7ff8209989f2	
15	QGLMaterialCollection::`vector deleting destructor'	Qt53Dd		0x7ff820999bd8	
16	QtSharedPointer::CustomDeleter<QGLMaterialCollection,QtSharedPointer::NormalDeleter>::execute	qsharedpointer_impl.h	196	0x7ff826a9dabd	
17	QtSharedPointer::ExternalRefCountWithCustomDeleter<QGLMaterialCollection,QtSharedPointer::NormalDeleter>::deleter	qsharedpointer_impl.h	218	0x7ff826a99fa4	
18	QtSharedPointer::ExternalRefCountData::destroy	qsharedpointer_impl.h	158	0x7ff82098a186	
19	QSharedPointer<QGLMaterialCollection>::deref	qsharedpointer_impl.h	451	0x7ff82098a015	
20	QSharedPointer<QGLMaterialCollection>::deref	qsharedpointer_impl.h	444	0x7ff820989fc7	
21	QSharedPointer<QGLMaterialCollection>::~QSharedPointer<QGLMaterialCollection>	qsharedpointer_impl.h	312	0x7ff820988913	
22	QGLSceneNodePrivate::~QGLSceneNodePrivate	Qt53Dd		0x7ff8209c581d	
23	QGLSceneNodePrivate::`scalar deleting destructor'	Qt53Dd		0x7ff8209c6037	
24	QScopedPointerDeleter<QGLSceneNodePrivate>::cleanup	qscopedpointer.h	62	0x7ff8209c64e4	
25	QScopedPointer<QGLSceneNodePrivate,QScopedPointerDeleter<QGLSceneNodePrivate> >::~QScopedPointer<QGLSceneNodePrivate,QScopedPointerDeleter<QGLSceneNodePrivate> >	qscopedpointer.h	99	0x7ff8209c5780	
26	QGLSceneNode::~QGLSceneNode	qglscenenode.cpp	261	0x7ff8209bc3e9	
27	QGLSceneNode::`vector deleting destructor'	Qt53Dd		0x7ff8209c5e68	
28	QRegExp::matchedLength	Qt5Cored		0x599f0e1a	
29	QRegExp::matchedLength	Qt5Cored		0x599e9d88	
30	QDateTimeEdit::QDateTimeEdit	Qt5Widgetsd		0x5a18d4e6	
31	QDateTimeEdit::QDateTimeEdit	Qt5Widgetsd		0x5a18808e	
32	QRegExp::matchedLength	Qt5Cored		0x59993cb6	
33	QRegExp::matchedLength	Qt5Cored		0x5999ec23	
34	QRegExp::matchedLength	Qt5Cored		0x59995125	
35	QRegExp::matchedLength	Qt5Cored		0x59a36d9a	
36	QRegExp::matchedLength	Qt5Cored		0x59a34a5e	
37	UserCallWinProcCheckWow	USER32		0x7ff845e32524	
38	DispatchMessageWorker	USER32		0x7ff845e32387	
39	QRegExp::matchedLength	Qt5Cored		0x59a35589	
40	QRegExp::matchedLength	Qt5Cored		0x5998edc8	
41	QRegExp::matchedLength	Qt5Cored		0x5998f003	
42	QRegExp::matchedLength	Qt5Cored		0x595cef7c	
43	QRegExp::matchedLength	Qt5Cored		0x595ceeb3	
44	QRegExp::matchedLength	Qt5Cored		0x595daba5	
45	beginthreadex	MSVCR110D		0x7ff825477175	
46	endthreadex	MSVCR110D		0x7ff825477377	
47	BaseThreadInitThunk	KERNEL32		0x7ff843f115dd	
48	RtlUserThreadStart	ntdll		0x7ff8464c43d1	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stack_trace.jpg
Type: image/jpeg
Size: 262221 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140424/47fba40a/attachment-0001.jpg>


More information about the Interest mailing list