From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>
To: Mark Geisert <mark@maxrnd.com>, "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: [EXTERNAL] Re: cygwin1.dll calls assert before cygwin command hangs
Date: Fri, 24 Mar 2023 03:32:44 +0000 [thread overview]
Message-ID: <DM8PR09MB7095A52F41202F7B9CC9E4BEA5849@DM8PR09MB7095.namprd09.prod.outlook.com> (raw)
In-Reply-To: <bd9bbb7a-c8bb-3f76-65e0-a03cc25299fc@maxrnd.com>
> Sorry, the second gdb command should be
> info line *__assert+0x42a4
> > (Note the change in symbol name: two "_" there)
>
I think it'd be easier to "catch" the problem rather than to chase it by running all commands under the debugger.
For that, define the CYGWIN environment variable (via Windows) as:
error_start=c:\cygwin64\bin\dumper.exe
(that assumes that Cygwin is installed at c:\cygwin64)
Then whenever the abort occurs, you'll have a core file, which can be loaded into GDB and the backtrace investigated.
Something like this:
$ gdb /path/to/command command.core
(gdb) where
My $.02,
Anton Lavrentiev
Contractor NIH/NLM/NCBI
prev parent reply other threads:[~2023-03-24 3:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-23 13:27 Derek Pagel
2023-03-23 21:45 ` Mark Geisert
2023-03-23 21:50 ` Mark Geisert
2023-03-24 3:32 ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] [this message]
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=DM8PR09MB7095A52F41202F7B9CC9E4BEA5849@DM8PR09MB7095.namprd09.prod.outlook.com \
--to=lavr@ncbi.nlm.nih.gov \
--cc=cygwin@cygwin.com \
--cc=mark@maxrnd.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).