Skip to content

not support Nginx 1.15.6? #1464

@ylfforme

Description

@ylfforme

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions