Bug 251818 - error reading varinfo from libstdc++.so
Summary: error reading varinfo from libstdc++.so
Status: RESOLVED DUPLICATE of bug 254550
Alias: None
Product: valgrind
Classification: Developer tools
Component: memcheck (show other bugs)
Version: 3.6 SVN
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-20 13:54 UTC by Dmitry Djachenko
Modified: 2010-10-18 16:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Djachenko 2010-09-20 13:54:39 UTC
Version:           3.6 SVN
OS:                Linux

"valgrind --tool=memcheck --read-var-info=yes" can't read varinfo from libstdc++.so

Reproducible: Didn't try

Steps to Reproduce:
# cat tst.cpp
#include <iostream>
int main()
{
    std::cout << "Hello, world" << std::endl;
}
# g++ -Wall -O0 tst.cpp
# valgrind --tool=memcheck --read-var-info=yes ./a.out

Actual Results:  
...
parse_type_DIE: confused by:
 <1><5206>: DW_TAG_base_type
     DW_AT_byte_size   : 2
     DW_AT_encoding    : 16
     DW_AT_name        : (indirect string, offset: 0x4751): char16_t

--14705-- WARNING: Serious error when reading debug info
--14705-- When reading debug info from /usr/lib64/libstdc++.so.6.0.13:
--14705-- parse_type_DIE: confused by the above DIE
...



Valgrind rev.11368, VEX rev.2032

Fedora 13/x64
libstdc++.so.6.0.13/gcc-4.4.4

# uname -a
Linux cwrk 2.6.34.6-54.fc13.x86_64 #1 SMP Sun Sep 5 17:16:27 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
Fedora release 13 (Goddard)
# gcc --version
gcc (GCC) 4.4.4 20100630 (Red Hat 4.4.4-10)
Comment 1 Tom Hughes 2010-10-18 16:33:57 UTC
Closing this one as dupe as the other one has the patch...

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