public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/65732] New: stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_
@ 2015-04-10 16:23 trippels at gcc dot gnu.org
  2015-04-20 18:12 ` [Bug other/65732] " trippels at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-04-10 16:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65732

            Bug ID: 65732
           Summary: stack overflow while demangling
                    _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: spoo at zarbosoft dot com

% c++filt _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_
[1]    5050 segmentation fault
...
#58191 0x00007ffff7f9ffea in d_print_subexpr () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58192 0x00007ffff7f9af72 in d_print_comp_inner () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58193 0x00007ffff7f9ea44 in d_print_comp () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58194 0x00007ffff7f9cbb8 in d_print_comp_inner () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58195 0x00007ffff7f9ea44 in d_print_comp () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58196 0x00007ffff7f9b90c in d_print_comp_inner () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58197 0x00007ffff7f9ea44 in d_print_comp () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58198 0x00007ffff7f9c819 in d_print_comp_inner () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58199 0x00007ffff7f9ea44 in d_print_comp () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58200 0x00007ffff7f9dd94 in d_print_comp_inner () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58201 0x00007ffff7f9ea44 in d_print_comp () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58202 0x00007ffff7f9de8c in d_print_comp_inner () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58203 0x00007ffff7fa34cb in cplus_demangle_print_callback () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58204 0x00007ffff7fa37af in d_demangle_callback () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58205 0x00007ffff7fa39b9 in d_demangle () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58206 0x00007ffff7fa3b0e in cplus_demangle_v3 () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58207 0x00007ffff7f95044 in cplus_demangle () from
/usr/lib64/binutils/x86_64-pc-linux-gnu/git/libbfd-2.25.51.20150328.so
#58208 0x0000000000401f44 in demangle_it ()
#58209 0x0000000000401bc3 in main ()


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/65732] stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_
  2015-04-10 16:23 [Bug other/65732] New: stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_ trippels at gcc dot gnu.org
@ 2015-04-20 18:12 ` trippels at gcc dot gnu.org
  2015-06-29 22:51 ` 2bluesc at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-04-20 18:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65732

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-04-20
     Ever confirmed|0                           |1

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
_ZN23Parma_Polyhedra_Library9OR_MatrixINS_14Checked_NumberI10__gmp_exprIA1_12__mpz_structS4_ENS_26WRD_Extended_Number_PolicyEEEE16any_row_iteratorIKS7_EpLImEENS_9Enable_IfIXgtcvT_ngLi1ELi0EERSB_E4typeESE_

_ZN2kjmlIllNS_1_15NanosecondLabelEEENS_8QuantityIDTmlcvT_Li1EcvT0_Li1EET1_EES4_NS3_IS5_S7_EE


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/65732] stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_
  2015-04-10 16:23 [Bug other/65732] New: stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_ trippels at gcc dot gnu.org
  2015-04-20 18:12 ` [Bug other/65732] " trippels at gcc dot gnu.org
@ 2015-06-29 22:51 ` 2bluesc at gmail dot com
  2015-06-30  0:04 ` 2bluesc at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: 2bluesc at gmail dot com @ 2015-06-29 22:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65732

Kyle Manna <2bluesc at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |2bluesc at gmail dot com

--- Comment #2 from Kyle Manna <2bluesc at gmail dot com> ---
This affects me too with binutils 2.25.0 on Arch Linux.

Added a two tests that also fail @ https://gist.github.com/9b701e4194c6c4e6cfb1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/65732] stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_
  2015-04-10 16:23 [Bug other/65732] New: stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_ trippels at gcc dot gnu.org
  2015-04-20 18:12 ` [Bug other/65732] " trippels at gcc dot gnu.org
  2015-06-29 22:51 ` 2bluesc at gmail dot com
@ 2015-06-30  0:04 ` 2bluesc at gmail dot com
  2015-06-30  6:24 ` trippels at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: 2bluesc at gmail dot com @ 2015-06-30  0:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65732

--- Comment #3 from Kyle Manna <2bluesc at gmail dot com> ---
I bisected this using the script @ https://gist.github.com/7d4007a2c18c62a1d84d 

It discovers the bad commit to be 492e19d098f4bf4f22bac22815e9cb117be55b33

This seems related to https://sourceware.org/bugzilla/show_bug.cgi?id=17066


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/65732] stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_
  2015-04-10 16:23 [Bug other/65732] New: stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_ trippels at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-06-30  0:04 ` 2bluesc at gmail dot com
@ 2015-06-30  6:24 ` trippels at gcc dot gnu.org
  2015-07-04  2:12 ` miyuki at gcc dot gnu.org
  2015-07-05 23:12 ` miyuki at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-06-30  6:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65732

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
492e19d098f4 in binutils is r205292 in gcc.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/65732] stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_
  2015-04-10 16:23 [Bug other/65732] New: stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_ trippels at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-06-30  6:24 ` trippels at gcc dot gnu.org
@ 2015-07-04  2:12 ` miyuki at gcc dot gnu.org
  2015-07-05 23:12 ` miyuki at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: miyuki at gcc dot gnu.org @ 2015-07-04  2:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65732

Mikhail Maltsev <miyuki at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |miyuki at gcc dot gnu.org

--- Comment #5 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
Reduced testcases:
_ZNmlIEES_IDTcvT__EEES_
_ZN9Enable_IfIXgtcvT_1ELi0EEEE
_ZN8QuantityIDTmlcvT_T_1EEEE
_ZN8EnableIfIXgecvT_Li0EcvS__EEEE
One more example:
_ZcvT_IIStcvT_EE


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/65732] stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_
  2015-04-10 16:23 [Bug other/65732] New: stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_ trippels at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-07-04  2:12 ` miyuki at gcc dot gnu.org
@ 2015-07-05 23:12 ` miyuki at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: miyuki at gcc dot gnu.org @ 2015-07-05 23:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65732

--- Comment #6 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
There is a patch proposed by Pedro Alves for PR61321, and it fixes all
testcases mentioned here, but the patch did not get into mainline
unfortunately.
Updated testcases (valid with applied patch, cause segfault wihout patch):
_ZNmlIvEES_IDTcvT__EEES_ -> operator*<decltype ((void)())>
operator*<void>(operator*)
_ZNpLImEEN9Enable_IfIXgtcvT_1ELi0EEEES_ -> Enable_If<(((unsigned long)E)>(0))>
operator+=<unsigned long>(operator+=)
_ZNmlILelEEEN8QuantityIDTmlcvT_T_1EEEES_ -> Quantity<decltype ((((long
double)[l])((long double)[l]))*E)> operator*<(long double)[l]>(operator*)
_ZN1eIhEEN8EnableIfIXgecvT_Li0EcvS__EEEEi -> EnableIf<((unsigned
char)(0))>=((e)())> e<unsigned char>(int)


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-07-05 23:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-10 16:23 [Bug other/65732] New: stack overflow while demangling _ZNK7VectorTIfEmlIfvEES_IDTmlcvf_EcvT__EEERKS2_ trippels at gcc dot gnu.org
2015-04-20 18:12 ` [Bug other/65732] " trippels at gcc dot gnu.org
2015-06-29 22:51 ` 2bluesc at gmail dot com
2015-06-30  0:04 ` 2bluesc at gmail dot com
2015-06-30  6:24 ` trippels at gcc dot gnu.org
2015-07-04  2:12 ` miyuki at gcc dot gnu.org
2015-07-05 23:12 ` miyuki at gcc dot gnu.org

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