arm forge_tools's version of gdb stops with a signal 11 trying to demangle an art symbol name in an e15 debug release
How to reproduce:
setup art v2_11_02 -q e15:debug
(gdb) run --help
here's the output (running in an SLF7 session):
[trj@dune02 ~]$ gdb art
No symbol table is loaded. Use the "file" command.
GNU gdb (GDB) 7.12.1-18.1.1
Modified by Arm. Copyright (C) 2002-2018 Arm Limited (or its affiliates). All rights reserved.
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from art...done.
(gdb) run --help
Starting program: /cvmfs/larsoft.opensciencegrid.org/products/art/v2_11_02/slf7.x86_64.e15.debug/bin/art --help
cp-support.c:1603: demangler-warning: unable to demangle '_ZSt7forwardIRZN3art19TriggerNamesServiceC4ERKN5fhicl12ParameterSetERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISC_EEEUlRT_mRKT0_E_EOSH_RNSt16remove_referenceISH_E4typeE' (demangler failed with signal 11)
Unable to dump core, use `ulimit -c unlimited' before executing GDB next time.
cp-support.c:1618: demangler-warning: unable to demangle '_ZSt7forwardIRZN3art19TriggerNamesServiceC4ERKN5fhicl12ParameterSetERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISC_EEEUlRT_mRKT0_E_EOSH_RNSt16remove_referenceISH_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:
This affects the ability to run arm's ddt gui, as the same demangler warning stops the gui session. I can always just setup gdb and run in text mode, but ddt's gui is an improvement. Setting up gdb before firing up ddt does not help ddt -- ddt must be looking for the arm-modified version and not just the first gdb in the path.
The old allinea debugger, with an older version of gdb, seems to have
no problems (but does not have an SL7 flavor).
The debugger has no issue with the c2 debug build, or with the prof build. Just e15:debug. I'm not quite sure where to file this ticket -- could require a refresh from arm, hence labeled "third party".
#1 Updated by Kyle Knoepfel over 2 years ago
- Status changed from New to Assigned
- Assignee set to Christopher Green
- Estimated time set to 1.00 h
There appears to be a
forge_tools version 18.2, which may include an updated version of
gdb. Chris will be packaging this version later today. He will let you know when a version is available that can be installed on CVMFS.
gdb is complaining about not being able to demangle a symbol. Usually, this is not a problem--i.e. you can type 'n' instead of 'y' when you are asked if the debugging session should end.