Bug 1377020

Summary: Damangler error when debugging WebKit
Product: [Fedora] Fedora Reporter: Michael Catanzaro <mcatanzaro+wrong-account-do-not-cc>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 24CC: gbenson, jan.kratochvil, palves, pmuldoon, sergiodj, tom
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-18 22:26:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Catanzaro 2016-09-17 15:07:27 UTC
Description of problem: Demangler error when debugging any program that uses WebKit trunk


Version-Release number of selected component (if applicable): gdb-7.11.1-75.fc24


How reproducible: Always


Steps to Reproduce:
1. Build WebKit from trunk (sorry :S it's terrible but that's my reproducer)
2. gdb epiphany

Maybe the bug will occur with F25's WebKit, that would be a way easier reproducer. But I haven't tested with F25 yet. Since this is a demangler error, I'm hoping the bug report will be useful anyway.

Actual results:

../../gdb/cp-support.c:1595: demangler-warning: unable to demangle '_ZSt7forwardIRZN6WebKit29NetworkConnectionToWebProcess26writeBlobsToTemporaryFilesERKN3WTF6VectorINS2_6StringELm0ENS2_15CrashOnOverflowELm16EEEmEUlRT_E_EOS9_RNSt16remove_referenceIS9_E4typeE' (demangler failed with signal 11)
Unable to dump core, use `ulimit -c unlimited' before executing GDB next time.
Missing separate debuginfos, use: dnf debuginfo-install avahi-gobject-0.6.32-4.fc24.x86_64 avahi-libs-0.6.32-4.fc24.x86_64 sqlite-libs-3.13.0-1.fc24.x86_64
../../gdb/cp-support.c:1608: demangler-warning: unable to demangle '_ZSt7forwardIRZN6WebKit29NetworkConnectionToWebProcess26writeBlobsToTemporaryFilesERKN3WTF6VectorINS2_6StringELm0ENS2_15CrashOnOverflowELm16EEEmEUlRT_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) n

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



Expected results: No demangler error


Additional info:

Comment 1 Michael Catanzaro 2016-09-17 15:10:55 UTC
Ah, here's a much better reproducer (from the upstream bug):

echo '_ZSt7forwardIRZZN6WebKit29NetworkConnectionToWebProcess26writeBlobsToTemporaryFilesERKN3WTF6VectorINS2_6StringELm0ENS2_15CrashOnOverflowELm16EEEmENUlRT_E_clIS7_EEDaSA_EUlvE_EOS9_RNSt16remove_referenceIS9_E4typeE' | c++filt

Comment 2 Jan Kratochvil 2016-09-18 22:26:12 UTC
All Bug duplicates to be verified after the upstream GCC Bug gets fixed.

*** This bug has been marked as a duplicate of bug 1367131 ***