[EXTERNAL] Unexpected zero return code from `throw std::runtime_error`
Lavrentiev, Anton (NIH/NLM/NCBI) [C]
lavr@ncbi.nlm.nih.gov
Sat Jul 2 15:56:09 GMT 2022
Looks like your program does not throw an exception on Cygwin (unlike it does on Debian),
so it terminates normally, and the exit code 0 is not unexpected. Debian's version
calls abort() and that sends a signal and terminates with a code 128+signal#, and
SIGABRT=6, so 134 is the expected result.
Anton Lavrentiev
Contractor NIH/NLM/NCBI
More information about the Cygwin
mailing list