Project

General

Profile

Support #17751

a problem with debugging art v2_07-based executables with gdb

Added by Pavel Murat about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Third Party
Target version:
-
Start date:
09/20/2017
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Scope:
Internal
Experiment:
Mu2e
SSI Package:
Duration:

Description

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.

-regars, Pasha

murat@mu2egpvm04:/mu2e/app/users/murat/v6_3_1>which gdb
/cvmfs/mu2e.opensciencegrid.org/artexternals/gdb/v7_12/Linux64bit+2.6-2.12/bin/gdb
murat@mu2egpvm04:/mu2e/app/users/murat/v6_3_1>which art
/cvmfs/mu2e.opensciencegrid.org/artexternals/art/v2_07_03/slf6.x86_64.e14.debug/bin/art
murat@mu2egpvm04:/mu2e/app/users/murat/v6_3_1>gdb
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:
<http://www.gnu.org/software/gdb/bugs/&gt;.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/&gt;.
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.


Related issues

Has duplicate art - Support #17752: art 2.8.3 generating a bus error under GDB (SLF6)Closed09/20/2017

Has duplicate art - Support #19287: un-demangleable symbolClosed03/06/2018

History

#1 Updated by Kyle Knoepfel about 3 years ago

  • Tracker changed from Bug to Support
  • Category set to Third Party
  • Status changed from New to Assigned
  • Assignee set to Christopher Green
  • Estimated time set to 4.00 h

We are working to provide a solution with GDB 8.0, which will work on SLF6 and SL7.

#2 Updated by Kyle Knoepfel about 3 years ago

  • Has duplicate Support #17752: art 2.8.3 generating a bus error under GDB (SLF6) added

#3 Updated by Christopher Green about 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.

#4 Updated by Kyle Knoepfel about 3 years ago

  • Status changed from Resolved to Closed

#5 Updated by Kyle Knoepfel over 2 years ago

#6 Updated by Kyle Knoepfel over 2 years ago

#7 Updated by Kyle Knoepfel over 2 years ago



Also available in: Atom PDF