public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/61233] New: Demangler crash
@ 2014-05-19 14:03 gbenson at redhat dot com
2014-05-22 15:10 ` [Bug other/61233] Demangler crash (GDB PR 16957) palves at redhat dot com
2014-05-27 12:01 ` palves at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: gbenson at redhat dot com @ 2014-05-19 14:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61233
Bug ID: 61233
Summary: Demangler crash
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: gbenson at redhat dot com
The demangler crashes when given this symbol:
_Z7ZipWithI7QStringS0_5QListZN4oral6detail16AdaptCreateTableI7AccountEES0_RKNS3_16CachedFieldsDataEEUlRKS0_SA_E_ET1_IDTclfp1_cvT__EcvT0__EEEERKT1_ISC_ERKT1_ISD_ET2_
See https://sourceware.org/bugzilla/show_bug.cgi?id=16957
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug other/61233] Demangler crash (GDB PR 16957)
2014-05-19 14:03 [Bug other/61233] New: Demangler crash gbenson at redhat dot com
@ 2014-05-22 15:10 ` palves at redhat dot com
2014-05-27 12:01 ` palves at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: palves at redhat dot com @ 2014-05-22 15:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61233
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palves at redhat dot com
--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
Looks like infinite recursion:
Program received signal SIGSEGV, Segmentation fault.
__IO_vsprintf (string=0x7fffff7ff1c0 "\340\361\177\377\377\177",
format=0xa1ef28 "%ld", args=args@entry=0x7fffff7ff0d8) at iovsprintf.c:39
39 _IO_no_init (&sf._sbf._f, _IO_USER_LOCK, -1, NULL, NULL);
(gdb) bt -1
#33416 0x000000000045dbd7 in main (argc=2, argv=0x7fffffffd928) at
../../src/gdb/gdb.c:33
(gdb) bt
#0 __IO_vsprintf (string=0x7fffff7ff1c0 "\340\361\177\377\377\177",
format=0xa1ef28 "%ld", args=args@entry=0x7fffff7ff0d8) at iovsprintf.c:39
#1 0x000000373bc52057 in __sprintf (s=<optimized out>, format=<optimized out>)
at sprintf.c:32
#2 0x000000000085392c in d_append_num (dpi=0x7fffffffa710, l=3) at
../../src/libiberty/cp-demangle.c:4022
#3 0x0000000000856691 in d_print_comp_inner (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb0f8) at ../../src/libiberty/cp-demangle.c:5309
#4 0x00000000008568be in d_print_comp (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb0f8) at ../../src/libiberty/cp-demangle.c:5362
#5 0x0000000000853e08 in d_print_subexpr (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb0f8) at ../../src/libiberty/cp-demangle.c:4222
#6 0x0000000000855e13 in d_print_comp_inner (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb218) at ../../src/libiberty/cp-demangle.c:5098
#7 0x00000000008568be in d_print_comp (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb218) at ../../src/libiberty/cp-demangle.c:5362
#8 0x000000000085650a in d_print_comp_inner (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb230) at ../../src/libiberty/cp-demangle.c:5270
#9 0x00000000008568be in d_print_comp (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb230) at ../../src/libiberty/cp-demangle.c:5362
#10 0x0000000000854883 in d_print_comp_inner (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb110) at ../../src/libiberty/cp-demangle.c:4531
#11 0x00000000008568be in d_print_comp (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb110) at ../../src/libiberty/cp-demangle.c:5362
#12 0x000000000085731f in d_print_cast (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb128) at ../../src/libiberty/cp-demangle.c:5748
#13 0x0000000000855b30 in d_print_comp_inner (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb158) at ../../src/libiberty/cp-demangle.c:5040
#14 0x00000000008568be in d_print_comp (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb158) at ../../src/libiberty/cp-demangle.c:5362
#15 0x0000000000855704 in d_print_comp_inner (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb170) at ../../src/libiberty/cp-demangle.c:4944
#16 0x00000000008568be in d_print_comp (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb170) at ../../src/libiberty/cp-demangle.c:5362
#17 0x0000000000853e08 in d_print_subexpr (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb170) at ../../src/libiberty/cp-demangle.c:4222
#18 0x0000000000855ef1 in d_print_comp_inner (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb218) at ../../src/libiberty/cp-demangle.c:5109
#19 0x00000000008568be in d_print_comp (dpi=0x7fffffffa710, options=259,
dc=0x7fffffffb218) at ../../src/libiberty/cp-demangle.c:5362
...
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug other/61233] Demangler crash (GDB PR 16957)
2014-05-19 14:03 [Bug other/61233] New: Demangler crash gbenson at redhat dot com
2014-05-22 15:10 ` [Bug other/61233] Demangler crash (GDB PR 16957) palves at redhat dot com
@ 2014-05-27 12:01 ` palves at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: palves at redhat dot com @ 2014-05-27 12:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61233
--- Comment #2 from Pedro Alves <palves at redhat dot com> ---
This fixes it:
https://gcc.gnu.org/ml/gcc-patches/2014-05/msg02279.html
See bug 61321.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-27 12:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-19 14:03 [Bug other/61233] New: Demangler crash gbenson at redhat dot com
2014-05-22 15:10 ` [Bug other/61233] Demangler crash (GDB PR 16957) palves at redhat dot com
2014-05-27 12:01 ` palves 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).