maintainer-feedback requested: [Bug 268318] www/apache24: dumps core when rotating logs

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 Dec 2022 18:34:10 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-apache (Nobody)
<apache@FreeBSD.org> for maintainer-feedback:
Bug 268318: www/apache24: dumps core when rotating logs
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268318



--- Description ---
For a few months, www/apache24 doesn't respect SIGUSR1 from newsyslog(8), but
segfaults[1]. To reproduce add[2] to newsyslog.conf(5) and run newsyslog(8). I
am certain that the issue was introduced by the upgrade to apache24-2.4.54. By
the way, sending SIGUSR1 by hand doesn't confuse the www/apache24 daemon.

[1]
[40067] pid 3446 (httpd), jid 0, uid 80: exited on signal 11
[40067] pid 2656 (httpd), jid 0, uid 80: exited on signal 11
[40067] pid 2650 (httpd), jid 0, uid 0: exited on signal 11

[2]
/var/log/httpd-*.log   640  9	  1  *	   XG /var/run/httpd.pid SIGUSR1