Public bug reported:

Summary
  The nginx-extras package version 1.24.0-2ubuntu7.10 (Noble) ships a bundled 
nchan module that causes nginx workers to segfault with signal 11 immediately 
on startup, even when nchan is not configured in any site.

Steps to reproduce
  1. Install nginx-extras on Ubuntu 24.04
  2. Ensure /etc/nginx/modules-enabled/50-mod-nchan.conf is present (default 
after install)
  3. Do NOT add any nchan_* directives to any site config
  4. Start or restart nginx
  5. Observe workers crashing with signal 11 in /var/log/nginx/error.log

Expected behaviour
  Modules included in nginx-extras should be compatible with the nginx binary 
in the same package version. A loaded-but-unconfigured module should not crash 
workers.

Actual behaviour
  Every nginx worker exits on signal 11 seconds after startup:
  [alert] worker process XXXX exited on signal 11

Impact
  - All HTTP/2 connections are dropped on each worker crash
  - Site appears completely down to users
  - The previous version (1.24.0-2ubuntu7.9) had no such issue — this is a 
regression introduced in 2ubuntu7.10

Workaround
  Remove /etc/nginx/modules-enabled/50-mod-nchan.conf to stop loading the nchan 
module.

System info
  - Ubuntu 24.04 LTS (Noble)
  - nginx 1.24.0-2ubuntu7.10
  - nginx-extras 1.24.0-2ubuntu7.10
  - Upgraded automatically via unattended-upgrades

** Affects: nginx (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156016

Title:
  nginx-extras 1.24.0-2ubuntu7.10 ships nchan module that segfaults
  nginx workers on load

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/2156016/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to