public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ariel Burbaickij <ariel.burbaickij@gmail.com>
To: Jon Turney <jon.turney@dronecode.org.uk>
Cc: The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: dumper does not dump
Date: Wed, 22 Jun 2022 10:49:38 +0200	[thread overview]
Message-ID: <CANeJNHr-DgdM9h=pNPaPQcB44Jds2tNbcAU1Yw=n5Mxk_n_qHg@mail.gmail.com> (raw)
In-Reply-To: <703a2749-e144-8264-4001-4bdc9056445c@dronecode.org.uk>

> Can you point out what documentation mentions that so we can fix it!
The very source of it:
https://sourceware.org/legacy-ml/cygwin-patches/2000-q3/msg00041.html ;-).

OK, yes, I see that -c is not there anymore -- the things, they are
changing.  Let me try what you suggest and see where it brings me.

Kind Regards
Ariel Burbaickij




Have just followed what is there.



On Wed, Jun 22, 2022 at 10:38 AM Jon Turney <jon.turney@dronecode.org.uk>
wrote:

> On 22/06/2022 08:19, Ariel Burbaickij wrote:
> > Hello cygwin group,
> > I am facing the following issue:
> > there is GTK application reproducibly "core dumping"  (in quotation marks
> > because so far there is no comfortable core file that we know and learnt
> to
> > love from native *NIX, of course) upon me selecting a certain menu entry.
> > Now, I went and enabled dumper (version 3.3.5) by means of setting CYGWIN
> > environment variable to
> >
> > error_start=c:\cygwin64\bin\dump.cmd
> >
> > with backslashes properly escaped and dump.cmd  set to:
> > c:\cygwin64\bin\dumper.exe -d -c %1 %2
>
> '-c' is not a valid option for dumper.
>
> Can you point out what documentation mentions that so we can fix it!
>
> It's awkward because a new terminal is started for dumper, which
> disappears almost immediately, but if you add 'pause' at the end of your
> .cmd file, you should see it.
>
> But I think you are overcomplicating things here: 'export
> CYGWIN=error_start=dumper' should work (or even 'error_start=gdb' if
> you're just going to load the core dump into gdb afterwards...)
>
> > I am on Windows 10 here.
> >
> > Now, all I get for it is following:
> >
> > *** starting debugger for pid 2876, tid 16112
> >
> > after which it hangs indefinitely and nothing more happens.
>
> Cygwin is waiting for the debugger to attach, indefinitely since it
> never happens here.
>
> > Any ideas, suggestions how to move on here ?
>

      reply	other threads:[~2022-06-22  8:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-22  7:19 Ariel Burbaickij
2022-06-22  8:38 ` Jon Turney
2022-06-22  8:49   ` Ariel Burbaickij [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='CANeJNHr-DgdM9h=pNPaPQcB44Jds2tNbcAU1Yw=n5Mxk_n_qHg@mail.gmail.com' \
    --to=ariel.burbaickij@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=jon.turney@dronecode.org.uk \
    /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).