Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault when setting Entity transform #20

Open
rogerzanoni opened this issue Oct 23, 2012 · 0 comments
Open

Segfault when setting Entity transform #20

rogerzanoni opened this issue Oct 23, 2012 · 0 comments

Comments

@rogerzanoni
Copy link
Member

When using a Rotation transform in an Entity element like this:

transform: Rotation { origin.x: 25; origin.y: 25; angle: 45}

, Quasi crashes with a segmentation fault.

Trace (running on qmlviewer):
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff798a177 in QDeclarativeItemPrivate::computeTransformOrigin() const () from /usr/lib/libQtDeclarative.so.4
#2 0x00007ffff798a2f3 in QDeclarativeItemPrivate::transformChanged() () from /usr/lib/libQtDeclarative.so.4
#3 0x00007ffff7025d21 in QGraphicsItemPrivate::setParentItemHelper(QGraphicsItem_, QVariant const_, QVariant const*) () from /usr/lib/libQtGui.so.4
#4 0x00007ffff7026219 in QGraphicsItem::setParentItem(QGraphicsItem*) () from /usr/lib/libQtGui.so.4
#5 0x00007ffff7026ac2 in QGraphicsItem::QGraphicsItem(QGraphicsItemPrivate&, QGraphicsItem_, QGraphicsScene_) () from /usr/lib/libQtGui.so.4
#6 0x00007ffff702a28d in QGraphicsObject::QGraphicsObject(QGraphicsItemPrivate&, QGraphicsItem_, QGraphicsScene_) () from /usr/lib/libQtGui.so.4
#7 0x00007ffff798ced5 in QDeclarativeItem::QDeclarativeItem(QDeclarativeItem*) () from /usr/lib/libQtDeclarative.so.4
#8 0x00007fffe028c049 in Fixture::Fixture(QuasiDeclarativeItem*) () from /usr/lib/qt/imports/QuasiGame/libquasigameplugin.so
#9 0x00007fffe0276ea3 in Entity::createSensorFixture() () from /usr/lib/qt/imports/QuasiGame/libquasigameplugin.so
#10 0x00007fffe0277310 in Entity::initializeFixtures() () from /usr/lib/qt/imports/QuasiGame/libquasigameplugin.so
#11 0x00007fffe027767e in Entity::initialize() () from /usr/lib/qt/imports/QuasiGame/libquasigameplugin.so
#12 0x00007fffe0278b15 in Scene::componentComplete() () from /usr/lib/qt/imports/QuasiGame/libquasigameplugin.so

...
...
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant