Bug 199646

Summary: valgrind appears to confuse elf and dwarf2
Product: [Fedora] Fedora Reporter: Brett Pemberton <redhat>
Component: valgrindAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 3.2.1-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-05 10:21:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
simple program used to test valgrind none

Description Brett Pemberton 2006-07-20 23:55:52 UTC
Description of problem:

When asked to debug a simple, newly compiled binary, valgrind spits out DWARF2
errors.

Version-Release number of selected component (if applicable):

valgrind-3.2.0-3.1

How reproducible:

Always

Steps to Reproduce:
1. compile a simple binary
2. valgrind --tool=memcheck ./test
  
Actual results:
pages of:
--24007-- DWARF2 CFI reader: unhandled CFI instruction 0:18
--24007-- DWARF2 CFI reader: unhandled CFI instruction 0:18

Expected results:
actual debug information

Additional info:

Comment 1 Brett Pemberton 2006-07-20 23:55:52 UTC
Created attachment 132777 [details]
simple program used to test valgrind

Comment 2 Jakub Jelinek 2006-10-05 10:21:22 UTC
Valgrind wasn't handling properly some CFI ops, including not computing right
their length.
This should be fixed in the current rawhide valgrind (3.2.1-4).