Re: [BUG?] Segmentation fault in lua_error() - easily reproducible

  • From: Javier Guerra Giraldez <javier@xxxxxxxxxxx>
  • To: LuaJIT <luajit@xxxxxxxxxxxxx>
  • Date: Sat, 13 Dec 2014 11:47:41 -0500

On Sat, Dec 13, 2014 at 10:00 AM, Alex <initrd.gz@xxxxxxxxx> wrote:
> Wait, I misread the docs, again.

misread how?  AFAICT, the docs about lua_resume() state that it
starts/resumes a coroutine, nothing else.  the given code puts a
function that calls coroutine.yield(), but it never builds a coroutine
(either by coroutine.create(f) or lua_newthread())

-- 
Javier

Other related posts: