Im using libgdx to make an android game. The game was working fine but then after after adding this line the app started to randomly close.
game.debugRenderer.render(game.world,playerCamera.combined);
The game does have bodies that are being destroyed in the render loop but its at the end of the loop . All that the logcat is showing is
A/libc: Fatal signal 11 (SIGSEGV), code 2, fault addr 0x9a44a2e8 in tid 19935 (GLThread 3723)
[ 07-23 18:09:09.086 299: 299 W/ ]
debuggerd: handling request: pid=19890 uid=10268 gid=10268 tid=19935
Application terminated.
I dont know where to start debugging. The app crashes at random interval, frequently(not always) when the player body is destroyed. Sometimes the ground tile just moves at random and then the app crashes. I dont know what the error is and where to start from. If required i'll post the github link. Any help would be highly appreciated.