Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-zero exit status -11 #373

Closed
abclution opened this issue Jan 16, 2016 · 7 comments
Closed

non-zero exit status -11 #373

abclution opened this issue Jan 16, 2016 · 7 comments

Comments

@abclution
Copy link

Command '('attic', 'create', '/BACKUPS/motherbrain.office.group.com-attic-repo::pm1-2016-01-16T10:59:44.511694', '/', '/volumes/mypool-8tb/SCRIPTS', '/volumes/mypool-8tb/Q-Drive', '/volumes/mypool-8tb/H-Drive', '', '/volumes/mypool-8tb/P-Drive', '/volumes/mypool-8tb/Dropbox', '--exclude-from', '/etc/atticmatic/excludes', '--verbose', '--stats')' returned non-zero exit status -11

Soooo, what does this mean? This happens every time at a specific point in the backup in the same folder..

@ThomasWaldmann
Copy link
Contributor

not sure, but iirc attic only uses 0 (ok) and 1 (error).

so maybe this is caused by an external signal?

-11 sounds a bit like signal 11, but the docs say, that should be rather exit code 128+11 = 139 (or -117 if interpreted as signed int8). Following that logic, -11 == 245 == 128+117 == signal 117 (which is not known to mean anything special, afaik).

@enkore
Copy link

enkore commented Apr 10, 2016

-11 is SIGSEGV, which Attic/Borg can't catch in Python-space: some C code crashed.

@ThomasWaldmann
Copy link
Contributor

@enkore is it really? do you know why that does not follow the 128+11 rule?

@enkore
Copy link

enkore commented Apr 10, 2016

I think the 128+SIGNAL rule is something the shell does, not the called process ... this doesn't look like the output comes from a shell. E.g. if you have a process that does a SIGSEGV and you run it with something like Python subprocess you'll see -11, not 139.

@blueness
Copy link

let's get a trace and see where it dies.

@ThomasWaldmann
Copy link
Contributor

ThomasWaldmann commented Apr 17, 2016

tw@tux:~$ sleep 1000  # now i used kill -SIGSEGV PID-of-sleep in another window
Speicherzugriffsfehler (Speicherabzug geschrieben)
tw@tux:~$ echo $?
139

and

>>> subprocess.call(["sleep", "1000"])  # now i used kill -SIGSEGV PID-of-sleep in another window
-11

@ThomasWaldmann
Copy link
Contributor

@abclution so, you invoke attic from python / from a python tool? or some other wrapper that is not a shell?

if so, I guess you can close this. SIGSEGV is a serious error, often caused by hardware malfunctioning, attic can't do much against this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants