Bug 2489307 - Apptainer persistently segfaults during SIF file compression using mksquashfs
Summary: Apptainer persistently segfaults during SIF file compression using mksquashfs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: apptainer
Version: 44
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Dave Dykstra
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-16 16:18 UTC by Alex Maiorov
Modified: 2026-07-03 01:46 UTC (History)
2 users (show)

Fixed In Version: apptainer-1.5.2-1.el10_3 apptainer-1.5.2-1.el10_2 apptainer-1.5.2-1.fc44 apptainer-1.5.2-1.fc43 apptainer-1.5.2-1.el9 apptainer-1.5.2-1.el8
Clone Of:
Environment:
Last Closed: 2026-07-03 00:29:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Def file I used to test this. (1.09 KB, text/plain)
2026-06-16 16:18 UTC, Alex Maiorov
no flags Details

Description Alex Maiorov 2026-06-16 16:18:58 UTC
Created attachment 2145571 [details]
Def file I used to test this.

Description of problem:
Building any apptainer container seems to segfault. I at first thought this was an issue specific to my specific usecase, but it seems to also happen in an isolated test case, and also on a clean virtual machine of fedora 44 as well. 

Version-Release number of selected component (if applicable): 
1.5.1-1.fc44


How reproducible:
Build any large/complex container, example script attached. Happens most of the time, the larger the image the higher the likelihood. 

Steps to Reproduce:
1. Build any large container
2. Observe Segmentation Fault

Actual results:
segmentation fault

Expected results:
success

Additional info:
I can upload the core dump as well if there is a large file upload functionality somewhere.

Comment 1 Dave Dykstra 2026-06-16 16:29:06 UTC
Yes, I'm sorry about that.  It's a known problem that will be fixed in 1.5.2.  It happens intermittently when there are more than 2 cores. Workarounds include downgrading to 1.4.5 and setting an environment variable APPTAINER_IGNORE_PROOT=1.  See https://github.com/apptainer/apptainer/issues/3560 for more details.

Comment 2 Alex Maiorov 2026-06-16 16:45:15 UTC
The workaround works, thank you! Best of luck with fixing the issue, I will leave this open so that I(or anyone else interested) get emailed when the fix makes its way into Fedora 44.

Comment 3 Fedora Update System 2026-06-24 14:50:36 UTC
FEDORA-EPEL-2026-5bc6e2193f (apptainer-1.5.2-1.el10_2) has been submitted as an update to Fedora EPEL 10.2.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-5bc6e2193f

Comment 4 Fedora Update System 2026-06-24 14:50:38 UTC
FEDORA-2026-ca1825e29e (apptainer-1.5.2-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ca1825e29e

Comment 5 Fedora Update System 2026-06-24 14:50:40 UTC
FEDORA-EPEL-2026-e8340eb1a0 (apptainer-1.5.2-1.el10_3) has been submitted as an update to Fedora EPEL 10.3.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-e8340eb1a0

Comment 6 Fedora Update System 2026-06-24 14:50:40 UTC
FEDORA-2026-f8ab642466 (apptainer-1.5.2-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-f8ab642466

Comment 7 Fedora Update System 2026-06-24 14:50:42 UTC
FEDORA-EPEL-2026-9a3215e0f8 (apptainer-1.5.2-1.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-9a3215e0f8

Comment 8 Fedora Update System 2026-06-25 16:31:16 UTC
FEDORA-2026-ca1825e29e has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-ca1825e29e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-ca1825e29e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-06-25 16:35:24 UTC
FEDORA-EPEL-2026-e8340eb1a0 has been pushed to the Fedora EPEL 10.3 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-e8340eb1a0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2026-06-25 16:41:01 UTC
FEDORA-EPEL-2026-fc0e292ce7 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-fc0e292ce7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2026-06-25 16:41:39 UTC
FEDORA-EPEL-2026-5bc6e2193f has been pushed to the Fedora EPEL 10.2 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-5bc6e2193f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2026-06-25 16:53:10 UTC
FEDORA-EPEL-2026-9a3215e0f8 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-9a3215e0f8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2026-06-25 16:55:00 UTC
FEDORA-2026-f8ab642466 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-f8ab642466`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-f8ab642466

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2026-07-03 00:29:13 UTC
FEDORA-EPEL-2026-e8340eb1a0 (apptainer-1.5.2-1.el10_3) has been pushed to the Fedora EPEL 10.3 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2026-07-03 00:39:37 UTC
FEDORA-EPEL-2026-5bc6e2193f (apptainer-1.5.2-1.el10_2) has been pushed to the Fedora EPEL 10.2 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2026-07-03 00:55:46 UTC
FEDORA-2026-ca1825e29e (apptainer-1.5.2-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2026-07-03 01:09:37 UTC
FEDORA-2026-f8ab642466 (apptainer-1.5.2-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2026-07-03 01:45:13 UTC
FEDORA-EPEL-2026-fc0e292ce7 (apptainer-1.5.2-1.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2026-07-03 01:46:47 UTC
FEDORA-EPEL-2026-9a3215e0f8 (apptainer-1.5.2-1.el8) has been pushed to the Fedora EPEL 8 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.