Revision 1 as of 2017-11-30 11:28:23

Clear message

Back to HomePage.

Exit Codes

We use the following exit codes, listing the names as used in src/search/utils/system.h and driver/returncodes.py. They are grouped in four blocks.

The first block (0-9) represents succesful termination of a component which does not prevent the execution of further components.

Code

Name

Meaning

0

SUCCESS

All run components successfully terminated (translator: completed, search: found a plan, validate: validated a plan)

1

SEARCH_PLAN_FOUND_AND_OUT_OF_MEMORY

Only for portfolios: at least one plan was found and another component ran out of memory.

2

SEARCH_PLAN_FOUND_AND_OUT_OF_TIME

Only for portfolios: at least one plan was found and another component ran out of time.

3

SEARCH_PLAN_FOUND_AND_OUT_OF_MEMORY_AND_TIME

Only for portfolios: at least one plan was found, another component ran out of memory, and yet another one ran out of time.

The second block (10-19) represents unsuccesful, but error-free termination which prevents the execution further components

10

TRANSLATE_UNSOLVABLE

Translator proved task to be unsolvable. Currently not used

11

SEARCH_UNSOLVABLE

Task is provably unsolvable with current bound. Currently only used by hillclimbing search. See also issue377.

12

SEARCH_UNSOLVED_INCOMPLETE

Search ended without finding a solution.

The third block (20-29) represents expected failures which prevents the execution further components

20

TRANSLATE_OUT_OF_MEMORY

Memory exhausted.

21

TRANSLATE_OUT_OF_TIME

Time exhausted. Currently not used.

232

TRANSLATE_SIGXCPU

Time exhausted. Only supported under Linux

22

SEARCH_OUT_OF_MEMORY

Memory exhausted.

23

SEARCH_OUT_OF_TIME

Timeout occured. Only returned by portfolios.

-24

SEARCH_SIGXCPU

Timeout occured. Only supported under Linux and only returned by non-portfolios.

23

SEARCH_OUT_OF_MEMORY_AND_TIME

Only returned by portfolios if one component ran out of memory and another one out of time.

The fourth block (30-39) represents unrecoverable failures which prevents the execution further components

30

TRANSLATE_CRITICAL_ERROR

Critical error: something went wrong (e.g. translator bug, but also malformed PDDL input)

31

TRANSLATE_INPUT_ERROR

Usage error: wrong command line options

32

SEARCH_CRITICAL_ERROR

Something went wrong that should not have gone wrong (e.g. planner bug).

33

SEARCH_INPUT_ERROR

Wrong command line options or SAS+ file.

34

SEARCH_UNSUPPORTED

Requested unsupported feature.