public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/62279] New: Demangler crash
@ 2014-08-27  9:01 gbenson at redhat dot com
  2014-10-27 14:05 ` [Bug other/62279] " ktietz at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gbenson at redhat dot com @ 2014-08-27  9:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 62279
           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:

_ZN5Utils9transformIPN15ProjectExplorer13BuildStepListEZNKS1_18BuildConfiguration14knownStepListsEvEUlS3_E_EE5QListIDTclfp0_cvT__EEEERKS6_IS7_ET0_

See https://sourceware.org/bugzilla/show_bug.cgi?id=14963#c33


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

* [Bug other/62279] Demangler crash
  2014-08-27  9:01 [Bug other/62279] New: Demangler crash gbenson at redhat dot com
@ 2014-10-27 14:05 ` ktietz at gcc dot gnu.org
  2015-04-19 22:34 ` jon.turney at dronecode dot org.uk
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ktietz at gcc dot gnu.org @ 2014-10-27 14:05 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-10-27
                 CC|                            |ktietz at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Kai Tietz <ktietz at gcc dot gnu.org> ---
confirmed. Can be easily reporduced by using cxxfilt tool.


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

* [Bug other/62279] Demangler crash
  2014-08-27  9:01 [Bug other/62279] New: Demangler crash gbenson at redhat dot com
  2014-10-27 14:05 ` [Bug other/62279] " ktietz at gcc dot gnu.org
@ 2015-04-19 22:34 ` jon.turney at dronecode dot org.uk
  2015-10-13  9:14 ` stanislav.angelovic at kistler dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jon.turney at dronecode dot org.uk @ 2015-04-19 22:34 UTC (permalink / raw)
  To: gcc-bugs

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

jon.turney at dronecode dot org.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jon.turney at dronecode dot org.uk

--- Comment #2 from jon.turney at dronecode dot org.uk ---
See also the corresponding GDB bug
https://sourceware.org/bugzilla/show_bug.cgi?id=17066


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

* [Bug other/62279] Demangler crash
  2014-08-27  9:01 [Bug other/62279] New: Demangler crash gbenson at redhat dot com
  2014-10-27 14:05 ` [Bug other/62279] " ktietz at gcc dot gnu.org
  2015-04-19 22:34 ` jon.turney at dronecode dot org.uk
@ 2015-10-13  9:14 ` stanislav.angelovic at kistler dot com
  2015-10-13  9:31 ` miyuki at gcc dot gnu.org
  2015-10-13 11:33 ` stanislav.angelovic at kistler dot com
  4 siblings, 0 replies; 6+ messages in thread
From: stanislav.angelovic at kistler dot com @ 2015-10-13  9:14 UTC (permalink / raw)
  To: gcc-bugs

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

Stanislav Angelovic <stanislav.angelovic at kistler dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stanislav.angelovic@kistler
                   |                            |.com

--- Comment #3 from Stanislav Angelovic <stanislav.angelovic at kistler dot com> ---
GDB 7.7.1 demangler crashes upon this symbol in our binary:

_ZSt7forwardIKSaINSt6thread5_ImplISt12_Bind_simpleIFZN6WIM_DL5Utils9AsyncTaskC4IMNS3_8Hardware12FpgaWatchdogEKFvvEIPS8_EEEibOT_DpOT0_EUlvE_vEEEEEESD_RNSt16remove_referenceISC_E4typeE

We have tried the patch at
https://gcc.gnu.org/ml/gcc-patches/2014-05/msg02279.html , but to no avail.


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

* [Bug other/62279] Demangler crash
  2014-08-27  9:01 [Bug other/62279] New: Demangler crash gbenson at redhat dot com
                   ` (2 preceding siblings ...)
  2015-10-13  9:14 ` stanislav.angelovic at kistler dot com
@ 2015-10-13  9:31 ` miyuki at gcc dot gnu.org
  2015-10-13 11:33 ` stanislav.angelovic at kistler dot com
  4 siblings, 0 replies; 6+ messages in thread
From: miyuki at gcc dot gnu.org @ 2015-10-13  9:31 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
(In reply to Stanislav Angelovic from comment #3)
> GDB 7.7.1 demangler crashes upon this symbol in our binary:
> 
> _ZSt7forwardIKSaINSt6thread5_ImplISt12_Bind_simpleIFZN6WIM_DL5Utils9AsyncTask
> C4IMNS3_8Hardware12FpgaWatchdogEKFvvEIPS8_EEEibOT_DpOT0_EUlvE_vEEEEEESD_RNSt1
> 6remove_referenceISC_E4typeE

Whis works fine with binutils 2.25 and gives:

std::allocator<std::thread::_Impl<std::_Bind_simple<WIM_DL::Utils::AsyncTask::AsyncTask<void
(WIM_DL::Hardware::FpgaWatchdog::*)() const,
WIM_DL::Hardware::FpgaWatchdog*>(int, bool, void
(WIM_DL::Hardware::FpgaWatchdog::*&&)() const,
WIM_DL::Hardware::FpgaWatchdog*&&)::{lambda()#1} ()> > > const&&
std::forward<std::allocator<std::thread::_Impl<std::_Bind_simple<WIM_DL::Utils::AsyncTask::AsyncTask<void
(WIM_DL::Hardware::FpgaWatchdog::*)() const,
WIM_DL::Hardware::FpgaWatchdog*>(int, bool,
std::allocator<std::thread::_Impl<std::_Bind_simple<WIM_DL::Utils::AsyncTask::AsyncTask<void
(WIM_DL::Hardware::FpgaWatchdog::*)() const,
WIM_DL::Hardware::FpgaWatchdog*>(int, bool, void
(WIM_DL::Hardware::FpgaWatchdog::*&&)() const,
WIM_DL::Hardware::FpgaWatchdog*&&)::{lambda()#1} ()> > > const&&,
WIM_DL::Hardware::FpgaWatchdog*&&)::{lambda()#1} ()> > >
const>(std::remove_reference<std::allocator<std::thread::_Impl<std::_Bind_simple<WIM_DL::Utils::AsyncTask::AsyncTask<void
(WIM_DL::Hardware::FpgaWatchdog::*)() const,
WIM_DL::Hardware::FpgaWatchdog*>(int, bool, void
(WIM_DL::Hardware::FpgaWatchdog::*&&)() const,
WIM_DL::Hardware::FpgaWatchdog*&&)::{lambda()#1} ()> > > const>::type&)

Could you try a newer version of GDB?


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

* [Bug other/62279] Demangler crash
  2014-08-27  9:01 [Bug other/62279] New: Demangler crash gbenson at redhat dot com
                   ` (3 preceding siblings ...)
  2015-10-13  9:31 ` miyuki at gcc dot gnu.org
@ 2015-10-13 11:33 ` stanislav.angelovic at kistler dot com
  4 siblings, 0 replies; 6+ messages in thread
From: stanislav.angelovic at kistler dot com @ 2015-10-13 11:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Stanislav Angelovic <stanislav.angelovic at kistler dot com> ---
(In reply to Mikhail Maltsev from comment #4)
> (In reply to Stanislav Angelovic from comment #3)
> > GDB 7.7.1 demangler crashes upon this symbol in our binary:
> > 
> > _ZSt7forwardIKSaINSt6thread5_ImplISt12_Bind_simpleIFZN6WIM_DL5Utils9AsyncTask
> > C4IMNS3_8Hardware12FpgaWatchdogEKFvvEIPS8_EEEibOT_DpOT0_EUlvE_vEEEEEESD_RNSt1
> > 6remove_referenceISC_E4typeE
> 
> Whis works fine with binutils 2.25 and gives:
> 
> std::allocator<std::thread::_Impl<std::_Bind_simple<WIM_DL::Utils::AsyncTask:
> :AsyncTask<void (WIM_DL::Hardware::FpgaWatchdog::*)() const,
> WIM_DL::Hardware::FpgaWatchdog*>(int, bool, void
> (WIM_DL::Hardware::FpgaWatchdog::*&&)() const,
> WIM_DL::Hardware::FpgaWatchdog*&&)::{lambda()#1} ()> > > const&&
> std::forward<std::allocator<std::thread::_Impl<std::_Bind_simple<WIM_DL::
> Utils::AsyncTask::AsyncTask<void (WIM_DL::Hardware::FpgaWatchdog::*)()
> const, WIM_DL::Hardware::FpgaWatchdog*>(int, bool,
> std::allocator<std::thread::_Impl<std::_Bind_simple<WIM_DL::Utils::AsyncTask:
> :AsyncTask<void (WIM_DL::Hardware::FpgaWatchdog::*)() const,
> WIM_DL::Hardware::FpgaWatchdog*>(int, bool, void
> (WIM_DL::Hardware::FpgaWatchdog::*&&)() const,
> WIM_DL::Hardware::FpgaWatchdog*&&)::{lambda()#1} ()> > > const&&,
> WIM_DL::Hardware::FpgaWatchdog*&&)::{lambda()#1} ()> > >
> const>(std::remove_reference<std::allocator<std::thread::_Impl<std::
> _Bind_simple<WIM_DL::Utils::AsyncTask::AsyncTask<void
> (WIM_DL::Hardware::FpgaWatchdog::*)() const,
> WIM_DL::Hardware::FpgaWatchdog*>(int, bool, void
> (WIM_DL::Hardware::FpgaWatchdog::*&&)() const,
> WIM_DL::Hardware::FpgaWatchdog*&&)::{lambda()#1} ()> > > const>::type&)
> 
> Could you try a newer version of GDB?

Thanks for the fast response, Mikhail. We use tools shipped with Yocto, so our
hands are tied to some extent. But I tried binutils 2.25 and there it works.
Thank you!


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

end of thread, other threads:[~2015-10-13 11:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-27  9:01 [Bug other/62279] New: Demangler crash gbenson at redhat dot com
2014-10-27 14:05 ` [Bug other/62279] " ktietz at gcc dot gnu.org
2015-04-19 22:34 ` jon.turney at dronecode dot org.uk
2015-10-13  9:14 ` stanislav.angelovic at kistler dot com
2015-10-13  9:31 ` miyuki at gcc dot gnu.org
2015-10-13 11:33 ` stanislav.angelovic at kistler 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).