[Bug gdb/29513] New: gdb itself crashes under Cygwin in the middle of debugging session on an application

ariel.burbaickij at gmail dot com sourceware-bugzilla@sourceware.org
Tue Aug 23 08:29:33 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=29513

            Bug ID: 29513
           Summary: gdb itself crashes under Cygwin in the middle of
                    debugging session on an application
           Product: gdb
           Version: 12.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: ariel.burbaickij at gmail dot com
  Target Milestone: ---

I was debugging an application under Cygwin with gdb-12.1 when following
happened to gdb itself:


1048          void* __place = _Raw_bytes_alloc(__alloc).allocate(__size);
(gdb) s
__gnu_cxx::new_allocator<char>::allocate (__n=85, this=<optimized out>)
    at
/usr/src/debug/gcc-11.3.0-1/x86_64-pc-cygwin/libstdc++-v3/include/ext/new_allocator.h:103
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-12.1-1.x86_64/src/gdb-12.1/gdb/infrun.c:2553:
internal-error: resume_1: Assertion `pc_in_thread_step_range (pc, tp)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
----- Backtrace -----
---------------------
/cygdrive/d/a/scallywag/gdb/gdb-12.1-1.x86_64/src/gdb-12.1/gdb/infrun.c:2553:
internal-error: resume_1: Assertion `pc_in_thread_step_range (pc, tp)' failed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list