Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attempt to yield across C-call boundary #109

Open
frankgreco opened this issue Dec 26, 2023 · 0 comments
Open

attempt to yield across C-call boundary #109

frankgreco opened this issue Dec 26, 2023 · 0 comments

Comments

@frankgreco
Copy link

I'm not sure if the error lies here or with resty but I get this error when using resty.

$ resty -lluacov <file>
ERROR: attempt to yield across C-call boundary
stack traceback:
        ...ew/Cellar/luarocks/3.9.2/share/lua/5.4/luacov/runner.lua:429: in function 'has_hook_per_thread'
        ...ew/Cellar/luarocks/3.9.2/share/lua/5.4/luacov/runner.lua:475: in function 'init'
        .../homebrew/Cellar/luarocks/3.9.2/share/lua/5.4/luacov.lua:7: in main chunk
        [C]: in function 'require'
        (command line -e):1: in function 'inline_gen'
        init_worker_by_lua(nginx.conf:162):48: in function <init_worker_by_lua(nginx.conf:162):47>
        [C]: in function 'xpcall'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant