[Bug 267435] www/apache24 core dumps when mod_perl, mod_php7, mod_dbd, and GD active

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Nov 2022 21:34:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267435

--- Comment #5 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
I got
[Wed Nov 02 06:01:58.484944 2022] [core:notice] [pid 39094:tid 34371067904]
AH00052: child pid 39098 exit signal Segmentation fault (11)

However, no core dump was obtained because the following was forgotten :)

sysctl kern.sugid_coredump=1

(In reply to papowell from comment #4)
> Tell me how to get the dump/corefile and I will send it.

The core dump configuration on the Apache httpd side is to set
CoreDumpDirectory directive.
The following sysctl settings are available for core dumping on the FreeBSD
side.

kern.coredump
kern.corefile
kern.sugid_coredump
...such as.

Since a non-privileged user will be dumping core, the write destination must be
a directory that anyone can write to.
Although not found in the Japanese documentation, it also seems necessary to
set kern.sugid_coredump to 1.

-- 
You are receiving this mail because:
You are the assignee for the bug.