1

无法理解 .eh_frame 部分映射

     ==4780== Use of uninitialised value of size 4
     ==4780==    at 0x4011D18: ??? (in /lib/ld-2.3.2.so)
     ==4780==    by 0x401628F: ???
     ==4780==    by 0x4006227: ??? (in /lib/ld-2.3.2.so)
     ==4780==    by 0x40065EF: ??? (in /lib/ld-2.3.2.so)
     ==4780==    by 0x4009E33: ??? (in /lib/ld-2.3.2.so)
     ==4780==    by 0x400B437: ??? (in /lib/ld-2.3.2.so)
     ==4780==    by 0x400A29F: ??? (in /lib/ld-2.3.2.so)
     ==4780==    by 0x4002ECB: ??? (in /lib/ld-2.3.2.so)
     ==4780==    by 0x400DF03: ??? (in /lib/ld-2.3.2.so)
     ==4780==    by 0x4001BD3: ??? (in /lib/ld-2.3.2.so)
     ==4780==    by 0x400215F: ??? (in /lib/ld-2.3.2.so)
     ==4780==    by 0x400EF2B: ??? (in /lib/ld-2.3.2.so)
    ==4780==
     ==4780== Use of uninitialised value of size 4
     ==4780==    at 0x4011D28: ??? (in /lib/ld-2.3.2.so)
     ==4780==
     --4780-- WARNING: Serious error when reading debug info
4

1 回答 1

1

您显示的输出表明/lib/ld-linux.so.2已被剥离。

通常默认的 Valgrind 抑制会抑制这个输出(因为无论如何你不能对这些错误做任何事情)。安装 glibc-debug-2.3.2* 包可能会有所帮助。

ld-linux.so.2最近的 Valgrind 版本在被剥离时拒绝运行。但是,由于您使用的是古代 glibc-2.3.2(2003 年 3 月发布),因此您可能也在使用古代版本的 Valgrind,但事实并非如此。

于 2012-07-07T13:21:41.937 回答