public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15207] New: Crash at cp-name-parser.y:220
@ 2013-02-27  7:04 kyndigen at gmail dot com
  2013-02-27  7:19 ` [Bug c++/15207] " jan.kratochvil at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: kyndigen at gmail dot com @ 2013-02-27  7:04 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/15207] Crash at cp-name-parser.y:220
  2013-02-27  7:04 [Bug c++/15207] New: Crash at cp-name-parser.y:220 kyndigen at gmail dot com
@ 2013-02-27  7:19 ` jan.kratochvil at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: jan.kratochvil at redhat dot com @ 2013-02-27  7:19 UTC (permalink / raw)
  To: gdb-prs

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

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jan.kratochvil at redhat
                   |                            |dot com
         Resolution|                            |FIXED
   Target Milestone|---                         |7.6

--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2013-02-27 07:19:06 UTC ---
Reproducible with 7.5.1.20130125-cvs.
No longer reproducible with 7.5.50.20130227-cvs.
There were some fixes in libiberty/ demangler from GCC.

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-27  7:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-27  7:04 [Bug c++/15207] New: Crash at cp-name-parser.y:220 kyndigen at gmail dot com
2013-02-27  7:19 ` [Bug c++/15207] " jan.kratochvil at redhat dot com

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