This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15207] New: Crash at cp-name-parser.y:220


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]