php-fpm exists with SIGSEGVs (signal 11)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php8.3 (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Even after fixing LP: #2057576, PHP halts with SIGSEGV when running the script below.
Note the null pointer dereference from LP: #2057576 no longer occurs.
This can be observed in oracular, noble, and mantic (jammy and focal need verification).
This is a tracker for this bug and needs further investigarion.
### BEGIN REPRODUCER
#!/bin/bash
set -eux
trap cleanup EXIT
UBUNTU_
PHP_VERSION=
TEST_CONTAINER=
PHP_TEST_
PROPOSED_
PROPOSED_
lxc delete -f ${TEST_CONTAINER} || true
cleanup() {
rm -f ${PHP_TEST_FILE}
rm -f ${PROPOSED_
rm -f ${PROPOSED_PREF}
#lxc delete -f ${TEST_CONTAINER}
}
cat > ${PHP_TEST_FILE} <<EOF
testing...
<br/>
<?php
phpinfo();
fpm_get_status();
EOF
cat > ${PROPOSED_
# Enable Ubuntu proposed archive
deb http://
EOF
cat > ${PROPOSED_PREF} <<EOF
# Configure apt to allow selective installs of packages from proposed
Package: *
Pin: release a=${UBUNTU_
Pin-Priority: 500
EOF
lxc launch ubuntu-
# lxc file push ${PROPOSED_
# lxc file push ${PROPOSED_PREF} ${TEST_
lxc exec ${TEST_CONTAINER} -- apt update
lxc exec ${TEST_CONTAINER} -- apt install -y php php-fpm apache2-utils apache2 libapache2-
lxc exec ${TEST_CONTAINER} -- systemctl start php${PHP_
lxc exec ${TEST_CONTAINER} -- a2dismod php${PHP_VERSION}
lxc exec ${TEST_CONTAINER} -- a2dismod mpm_prefork
lxc exec ${TEST_CONTAINER} -- a2enconf php${PHP_
lxc exec ${TEST_CONTAINER} -- a2enmod proxy_fcgi proxy mpm_event
lxc file push ${PHP_TEST_FILE} ${TEST_
lxc exec ${TEST_CONTAINER} -- systemctl restart apache2.service
lxc exec ${TEST_CONTAINER} -- sh -c "curl -s localhost/test.php | grep -o 'FPM/FastCGI'"
sleep 15
lxc exec ${TEST_CONTAINER} -- ab -n 10000 -c 99 http://
echo 'Number of SIGSEGV failures:'
lxc exec ${TEST_CONTAINER} -- sh -c "cat /var/log/
### END REPRODUCER
Changed in php8.3 (Ubuntu): | |
status: | New → Triaged |