public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "kyndigen at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug c++/15207] New: Crash at cp-name-parser.y:220
Date: Wed, 27 Feb 2013 07:04:00 -0000	[thread overview]
Message-ID: <bug-15207-4717@http.sourceware.org/bugzilla/> (raw)

http://sourceware.org/bugzilla/show_bug.cgi?id=15207

             Bug #: 15207
           Summary: Crash at cp-name-parser.y:220
           Product: gdb
           Version: 7.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: kyndigen@gmail.com
    Classification: Unclassified


Created attachment 6904
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6904
Testcase to reproduce the crash.

GDB crashes when demangling template functions that involve sizeof() in their
names.

Crash message:
cp-name-parser.y:220: internal-error: make_operator: Assertion `i' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

Platform: Gentoo Linux

Version: GNU gdb (Gentoo 7.5.1 p2) 7.5.1

GCC Version: gcc (Gentoo 4.6.3 p1.6, pie-0.5.2) 4.6.3

Testcase is attached.  I will add a follow-up post if I find an easy
workaround.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


             reply	other threads:[~2013-02-27  7:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27  7:04 kyndigen at gmail dot com [this message]
2013-02-27  7:19 ` [Bug c++/15207] " jan.kratochvil at redhat dot com

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-15207-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).