Created attachment 1752886 [details] redis log containing segfault diagnostic details Description of problem: redis-server segfaults when I run it inside a Fedora 33 podman container on a Unifi Dream Machine Pro network router. This does not happen if I run it inside a Fedora 32 container on the same system. Version-Release number of selected component (if applicable): Redis 6.0.10 How reproducible: Create a container, install the redis package, and start redis-server Steps to Reproduce: 1. From the command prompt of the aarch64 system, as root: a. podman run -it --net=host fedora:33 /bin/sh 2. From the command prompt of the container, as root: a. dnf -y install redis b. redis-server /etc/redis/redis.conf 3. redis-server immediately segfaults Actual results: "Segmentation fault (core dumped)" and an error log is produced, which I have attached. Expected results: redis should not segfault. If I do the same steps on a Fedora:32 container redis-server does not segfault. Redis is at version 5.0.9 in this case. Additional info: redis.log attached
One additional data point: redis server does not segfault running in Fedora:33 containers built/running on a x86_64 system.
It looks like it's tripping an assert inside the relatively new, aarch64-specific linuxMadvFreeForkBugCheck routine. This was added via this upstream Redis commit: https://github.com/redis/redis/commit/b02780c41dbc5b28d265b5cf141c03c1a7383ef9 and also looks like the asserts from that commit have been removed in the latest Redis unstable branch. It'd be worth checking to see if that solves the problem - if so, next upstream release that gets packaged will have the fix. cheers.
FEDORA-2021-283c911677 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-283c911677
FEDORA-2021-acf195a6fd has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-acf195a6fd` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-acf195a6fd See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-283c911677 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-283c911677` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-283c911677 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
I've tested installing and starting the testing repository release of redis in Fedora 33 and Fedora 34 containers on the aarch64 system where the error previously occurred. The new version worked as expected. Note that I only tested server startup. I did not do any further testing of redis functionality.
FEDORA-2021-283c911677 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-acf195a6fd has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.