Fatal Python error: Illegal instruction #458

Closed
opened 2021-10-16 23:03:21 +00:00 by bjo · 2 comments

What I'm trying to do and why

Steps to reproduce (if a bug)

Usual run.

Actual behavior (if a bug)

/etc/borgmatic.d/borgbase.yaml: Running command for pre-backup hook
echo "`date` - Starting a backup job."
Sun Oct 17 00:16:44 CEST 2021 - Starting a backup job.
/etc/borgmatic.d/borgbase.yaml: No commands to run for pre-check hook
abc123@abc123.repo.borgbase.com:repo: Pruning archives
borg prune --keep-daily 7 --keep-weekly 4 --keep-monthly 0 --keep-yearly 0 --prefix {hostname}- --umask 77 --stats --debug --show-rc abc123@abc123.repo.borgbase.com:repo
using builtin fallback logging configuration
35 self tests completed in 0.49 seconds
SSH command line: ['ssh', 'abc123@abc123.repo.borgbase.com', 'borg', 'serve', '--umask=077', '--debug']
Remote: using builtin fallback logging configuration
Remote: 35 self tests completed in 0.06 seconds
Remote: using builtin fallback logging configuration
Remote: Initialized logging system for JSON-based protocol
Remote: Resolving repository path b'repo'
Remote: Resolved repository path to '/srv/repos/abc123/repo'
Remote: Verified integrity of /srv/repos/abc123/repo/index.957
TAM-verified manifest
Killed stale lock sub.domain.net@217839556165686.7012-0.
Removed stale exclusive roster lock for host sub.domain.net@217839556165686 pid 7012 thread 0.
Removed stale exclusive roster lock for host sub.domain.net@217839556165686 pid 7012 thread 0.
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
Verified integrity of /root/.cache/borg/5d2687edc800ec4530d00492da840563494ebab21ff665bbfb195c09d489d088/chunks
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
------------------------------------------------------------------------------
                       Original size      Compressed size    Deduplicated size
Deleted data:                    0 B                  0 B                  0 B
All archives:               16.28 MB              4.76 MB            762.07 kB
                       Unique chunks         Total chunks
Chunk index:                     407                 3872
------------------------------------------------------------------------------
RemoteRepository: 213 B bytes sent, 3.22 kB bytes received, 5 messages sent
terminating with success status, rc 0
abc123@abc123.repo.borgbase.com:repo: Creating archive
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 > 
using builtin fallback logging configuration
35 self tests completed in 0.46 seconds
SSH command line: ['ssh', 'abc123@abc123.repo.borgbase.com', 'borg', 'serve', '--umask=077', '--debug']
Remote: using builtin fallback logging configuration
Remote: 35 self tests completed in 0.06 seconds
Remote: using builtin fallback logging configuration
Remote: Initialized logging system for JSON-based protocol
Remote: Resolving repository path b'repo'
Remote: Resolved repository path to '/srv/repos/abc123/repo'
Remote: Verified integrity of /srv/repos/abc123/repo/index.957
TAM-verified manifest
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
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."
Sun Oct 17 00:16:48 CEST 2021 - Error while creating a backup.
/etc/borgmatic.d/borgbase.yaml: Error running configuration file

Expected behavior (if a bug)

No Crash.

Other notes / implementation ideas

No issues on Arch.

Environment

borgmatic version: 1.5.20

borgmatic installation method: Alpine Package

Borg version: 1.1.17

Python version: 3.9.7

operating system and version: Alpine Edge

#### What I'm trying to do and why #### Steps to reproduce (if a bug) Usual run. #### Actual behavior (if a bug) ``` /etc/borgmatic.d/borgbase.yaml: Running command for pre-backup hook echo "`date` - Starting a backup job." Sun Oct 17 00:16:44 CEST 2021 - Starting a backup job. /etc/borgmatic.d/borgbase.yaml: No commands to run for pre-check hook abc123@abc123.repo.borgbase.com:repo: Pruning archives borg prune --keep-daily 7 --keep-weekly 4 --keep-monthly 0 --keep-yearly 0 --prefix {hostname}- --umask 77 --stats --debug --show-rc abc123@abc123.repo.borgbase.com:repo using builtin fallback logging configuration 35 self tests completed in 0.49 seconds SSH command line: ['ssh', 'abc123@abc123.repo.borgbase.com', 'borg', 'serve', '--umask=077', '--debug'] Remote: using builtin fallback logging configuration Remote: 35 self tests completed in 0.06 seconds Remote: using builtin fallback logging configuration Remote: Initialized logging system for JSON-based protocol Remote: Resolving repository path b'repo' Remote: Resolved repository path to '/srv/repos/abc123/repo' Remote: Verified integrity of /srv/repos/abc123/repo/index.957 TAM-verified manifest Killed stale lock sub.domain.net@217839556165686.7012-0. Removed stale exclusive roster lock for host sub.domain.net@217839556165686 pid 7012 thread 0. Removed stale exclusive roster lock for host sub.domain.net@217839556165686 pid 7012 thread 0. 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 Verified integrity of /root/.cache/borg/5d2687edc800ec4530d00492da840563494ebab21ff665bbfb195c09d489d088/chunks 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 ------------------------------------------------------------------------------ Original size Compressed size Deduplicated size Deleted data: 0 B 0 B 0 B All archives: 16.28 MB 4.76 MB 762.07 kB Unique chunks Total chunks Chunk index: 407 3872 ------------------------------------------------------------------------------ RemoteRepository: 213 B bytes sent, 3.22 kB bytes received, 5 messages sent terminating with success status, rc 0 abc123@abc123.repo.borgbase.com:repo: Creating archive 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 > using builtin fallback logging configuration 35 self tests completed in 0.46 seconds SSH command line: ['ssh', 'abc123@abc123.repo.borgbase.com', 'borg', 'serve', '--umask=077', '--debug'] Remote: using builtin fallback logging configuration Remote: 35 self tests completed in 0.06 seconds Remote: using builtin fallback logging configuration Remote: Initialized logging system for JSON-based protocol Remote: Resolving repository path b'repo' Remote: Resolved repository path to '/srv/repos/abc123/repo' Remote: Verified integrity of /srv/repos/abc123/repo/index.957 TAM-verified manifest 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 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." Sun Oct 17 00:16:48 CEST 2021 - Error while creating a backup. /etc/borgmatic.d/borgbase.yaml: Error running configuration file ``` #### Expected behavior (if a bug) No Crash. #### Other notes / implementation ideas No issues on Arch. #### Environment **borgmatic version:** 1.5.20 **borgmatic installation method:** Alpine Package **Borg version:** 1.1.17 **Python version:** 3.9.7 **operating system and version:** Alpine Edge
Author

Seems to be a borg issue.

Seems to be a borg issue.
bjo closed this issue 2021-10-16 23:07:54 +00:00
Owner

Yikes, yeah! Looks like the error is coming from within Borg. If you file a Borg ticket for it, feel free to link it here. In my experience, "illegal instruction" could mean that it's a binary for the incorrect platform.

Yikes, yeah! Looks like the error is coming from within Borg. If you file a Borg ticket for it, feel free to link it here. In my experience, "illegal instruction" *could* mean that it's a binary for the incorrect platform.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#458
No description provided.