Bug 61460 - Demangler crash (GDB PR 17043)
Summary: Demangler crash (GDB PR 17043)
Alias: None
Product: gcc
Classification: Unclassified
Component: demangler (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
Depends on:
Blocks: 72822
  Show dependency treegraph
Reported: 2014-06-10 08:02 UTC by Gary Benson
Modified: 2016-12-18 22:35 UTC (History)
4 users (show)

See Also:
Known to work:
Known to fail:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description Gary Benson 2014-06-10 08:02:26 UTC
The demangler crashes when given this symbol:


See https://sourceware.org/bugzilla/show_bug.cgi?id=17043
Comment 1 Stephan Bergmann 2016-08-23 13:43:43 UTC
Experienced a similar c++filt SIGSEV (due to recursive stack overflow) now with the symbol


(also while debugging a process involving libMesaOpenCL; on Fedora 24).  Bug 70909 presumably discusses the root cause of these crashes.
Comment 2 Mark Wielaard 2016-11-19 12:25:08 UTC
Both symbols still crash the unwinder with current libiberty (gcc svn r242587).
Comment 3 Mark Wielaard 2016-12-04 23:29:24 UTC
The patch proposed in bug #70909 does prevent the infinite recursiong crashing the demangler. But it doesn't demangle the symbol (just rejects it).