Hi,
So I’m having trouble with calling a lua function from my java. What I’m trying to make is a listener that pool a state from my gamepad device every 50ms, so this is called periodically
luaState.pushInteger(keyState); luaState.pushInteger(keyCode); Log.d("Corona", "Calling callback LUA2"); luaState.call(2, 0); Log.d("Corona", "Finished Calling callback LUA");
This actually works but after few minutes it’ll start to crash with the dreaded signal 11, code = 1 error.
Any idea why? I noticed that sigsegv error simply means bad address and the dump shows it happens on liblua.so