public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: Ariel Burbaickij <ariel.burbaickij@gmail.com>,
	The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: gdb itself core dumps
Date: Sun, 26 Jun 2022 14:58:19 +0100	[thread overview]
Message-ID: <2b8a6f98-baa9-6ff4-e762-003958eb880c@dronecode.org.uk> (raw)
In-Reply-To: <CANeJNHpPXPr+oBxDQk1cyHh+a1+s2CUL_EhmPxpawT32BNrQUw@mail.gmail.com>

On 24/06/2022 15:13, Ariel Burbaickij wrote:
> Hello mailing list,
> 
> I was in the middle of deep debugging session when following happened:
> 
> 103           allocate(size_type __n, const void* = static_cast<const
> void*>(0))
> (gdb) s
> __wrap__Znwm (sz=85) at
> /usr/src/debug/cygwin-3.3.5-1/winsup/cygwin/libstdcxx_wrapper.cc:55
> 55        return (*user_data->cxx_malloc->oper_new) (sz);
> (gdb) s
> /cygdrive/d/a/scallywag/gdb/gdb-11.2-1.x86_64/src/gdb-11.2/gdb/infrun.c:2550:
> internal-error: void resume_1(gdb_signal): Assertion
> `pc_in_thread_step_range (pc, tp)' failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> ...
> application level programm (open source under GNU) from which I stepped
> into allocator crashes also somewhere near, so right now I am not sure what
> exactly gdb stumbles upon. GDB Core file is available. How do we proceed
> from here ?

In the first place, please try the gdb 12.1 test package (available 
through cygwin setup).

If that doesn't improve matters, some details about how to (simply) 
reproduce the problem would be nice.


  reply	other threads:[~2022-06-26 13:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 14:13 Ariel Burbaickij
2022-06-26 13:58 ` Jon Turney [this message]
2022-06-27  5:25   ` Ariel Burbaickij
2022-06-27 11:46   ` Ariel Burbaickij
2022-07-01  8:50     ` Ariel Burbaickij

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=2b8a6f98-baa9-6ff4-e762-003958eb880c@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=ariel.burbaickij@gmail.com \
    --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).