Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Memory error
Started by meister.public May 15 2018 12:54 PM

No replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

meister.public

[GLOBAL: userInfoPane.html]
meister.public
  • Observer

  • 9 posts
  • Corona SDK

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)




[topic_controls]
[/topic_controls]