Project

General

Profile

Support #20319

arm forge_tools's version of gdb stops with a signal 11 trying to demangle an art symbol name in an e15 debug release

Added by Thomas Junk over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Third Party
Target version:
-
Start date:
07/16/2018
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Scope:
Internal
Experiment:
DUNE
SSI Package:
Duration:

Description

How to reproduce:

source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
setup art v2_11_02 -q e15:debug
setup forge_tools
gdb art
(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:
<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"...
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:
<http://www.gnu.org/software/gdb/bugs/&gt;.

------------------------
More info:
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".

History

#1 Updated by Kyle Knoepfel over 1 year 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.

Note that 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.

#2 Updated by Christopher Green over 1 year ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

forge_tools v18_2 has been uploaded to UPD for SLF6 and SL7. Please see Getting_started_with_MAP_and_DDT for instructions on how to install.

#3 Updated by Thomas Junk over 1 year ago

Okay, I'll give it a try. Thanks!

#4 Updated by Thomas Junk over 1 year ago

forge_tools v18_2 seems to work now with art v2_11_02 -q e15:debug. On Lynn's suggestion, I will submit a Service Desk ticket to have it installed in /grid/fermiapp/products/common/db and /cvmfs/fermilab.opensciencegrid.org/products/common/db.

#5 Updated by Kyle Knoepfel over 1 year ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF