[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: Re: bug: crash while calling function from yielded state with line
From: Roberto Ierusalimschy <roberto () inf ! puc-rio ! br>
Date: 2010-07-30 14:54:37
Message-ID: 20100730145437.GB11979 () inf ! puc-rio ! br
[Download RAW message or body]
> >The code in question calls lua_pcall on a suspended thread. Although
> >this was not documented, such call is illegal. You can only resume a
> >suspended thread (one with status LUA_YIELD). By chance it works
> >when there are no line hooks, but it is invalid nonetheless.
> IMHO, it's not obvious.
> It'll be great if there will be some notice in documentation
> and error message in code.
It is being corrected.
-- Roberto
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic