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

  • From: Alex <initrd.gz@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 13 Dec 2014 09:53:23 -0500

Whoops, I was wrong about the stack index; lua_resume takes nargs, not a
stack index.
However, the documentation for lua_resume [1] states that it must take a
thread; it doesn't say it can take a function.

[1] http://www.lua.org/manual/5.1/manual.html#lua_resume

-- 
Sincerely,
Alex Parrill

Other related posts: