community/borgbackup: crashes with "Fatal Python error: Illegal instruction" due to "libc.llistxattr(path, buf, size)"
Borg crashes when trying to create an archive, running on Alpine Edge on a KVM x86_64 box:
Creating archive at
"abc123@abc123.repo.borgbase.com:repo::{hostname}-{now:%Y-%m-%dT%H:%M:%S.%f}"
Verified integrity of
/root/.cache/borg/5d2687edc800ec4530d00492da840563494ebab21ff665bbfb195c09d489d088/chunks
Reading files cache ...
Verified integrity of
/root/.cache/borg/5d2687edc800ec4530d00492da840563494ebab21ff665bbfb195c09d489d088/files
security: read previous location
'ssh://abc123@abc123.repo.borgbase.com/./repo'
security: read manifest timestamp '2021-10-15T22:00:04.204946'
security: determined newest manifest timestamp as 2021-10-15T22:00:04.204946
security: repository checks ok, allowing access
Processing files ...
Fatal Python error: Illegal instruction
Current thread 0x00007ff5c7e27b48 (most recent call first):
File "/usr/lib/python3.9/site-packages/borg/xattr.py", line 219 in func
File "/usr/lib/python3.9/site-packages/borg/xattr.py", line 160 in
_listxattr_inner
File "/usr/lib/python3.9/site-packages/borg/xattr.py", line 221 in
listxattr
File "/usr/lib/python3.9/site-packages/borg/xattr.py", line 50 in get_all
File "/usr/lib/python3.9/site-packages/borg/archive.py", line 916 in
stat_ext_attrs
File "/usr/lib/python3.9/site-packages/borg/archive.py", line 928 in
stat_attrs
File "/usr/lib/python3.9/site-packages/borg/archive.py", line 953 in
process_dir
File "/usr/lib/python3.9/site-packages/borg/archiver.py", line 668 in
_process
File "/usr/lib/python3.9/site-packages/borg/archiver.py", line 556 in
create_inner
File "/usr/lib/python3.9/site-packages/borg/archiver.py", line 598 in
do_create
File "/usr/lib/python3.9/site-packages/borg/archiver.py", line 177 in
wrapper
File "/usr/lib/python3.9/site-packages/borg/archiver.py", line 4635
in run
File "/usr/lib/python3.9/site-packages/borg/archiver.py", line 4703
in main
File "/usr/bin/borg", line 33 in <module>
abc123@abc123.repo.borgbase.com:repo: Error running actions for repository
Command 'borg create --exclude-from /tmp/tmpbxadh_kj --exclude-caches
--exclude-if-present .nobackup --compression auto,zstd --one-file-system
--files-cache ctime,size,inode --umask 77 --stats --debug --show-rc
--progress
abc123@abc123.repo.borgbase.com:repo::{hostname}-{now:%Y-%m-%dT%H:%M:%S.%f}
/etc /home /usr/local/bin' died with <Signals.SIGILL: 4>.
/etc/borgmatic.d/borgbase.yaml: Running command for on-error hook
echo "`date` - Error while creating a backup."
The coressponding function is
return libc.llistxattr(path, buf, size)
https://github.com/borgbackup/borg/blob/1.1.17/src/borg/xattr.py#L219
The issues occurs since some days, but borg and musl updates are some weeks ago, so I have no clue why it appears.