Bug 723790

Summary: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x2a
Product: [Fedora] Fedora Reporter: Jan Kratochvil <jan.kratochvil>
Component: valgrindAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dodji, jakub
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: valgrind-3.6.1-5.fc16.x86_64 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-24 07:05:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan Kratochvil 2011-07-21 07:23:50 UTC
Description of problem:
For any newly built binaries valgrind fails.

Version-Release number of selected component (if applicable):
valgrind-3.6.1-4.fc16.x86_64
binutils-2.21.53.0.1-1.fc16.x86_64

How reproducible:
Always.

Steps to Reproduce:
echo 'main(){exit(0);}'|gcc -x c -
valgrind ./a.out 

Actual results:
--2555-- Warning: DWARF2 CFI reader: unhandled DW_OP_ opcode 0x2a
valgrind: m_debuginfo/readdwarf.c:2391 (copy_convert_CfiExpr_tree): Assertion 'srcix >= 0 && srcix < VG_(sizeXA)(srcxa)' failed.
==2555==    at 0x3804AD06: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)

Expected results:
No such message.

Additional info:
Sure it is probably due to the new plt .eh_frame unwinder.

Comment 1 Jakub Jelinek 2011-07-21 14:58:34 UTC
Apparently fixed upstream, though the fix has minor issues.

Comment 2 Jan Kratochvil 2011-07-24 07:05:28 UTC
Works for me now.