a problem with debugging art v2_07-based executables with gdb
Dear art experts,
I wonder if the issue below has been reported - turns out that GDB can't parse symbols from one of art v2_07
shared libraries. From what I can see, the net outcome is that GDB can't recover, even if let continue,
and, for example, fails to set break points.
GNU gdb (GDB) 7.12
Copyright (C) 2016 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".
(gdb) file /cvmfs/mu2e.opensciencegrid.org/artexternals/art/v2_07_03/slf6.x86_64.e14.debug/lib/libart_Framework_Services_System_TriggerNamesService_service.so
Reading symbols from /cvmfs/mu2e.opensciencegrid.org/artexternals/art/v2_07_03/slf6.x86_64.e14.debug/lib/libart_Framework_Services_System_TriggerNamesService_service.so.../home/greenc/work/cet-is/test-products/gdb/v7_12/src/gdb-7.12/gdb/cp-support.c:1600: 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.
/home/greenc/work/cet-is/test-products/gdb/v7_12/src/gdb-7.12/gdb/cp-support.c:1615: 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.
#3 Updated by Christopher Green over 3 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Please try https://scisoft.fnal.gov/scisoft/packages/gdb/v8_0_1/gdb-8.0.1-slf6-x86_64.tar.bz2, and let us know if it addresses your problem.