I have an app that is reading data from a bluetooth device as a byte stream, via a plugin. The plugin sends an event when a page of data is read containing a lua table/array of integers. The app runs for a minute or so and receives thousands of events, then dies with the following.
Suggestions?
3:50:39.730 4352 4370 E AndroidRuntime: FATAL EXCEPTION: GLThread 9099
05-15 13:50:39.730 4352 4370 E AndroidRuntime: Process: com.spacekace.meister.bluetoothtest, PID: 4352
05-15 13:50:39.730 4352 4370 E AndroidRuntime: java.lang.IllegalStateException: stack overflow
05-15 13:50:39.730 4352 4370 E AndroidRuntime: at com.naef.jnlua.LuaState.lua_rawseti(Native Method)
05-15 13:50:39.730 4352 4370 E AndroidRuntime: at com.naef.jnlua.LuaState.rawSet(Unknown Source)
05-15 13:50:39.730 4352 4370 E AndroidRuntime: at plugin.bluetoothbytes.LuaLoader$init$2$3.executeUsing(LuaLoader.java:374)
05-15 13:50:39.730 4352 4370 E AndroidRuntime: at com.ansca.corona.CoronaRuntimeTaskDispatcher$TaskEvent.Send(CoronaRuntimeTaskDispatcher.java:170)
05-15 13:50:39.730 4352 4370 E AndroidRuntime: at com.ansca.corona.events.EventManager.sendEvents(EventManager.java:91)
05-15 13:50:39.730 4352 4370 E AndroidRuntime: at com.ansca.corona.Controller.updateRuntimeState(Controller.java:308)
05-15 13:50:39.730 4352 4370 E AndroidRuntime: at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame(CoronaGLSurfaceView.java:425)
05-15 13:50:39.730 4352 4370 E AndroidRuntime: at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1623)
05-15 13:50:39.730 4352 4370 E AndroidRuntime: at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1378)