From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: [EXTERNAL] Unexpected zero return code from `throw std::runtime_error`
Date: Sat, 2 Jul 2022 15:56:09 +0000 [thread overview]
Message-ID: <DM8PR09MB7095BBAF22051B75E7DBDE66A5BC9@DM8PR09MB7095.namprd09.prod.outlook.com> (raw)
In-Reply-To: <20220702132158.g6u7wo2lnokgezoc@lucy.dinwoodie.org>
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
next prev parent reply other threads:[~2022-07-02 15:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-02 13:21 Adam Dinwoodie
2022-07-02 14:14 ` Joost Kraaijeveld
2022-07-02 14:29 ` Adam Dinwoodie
2022-07-02 15:56 ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] [this message]
2022-07-02 20:19 ` Csaba Raduly
2022-07-02 21:34 ` Adam Dinwoodie
2022-07-02 22:37 ` Csaba Raduly
2022-07-03 14:35 ` Adam Dinwoodie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DM8PR09MB7095BBAF22051B75E7DBDE66A5BC9@DM8PR09MB7095.namprd09.prod.outlook.com \
--to=lavr@ncbi.nlm.nih.gov \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).