I am developing a simple game with using Andengine.Desperately I am getting Fatal signal 11 SIGSEGV 0xdeadbaad code=1
error in my game randomly.
I searched almost every topic about this error and I read that this is a segmentation error and caused by the NDK.But I am NOT using any native code. Actually,I implemented Android NDK to Eclipse but not using any C/C++ code in my game.
I cannot put a log because it is just saying Fatal signal 11 SIGSEGV 0xdeadbaad code=1
.I am not putting my whole code too as it may be too long but if you want I can put it.
Just asking that if I remove NDK,may this error be dissappear? Or what else can make this error occure and how to handle it?
I am sorry if I had a mistake.Thank you.
Edit: I have a body removal part in my game and may be this part is the source of problem?
Here what I do:
scene.detachChildren();
scene.clearEntityModifiers();
scene.clearTouchAreas();
scene.clearUpdateHandlers();
physicsWorld.unregisterPhysicsConnector(physicsWorld.getPhysicsConnectorManager().findPhysicsConnectorByShape(spriteHero));
physicsWorld.destroyBody(bodyHero);