Message3570

Author flaviojs
Recipients infrared
Date 2018-04-18.16:36:05
Content
The thread in the stack is the coroutine created inside 'prepare_lua_coroutine'
with the arguments: LUA_DIALOG "FDdialog" "run_node" "d" ...

A call to 'resume_lua_coroutine' happens after each line of the node code, maybe
to return from C code?

After adding "while (lua_isthread(L, -1)) L = lua_tothread(L, -1);" to 'run_lua'
the error changes to "attempt to yield across a C-call boundary".
History
Date User Action Args
2018-04-18 16:36:07flaviojssetmessageid: <1524069367.5.0.310142227374.issue670@freedroid.org>
2018-04-18 16:36:07flaviojssetrecipients: + infrared
2018-04-18 16:36:07flaviojslinkissue670 messages
2018-04-18 16:36:05flaviojscreate