Opened 3 months ago

Last modified 8 days ago

#2680 new defect

Error Signal 11 on reload if any dynamic module is loaded

Reported by: jeffglitchless@… Owned by:
Priority: major Milestone:
Component: nginx-core Version: 1.25.x
Keywords: Cc:
uname -a: Linux nodproxy2 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.27.1
built by gcc 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
built with OpenSSL 3.0.2 15 Mar 2022
TLS SNI support enabled
configure arguments: --with-debug --with-cc-opt='-O0 -g' --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --with-compat --with-debug --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_v3_module --with-threads

Description

I get a pair of signal 11 errors every time nginx is closed or reloaded:
2024/08/14 16:20:41 [alert] 6935#6935: worker process 6936 exited on signal 11 (core dumped)
2024/08/14 16:20:42 [alert] 6935#6935: worker process 6937 exited on signal 11 (core dumped)
2024/08/14 16:21:06 [alert] 7352#7352: worker process 7353 exited on signal 11 (core dumped)
2024/08/14 16:21:06 [alert] 7352#7352: worker process 7354 exited on signal 11 (core dumped)

This only happens when a dynamic module is loaded, and regardless of whether it is actually called/used. code used to load it in nginx.conf:
load_module /etc/nginx/modules/ngx_http_hello_world_module.so;

In this particular test I used module code that I knew should be error free, which was the empty gif module but with all "empty_gif" replaced with "hello_world" When hello_world is called, it properly returns the empty gif.

Attachments (1)

btfull.txt (11.7 KB ) - added by jeffglitchless@… 3 months ago.
full backtrace from core dump

Download all attachments as: .zip

Change History (1)

by jeffglitchless@…, 3 months ago

Attachment: btfull.txt added

full backtrace from core dump

Note: See TracTickets for help on using tickets.