This may have been done to death before.... bear with me. Have searched around a fair bit for the meaning of "error codes", as in the ubiquitous "Aiieee! 10318 exited with error code: 138" Can anybody direct me to a repository where these specific errors are documented, what they mean, and how many there might be? (My memories of shelves full of books of documentation, and the biblical "System Error Messages and Codes", are receding even as mainframes wisp away into the mists of Avalonic myth). cheers Graham
Graham King writes:
This may have been done to death before.... bear with me.
Have searched around a fair bit for the meaning of "error codes", as in the ubiquitous "Aiieee! 10318 exited with error code: 138" These are Unix (Posix) exit codes. They are described in the Unix documentation, probably with the "wait" function.
The lower 7 bits code a signal, bit 7 indicates that a core has been written. Bit 8 to 15 is the exit code given to "exit". In your case above, your program was terminated by signal 10 (bit 0 to 6), a core file has been written (bit 7 set). Dieter
participants (2)
-
Dieter Maurer -
Graham King