Description
ModelViewer crashes after loading some models it apparently cant handle.
Then you can get in a loop where everytime you try to restart modelviewer it crashes trying to load the previous file it doesnt like.
Default behavior is to start by reloading last model saved in QSettings so if you just click on the binary file(dont use command line) it will just keep crashing upon restart.(see crash output below)
Also, notice that the QSettings seem to have company name unset as seen in "com.yourcompany.modelviewer" which is strange because in main() the company name for QSettings are specified and actually both the correctly named settings file and the defective one yourcompany one are are created:
com.yourcompany.modelviewer.plist
com.nokia.modelviewer.plist
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libQt3D.1.dylib 0x000000010010287e QScopedPointer<QGLSceneNodePrivate, QScopedPointerDeleter<QGLSceneNodePrivate> >::data() const + 12 (qscopedpointer.h:135)
1 libQt3D.1.dylib 0x00000001000fc734 QScopedPointer<QGLSceneNodePrivate, QScopedPointerDeleter<QGLSceneNodePrivate> >::pointer qGetPtrHelper<QScopedPointer<QGLSceneNodePrivate, QScopedPointerDeleter<QGLSceneNodePrivate> > >(QScopedPointer<QGLSceneNodePrivate, QScopedPointerDeleter<QGLSceneNodePrivate> > const&) + 21 (qglobal.h:2338)
2 libQt3D.1.dylib 0x00000001001028b9 QGLSceneNode::d_func() + 25 (qglscenenode.h:64)
3 libQt3D.1.dylib 0x00000001000fca75 QGLSceneNode::setPickNode(QGLPickNode*) + 25 (qglscenenode.cpp:1407)
4 libQt3D.1.dylib 0x00000001000fa113 QGLAbstractScene::generatePickNodes() + 177 (qglabstractscene.cpp:215)
5 libQt3D.1.dylib 0x00000001000f8bf6 QGLAbstractScene::setPickable(bool) + 82 (qglabstractscene.cpp:179)
6 com.yourcompany.modelviewer 0x0000000100024d5e Model::importModel() + 310 (model.cpp:186)
7 com.yourcompany.modelviewer 0x0000000100024f23 Model::setFullPath(QString const&) + 79 (model.cpp:154)
8 com.yourcompany.modelviewer 0x0000000100027e4e Model::qt_metacall(QMetaObject::Call, int, void**) + 294 (moc_model.cpp:90)
9 QtCore 0x00000001011f4146 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 710
10 com.yourcompany.modelviewer 0x0000000100026cc1 Controls::openFile(QString const&) + 65 (moc_controls.cpp:200)
11 com.yourcompany.modelviewer 0x000000010001175a Controls::Controls(QWidget*) + 1846 (controls.cpp:111)
12 com.yourcompany.modelviewer 0x0000000100004251 main + 416 (main.cpp:71)
13 com.yourcompany.modelviewer 0x0000000100003f78 start + 52
Attachments
Issue Links
- is replaced by
-
QTBUG-17411 Model viewer integration in Qt SDK / Creator
-
- Closed
-