www/nginx-devel version 1.23 and upwards keeps crashing and respawning with signal 10 and 11 if ngx_http_auth_ldap_module.so is loaded. Unloading the module rectifies the issue. There are no such issues with 1.22.* and below. There have apparently been changes to the nginx API from 1.22 to 1.23. The module (GitHub: kvspb/nginx-auth-ldap) has not been updated in over two years, so it's pretty safe to say that the module has not been brought up to date with the API changes, and that's most likely the culprit here. Perhaps changing to https://github.com/nginxinc/nginx-ldap-auth is in order?
Created attachment 236043 [details] Make ngx_http_auth_ldap_module.c work with 1.23.*
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7b8cbbf12a2c7eb993b6dcb08f6937880c3e5201 commit 7b8cbbf12a2c7eb993b6dcb08f6937880c3e5201 Author: Sergey A. Osokin <osa@FreeBSD.org> AuthorDate: 2022-08-23 03:15:37 +0000 Commit: Sergey A. Osokin <osa@FreeBSD.org> CommitDate: 2022-08-23 03:15:37 +0000 www/nginx-devel: fix crash of the third-party http_auth_ldap module Bump PORTREVISION. PR: 265969 www/nginx-devel/Makefile | 2 +- www/nginx-devel/Makefile.extmod | 1 + .../files/extra-patch-ngx_http_auth_ldap_module.c (new) | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-)
Committed with a small modification, thanks you!