-
Notifications
You must be signed in to change notification settings - Fork 13
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
clingo-dl terminates with exit code 33 upon bad_alloc exception #19
Comments
Yes, it should not exit with code 33. I don't think that a combination of ALLOPT and INT ever makes sense. Can you also post the output? |
gives the output
|
Actually, this is not a bug. Please check potassco/clasp#42 for how to interpret the exit codes. I'll leave the issue in the guide open because we should document this at some point. |
clingo-dl returns 33 after showing the error message std::bad_alloc because memory was exhausted and without enumerating any solution. Maybe it should return just 1 (interrupted)?
Related is #18. An exit code of 33 means that all optimal solutions were found and the run was interrupted (see 3. Exit Code Bit Encoding - bits ALLOPT and INT in https://www.mat.unical.it/aspcomp2013/files/aspoutput.txt).
The text was updated successfully, but these errors were encountered: