#2521 closed defect (invalid)

nginx-1.24.0 with nginx-lua-module gets terminated with signal 11

Reported by: satveergaur@… Owned by:
Priority: minor Milestone:
Component: documentation Version: 1.25.x
Keywords: Cc:
uname -a: Linux 3.10.0-1160.90.1.el7.x86_64 #1 SMP Fri Mar 17 08:39:44 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.24.0
built by gcc 8.5.0 20210514 (Red Hat 8.5.0-18) (GCC)
built with OpenSSL 1.1.1k FIPS 25 Mar 2021
TLS SNI support enabled
configure arguments: --prefix=/opt/nginx --sbin-path=/opt/nginx/sbin/nginx --conf-path=/opt/nginx/etc/nginx/nginx.conf --error-log-path=/opt/nginx/log/nginx/error.log --http-log-path=/opt/nginx/log/nginx/access.log --http-client-body-temp-path=/opt/nginx/nginx/tmp/client_body --http-proxy-temp-path=/opt/nginx/nginx/tmp/proxy --http-fastcgi-temp-path=/opt/nginx/nginx/tmp/fastcgi --http-uwsgi-temp-path=/opt/nginx/nginx/tmp/uwsgi --http-scgi-temp-path=/opt/nginx/nginx/tmp/scgi --pid-path=/run/nginx.pid --lock-path=/run/lock/subsys/nginx --user=nginx --group=nginx --with-file-aio --with-ipv6 --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_auth_request_module --with-http_image_filter_module --with-http_sub_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_stub_status_module --with-ld-opt=-lpcre --with-debug --add-module=/tmp/ngx/ngx_devel_kit-0.3.2 --add-module=/tmp/ngx/lua-nginx-module-0.10.24 --with-stream --with-stream_ssl_module

Description

Hi Team,

I am installing nginx-1.24.0 with nginx-lua-module v0.10.24 in docker container.Nginx gets starts properly but while serving the request worker process gets exited with signal 11. Analyzing the core dump files showing below error message.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 ngx_http_variable_headers_internal (r=0x7149190, v=0x714a788, data=<optimized out>, sep=sep@entry=44 ',')

at src/http/ngx_http_variables.c:840

840 src/http/ngx_http_variables.c: No such file or directory.

Please help me to fix this issue.

Change History (1)

comment:1 by Sergey Kandaurov, 17 months ago

Resolution: invalid
Status: newclosed

I saw a similar report that looks like a bug in lua and should be fixed in lua, so closing this ticket as invalid.
Meanwhile you can try this change and see if it helps, should apply to 1.24.0 cleanly.

Note: See TracTickets for help on using tickets.