https://bz.apache.org/bugzilla/show_bug.cgi?id=57742

--- Comment #7 from schapra...@hpi.de ---
Same observation here. Piped logging (for CustomLog) results in segmentation
fault of worker process.

Running: Apache/2.4.62 (Debian) SVN/1.14.2 OpenSSL/3.0.15 mod_fcgid/2.3.9
mod_qos/11.74 mpm_event enabled on Debian 12.

Tried it out with very easy piped scripts (with dedicated bash |$ and without
|):
CustomLog "|$/usr/bin/tee -a /tmp/asdf.log" vhost_combined

PS.: log file was present before start of apache as it was created in advance.

This is typically what you find in the error log.

[Thu Apr 24 16:06:22.569119 2025] [core:notice] [pid 1219940:tid 1219940]
AH00052: child pid 1266782 exit signal Segmentation fault (11)
AH00106: piped log program '/usr/bin/tee -a /tmp/asdf.log' failed unexpectedly

PS.: Even a redirection of stderr to stdout using 2>&1 does not help.

Many thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to