This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/78372] New: gdb/demangler crashes


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

            Bug ID: 78372
           Summary: gdb/demangler crashes
           Product: gcc
           Version: 6.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rols at rols dot org
  Target Milestone: ---

gdb crashes on the following symbol, c++filt crashes on it too. 

Symbol is

_ZSt7forwardIRKZN16BookStateManagerC4ERN5boost4asio10io_serviceENS2_2ip14basic_endpointINS5_3tcpEEEEUlRT_E_EOS9_RNSt16remove_referenceIS9_E4typeE

$ c++filt 
_ZSt7forwardIRKZN16BookStateManagerC4ERN5boost4asio10io_serviceENS2_2ip14basic_endpointINS5_3tcpEEEEUlRT_E_EOS9_RNSt16remove_referenceIS9_E4typeE
Segmentation fault (core dumped)

c++filt  -v
GNU c++filt (GNU Binutils for Ubuntu) 2.26.1

$ /usr/local/bin/gdb build/Debug/src/apps/QtClient/QtClient
GNU gdb (GDB) 7.12
....
Reading symbols from
build/Debug/src/apps/QtClient/QtClient...cp-support.c:1600: demangler-warning:
unable to demangle
'_ZSt7forwardIRKZN16BookStateManagerC4ERN5boost4asio10io_serviceENS2_2ip14basic_endpointINS5_3tcpEEEEUlRT_E_EOS9_RNSt16remove_referenceIS9_E4typeE'
(demangler failed with signal 11)
Unable to dump core, use `ulimit -c unlimited' before executing GDB next time.
cp-support.c:1615: demangler-warning: unable to demangle
'_ZSt7forwardIRKZN16BookStateManagerC4ERN5boost4asio10io_serviceENS2_2ip14basic_endpointINS5_3tcpEEEEUlRT_E_EOS9_RNSt16remove_referenceIS9_E4typeE'
(demangler failed with signal 11)
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]