Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1923260 - redis-server segfault in Fedora 33 podman container on aarch64 system
Summary: redis-server segfault in Fedora 33 podman container on aarch64 system
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: redis
Version: 33
Hardware: aarch64
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Nathan Scott
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-01 16:00 UTC by Dave King
Modified: 2021-03-19 19:53 UTC (History)
6 users (show)

Fixed In Version: redis-6.0.11-1.fc33 redis-6.0.11-1.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-28 17:26:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
redis log containing segfault diagnostic details (10.04 KB, text/plain)
2021-02-01 16:00 UTC, Dave King
no flags Details

Description Dave King 2021-02-01 16:00:35 UTC
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

Comment 1 Dave King 2021-02-01 16:09:29 UTC
One additional data point: redis server does not segfault running in Fedora:33 containers built/running on a x86_64 system.

Comment 2 Nathan Scott 2021-02-02 04:49:47 UTC
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.

Comment 3 Fedora Update System 2021-02-23 23:21:01 UTC
FEDORA-2021-283c911677 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-283c911677

Comment 4 Fedora Update System 2021-02-24 19:17:22 UTC
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.

Comment 5 Fedora Update System 2021-02-24 21:57:04 UTC
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.

Comment 6 Dave King 2021-02-25 19:47:54 UTC
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.

Comment 7 Fedora Update System 2021-02-28 17:26:05 UTC
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.

Comment 8 Fedora Update System 2021-03-19 17:35:48 UTC
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.

Comment 9 Fedora Update System 2021-03-19 19:53:41 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.