public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "niteen.badhe at infosys dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug c++/26793] New: GDB is crashing with error ./../gdb-9.2/gdb/gdbtypes.c:922
Date: Tue, 27 Oct 2020 04:43:42 +0000	[thread overview]
Message-ID: <bug-26793-4717@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 26793
           Summary: GDB is crashing with error
                    ./../gdb-9.2/gdb/gdbtypes.c:922
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: niteen.badhe at infosys dot com
  Target Milestone: ---

GDB is crashing with the error below

: (609834) ->~"\nQuit this debugging session? "
1: (609834) ->~"(y or n) [answered Y; input not from terminal]\n"
1: (609834) ->&"\nThis is a bug, please report it."
1: (609834) ->&"  For instructions, see:\n"
1: (609835) ->&"<http://www.gnu.org/software/gdb/bugs/>.\n\n"
1: (609835) ->~"../../gdb-9.2/gdb/gdbtypes.c:922: internal-error: type*
create_range_type(type*, type*, const dynamic_prop*, const dynamic_prop*,
LONGEST): Assertion `TYPE_LENGTH (index_type) > 0' failed.\nA problem internal
to GDB has been detected,\nfurther debugging may prove unreliable."
1: (609835) ->~"\nCreate a core file of GDB? "
1: (609835) ->~"(y or n) [answered Y; input not from terminal]\n"
1: (594084) ->&"\n"
1: (594085) ->^done
1: (594085) ->(gdb)
1: (594088) ->1220^done,name="var47",numchild="1",value="{...}",type="const
tm",thread-id="1",has_more="0"
1: (594088) ->(gdb)
1: (594088) 1220: elapsed time 4
1: (594088) ->&"\n"
1: (594089) ->^done
1: (594089) ->(gdb)
1: (609822) <-1221-exec-next
1: (609826) ->1221^running
1: (609826) ->*running,thread-id="all"
1: (609826) 1221: elapsed time 4
1: (609826) ->(gdb)
1: (609834) ->~"../../gdb-9.2/gdb/gdbtypes.c:922: internal-error: type*
create_range_type(type*, type*, const dynamic_prop*, const dynamic_prop*,
LONGEST): Assertion `TYPE_LENGTH (index_type) > 0' failed.\nA problem internal
to GDB has been detected,\nfurther debugging may prove unreliable."
1: (609967) Shell exited, stop debugging
1: (609968) Send Event AD7MessageEvent
ERROR: GDB exited unexpectedly. Debugging will now abort.

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

             reply	other threads:[~2020-10-27  4:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-27  4:43 niteen.badhe at infosys dot com [this message]
2020-10-27  4:48 ` [Bug c++/26793] " niteen.badhe at infosys dot com
2020-10-27 11:59 ` simark at simark dot ca
2020-10-31 18:23 ` tromey at sourceware dot org

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=bug-26793-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /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).