Snapcraft 4.5.1 - cannot pack “/data/prime”: mksquashfs call failed: signal: segmentation fault (core dumped)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Since 4.5.1 was released builds of arm64 have been failing with the error below. Builds of amd64 and armhf seem unaffected with the same snapcraft.yaml file. This effects 2 projects that I work with.
The snapcraft build files can be found:
https:/
https:/
```
Sorry, an error occurred in Snapcraft:
Failed to create snap, snap command failed:
stdout:
stderr:
error: cannot pack "/data/prime": mksquashfs call failed: signal: segmentation fault (core dumped)
We would appreciate it if you anonymously reported this issue.
No other data than the traceback and the version of snapcraft in use will be sent.
Would you like to send this error data? (Yes/No/
```
-- added by diddledan:
This is reproducible locally in docker for an affected app with diddledan's snapcraft container image using the following steps:
1. edit /etc/docker/
2. if you changed daemon.json restart your docker daemon, e.g.:
systemctl restart snap.docker.
3. docker run --rm --privileged tonistiigi/
4. sudo mkdir /sys/kernel/
5. docker run --rm -it --platform=
6. sudo rmdir /sys/kernel/
The container image is built using diddledan's code at https:/
Changed in snapcraft: | |
status: | Incomplete → Triaged |
affects: | snapcraft → snapd |
Thanks for the report. I would need some more information order to correctly triage:
- how snapcraft was invoked
- host system this was run on
- version of snapd
- is this CI, are there CI build logs accessible?
If running with "snapcraft --debug", does running "snap pack prime" cause the same segmentation fault?