Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0 Beta 1
-
Windows 7, Ubuntu 10.04
-
a6c410d8cf106c00a5cc92aca0e029011af53d71
Description
The following code snippet can be used to reproduce the crash:
import QtQuick 2.0 import Qt3D 2.0 import Qt3D.Shapes 2.0 Line { vertices: [ 0, 0, 0, 0, 0, 1, 0, 1, 1 ] effect: Effect { color: "#aaca00" } }
Steps to reproduce:
- checkout qt5.0.0-beta1 tag from git
- ./configure -debug -prefix . -developer-build -nomake examples -nomake docs -nomake demos
- ./build -j 3
- launch the qmlscene (from qtbase/qmlscene)
- select the qml file
Output from gdb:
#0 0xb7cec654 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x4)
at /work/Qt_versions/qt5_os/qtbase/include/QtCore/qscopedpointer.h:134
#1 0xb7dac0b8 in qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (p=...)
at /work/Qt_versions/qt5_os/qtbase/include/QtCore/qglobal.h:990
#2 0xb7dac4e2 in QQuickItem::d_func (this=0x0) at items/qquickitem.h:427
#3 0xb7db9ac7 in QQuickItem::setWidth (this=0x0, w=0) at items/qquickitem.cpp:5359
#4 0xb194f01a in QQuickItem3D::componentComplete (this=0xb3f08058) at qquickitem3d.cpp:1433
#5 0xb7a8fdec in QQmlVME::complete (this=0xb3f0615c, interrupt=...) at qml/qqmlvme.cpp:1334
#6 0xb7a7aad6 in QQmlComponentPrivate::complete (enginePriv=0x808e760, state=0xb3f0615c) at qml/qqmlcomponent.cpp:919
#7 0xb7a7abac in QQmlComponentPrivate::completeCreate (this=0xb3f06100) at qml/qqmlcomponent.cpp:954
#8 0xb7a7ab5b in QQmlComponent::completeCreate (this=0xb3f07118) at qml/qqmlcomponent.cpp:947
#9 0xb7a7a3d9 in QQmlComponent::create (this=0xb3f07118, context=0xb3f065e8) at qml/qqmlcomponent.cpp:781
#10 0xb7ead1c6 in QQuickView::continueExecute (this=0xbfffeeec) at items/qquickview.cpp:437
#11 0xb7eac131 in QQuickViewPrivate::execute (this=0x826e870) at items/qquickview.cpp:106
#12 0xb7eac825 in QQuickView::setSource (this=0xbfffeeec, url=...) at items/qquickview.cpp:235
#13 0x0804d2c5 in main (argc=1, argv=0xbffff1c4) at main.cpp:463