This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/68159] Demangler crash (GDB PR 19190)
- From: "fiesh at zefix dot tv" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Nov 2015 12:47:22 +0000
- Subject: [Bug c++/68159] Demangler crash (GDB PR 19190)
- Auto-submitted: auto-generated
- References: <bug-68159-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68159
fiesh at zefix dot tv changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fiesh at zefix dot tv
--- Comment #3 from fiesh at zefix dot tv ---
I ran into a problem that is possibly the same issue.
echo 'void
_ZSt7forwardIRKZN5Write14DataMapGrammarISt20back_insert_iteratorISsEEC4EvEUlRT_E_EOS5_RNSt16remove_referenceIS5_E4typeE()
{} int main() {}' | gcc -xc - -o /tmp/a.out && gdb /tmp/a.out
On gdb 7.9.1, 7.10, and 7.10.50.20151117-cvs, this results in
Reading symbols from /tmp/a.out...cp-support.c:1595: demangler-warning: unable
to demangle
'_ZSt7forwardIRKZN5Write14DataMapGrammarISt20back_insert_iteratorISsEEC4EvEUlRT_E_EOS5_RNSt16remove_referenceIS5_E4typeE'
(demangler failed with signal 11)
Unable to dump core, use `ulimit -c unlimited' before executing GDB next time.
cp-support.c:1608: demangler-warning: unable to demangle
'_ZSt7forwardIRKZN5Write14DataMapGrammarISt20back_insert_iteratorISsEEC4EvEUlRT_E_EOS5_RNSt16remove_referenceIS5_E4typeE'
(demangler failed with signal 11)
The binary was compiled with gcc 4.9.3. If it's a different problem, I'll open
up a separate ticket.