public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/17708] New: GDB segfault when demangling symbol
@ 2014-12-12 20:27 sourceware at ca dot sh13.net
  2014-12-12 20:30 ` [Bug gdb/17708] " sourceware at ca dot sh13.net
  0 siblings, 1 reply; 2+ messages in thread
From: sourceware at ca dot sh13.net @ 2014-12-12 20:27 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 17708
           Summary: GDB segfault when demangling symbol
           Product: gdb
           Version: 7.8
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: sourceware at ca dot sh13.net

The demangler crashes on the following symbol
_ZN5nivenmlIfLi4EfEENS_5ColorIDTmlcvT__EcvT1__EEXT0_EEES3_RKNS1_IS2_XT0_EEE

This is probably a new mangling for the type mentioned in bug 17157 -- the
symbol name from bug 17157 is no longer generated by GCC 4.9.1/Clang 3.5. This
also crashes c++filt.

The type in question is (probably) this one:

    template <typename U>
    auto operator* (const U& rhs) const
        ->     typename cpp0x::enable_if<cpp0x::is_arithmetic<U>::value,
        const Color<decltype (U () * Type ()), Size> >::type

in a type template <typename Type> struct Color {};

-- 
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 gdb/17708] GDB segfault when demangling symbol
  2014-12-12 20:27 [Bug gdb/17708] New: GDB segfault when demangling symbol sourceware at ca dot sh13.net
@ 2014-12-12 20:30 ` sourceware at ca dot sh13.net
  0 siblings, 0 replies; 2+ messages in thread
From: sourceware at ca dot sh13.net @ 2014-12-12 20:30 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from sourceware at ca dot sh13.net ---
Or it's the division operator, which is defined equivalently (just replace *
with /)

-- 
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:[~2014-12-12 20:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-12 20:27 [Bug gdb/17708] New: GDB segfault when demangling symbol sourceware at ca dot sh13.net
2014-12-12 20:30 ` [Bug gdb/17708] " sourceware at ca dot sh13.net

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