-
Notifications
You must be signed in to change notification settings - Fork 2k
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
not support Nginx 1.15.6? #1464
Comments
Hi, please try the latest release of this module, v0.10.14rc5. It should resolve the segfault. |
it worked,thank you |
|
@AlexProfi Which version of this module are you using? Also, can you provide a backtrace for this segfault? Thank you. |
thats some additional info about used packs nginx -t part of nginx.conf |
@ylfforme Also need to use gdb to obtain the full C backtrace at the crash site. Please see the following doc for details: https://www.nginx.com/resources/wiki/start/topics/tutorials/debugging/#core-dump BTW, better create a separate issue for this instead of hijacking this closed issue ;) |
I build nginx1.15.6 use https://github.com/openresty/luajit2,but when run nginx -t,return segmentfault,it seems there is something wrong with lua_shared_dict
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/local/nginx/sbin/nginx -t'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f294b93d870 in ?? () from /usr/local/lib/libluajit-5.1.so.2
(gdb) bt
#0 0x00007f294b93d870 in ?? () from /usr/local/lib/libluajit-5.1.so.2
#1 0x00007f294b955c4d in lua_loadx () from /usr/local/lib/libluajit-5.1.so.2
#2 0x00007f294b955e7c in luaL_loadbufferx () from /usr/local/lib/libluajit-5.1.so.2
#3 0x00000000005dc57c in ngx_http_lua_init_by_inline (log=0x2701ed8, lmcf=0x2715cd0, L=0x0)
at /root/rpmbuild/compile/modules/ngx_lua.aef03eb/src/ngx_http_lua_initby.c:22
#4 0x00000000005d7844 in ngx_http_lua_shared_memory_init (shm_zone=0x2702500, data=0x0)
at /root/rpmbuild/compile/modules/ngx_lua.aef03eb/src/ngx_http_lua_api.c:203
#5 0x0000000000479060 in ngx_init_cycle (old_cycle=0x7ffe55caaf60) at src/core/ngx_cycle.c:484
#6 0x000000000045944d in main (argc=2, argv=0x7ffe55cab2e8) at src/core/nginx.c:291
The text was updated successfully, but these errors were encountered: