-
Notifications
You must be signed in to change notification settings - Fork 1
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
Segfault in lj_debug_funcname #1
Comments
Can you print the source line of the top frame? The Can you make sure there are no problems when you don't enable ngx-lua-request-time? Anyway, I'll test it and try to reproduce the issue later. Thank you for your feedback. |
Well, I see exact same return statement there:
Also, there are no problems when I do not enable LD_PRELOAD env variable. |
@kgs I tried to do a file uploading test with the versions you mentioned, but failed to reproduce the issue, which matches my expectations. location / {
access_by_lua_file {
ngx.req.read_body()
print("recv body ok")
assert(false)
}
log_by_lua_block {
print("openresty_request_time_us: ", ngx.ctx.openresty_request_time_us)
}
} What panics in your Lua code? Or, panics inside the FFI call? And what's the stack traceback in your log file? And did you modify the source code of those repos? |
@kingluo in my error.log I have only:
I've tried to compile LuaJIT without optimizations (
which is this line: https://github.com/openresty/luajit2/blob/v2.1-20231117/src/lj_debug.c#L310 Any thoughts? |
I am trying to use this module in high-load environment but unfortunately, from time to time I get segfaults :/
Every coredump I've catched segfaults here:
Any ideas? Help will be much appreciated :)
I am using:
The text was updated successfully, but these errors were encountered: