Bug#994178: libnginx-mod-http-lua - init_worker_by_lua_block segfaults

2022-02-01 Thread Anton Tolchanov
> The nginx source bundles the http-lua module in a version incompatible
> with nginx 1.18.  It segfaults immediately with a minimal config if a
> "init_worker_by_lua_block" block is defined.  (I haven't looked much
> further.)

I have submitted a merge request to upgrade lua-nginx-module version to 0.10.15:
https://salsa.debian.org/nginx-team/nginx/-/merge_requests/15

After updating to 0.10.15 I am no longer seeing nginx segfault when 
init_worker_by_lua_block is used.

A similar update is being discussed in the corresponding Ubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1893753

Regards,
Anton



Bug#994178: libnginx-mod-http-lua - init_worker_by_lua_block segfaults

2021-09-13 Thread Bastian Blank
Package: libnginx-mod-http-lua
Version: 1.18.0-6.1
Severity: serious

The nginx source bundles the http-lua module in a version incompatible
with nginx 1.18.  It segfaults immediately with a minimal config if a
"init_worker_by_lua_block" block is defined.  (I haven't looked much
further.)

This looks to be the same bug as
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1915391

This is broken in Stable.

Bastian

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.13.0-trunk-amd64 (SMP w/12 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)