Reproducing the issue in mantic with the script provided in the SRU test plan:
+ echo 'Number of SIGSEGV failures:'
Number of SIGSEGV failures:
+ lxc exec php-fpm-segfault -- sh -c 'cat /var/log/php8.2-fpm.log | grep -c SIGSEGV'
5102
Which confirms the issue.
When tryong to verify the fix, I got the following result:
+ echo 'Number of SIGSEGV failures:'
Number of SIGSEGV failures:
+ lxc exec php-fpm-segfault -- sh -c 'cat /var/log/php8.2-fpm.log | grep -c SIGSEGV'
315
Further runs with and without the fix are quite consistent: I get thousands of failures for the package in the release pocket, and a few hundreds with the package in proposed.
Before marking this as a verification failure, I would like to dig a bit more to ensure this is not a different bug or a a issue with local resources.
This is the modified test plan script used to install the packages from the proposed pocket:
Reproducing the issue in mantic with the script provided in the SRU test plan:
+ echo 'Number of SIGSEGV failures:' php8.2- fpm.log | grep -c SIGSEGV'
Number of SIGSEGV failures:
+ lxc exec php-fpm-segfault -- sh -c 'cat /var/log/
5102
Which confirms the issue.
When tryong to verify the fix, I got the following result:
+ echo 'Number of SIGSEGV failures:' php8.2- fpm.log | grep -c SIGSEGV'
Number of SIGSEGV failures:
+ lxc exec php-fpm-segfault -- sh -c 'cat /var/log/
315
Further runs with and without the fix are quite consistent: I get thousands of failures for the package in the release pocket, and a few hundreds with the package in proposed.
Before marking this as a verification failure, I would like to dig a bit more to ensure this is not a different bug or a a issue with local resources.
This is the modified test plan script used to install the packages from the proposed pocket:
#!/bin/bash
set -eux
trap cleanup EXIT
UBUNTU_ SERIES= ${UBUNTU_ SERIES: -mantic} ${PHP_VERSION: -8.2} php-fpm- segfault FILE=$( mktemp) REPO_FILE= $(mktemp) PREF=$( mktemp)
PHP_VERSION=
TEST_CONTAINER=
PHP_TEST_
PROPOSED_
PROPOSED_
cleanup() { REPO_FILE}
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_ REPO_FILE} <<EOF archive. ubuntu. com/ubuntu/ ${UBUNTU_ SERIES} -proposed restricted main multiverse universe
# Enable Ubuntu proposed archive
deb http://
EOF
cat > ${PROPOSED_PREF} <<EOF SERIES} -proposed
# Configure apt to allow selective installs of packages from proposed
Package: *
Pin: release a=${UBUNTU_
Pin-Priority: 500
EOF
lxc launch ubuntu- daily:$ {UBUNTU_ SERIES} ${TEST_CONTAINER}
lxc file push ${PROPOSED_ REPO_FILE} ${TEST_ CONTAINER} /etc/apt/ sources. list.d/ ubuntu- ${UBUNTU_ SERIES} -proposed. list CONTAINER} /etc/apt/ preferences. d/proposed- updates
lxc file push ${PROPOSED_PREF} ${TEST_
lxc exec ${TEST_CONTAINER} -- apt update mod-fcgid VERSION} -fpm VERSION} -fpm CONTAINER} /var/www/ html/test. php --mode 0644 localhost/ test.php php${PHP_ VERSION} -fpm.log | grep -c SIGSEGV"
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'"
lxc exec ${TEST_CONTAINER} -- ab -n 10000 -c 99 http://
echo 'Number of SIGSEGV failures:'
lxc exec ${TEST_CONTAINER} -- sh -c "cat /var/log/