App goes in core dump if the physics = true is istantiated at startup in heavy scenes #114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In very heavy scenes (sorry, not able to provide a useful code right now) if
physics: truethe app produces a core dump.The same code works if I use
Component.onCompleted: physics = true.Here the backtrack:
I'll try to provide other useful informations asap
happen on which platform? desktop? mobile?
can you provide a minimal code that the problem occurs with you??
thanks
Looks like amd64 Ubuntu. Are you using the Ubuntu packages or built from
git? Code sample would be helpful.
On Jun 30, 2015 9:33 PM, "Rodrigo Oliveira" notifications@github.com
wrote:
Sorry for missing details.
I'm on Ubuntu 15.04 and I installed the package from the repo.
I created a little demo of the bug, but I'm not sure it's the same, because also with Component.oCompleted trick it crashes.
Also, it requires two scenes, one with physics: true and the other with an entity.
Just using
qmlscene bug.qmlit crashesUnfortunately for this example gdb is useless 'cause doesn't give informations.
Anyway, the app where first I found the problem is hosted here: https://launchpad.net/falldown
You need to edit
falldown/scenes/MainScene.qmlto reproduce itI reproduced it here, pretty strange. Will try to analyze it soon, thanks!
Just a quick check, maybe this problem occur because there are no currentScene being set on Game, changing bug.qml to the below ran without problems:
can you test with your game to check if it works?
Anyway we should do some verification on it while initializing Game.