• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Valgrind报告写错误?(Valgrind report write error? why?)_电脑培训

原作者: [db:作者] 来自: 网络 收藏 邀请

Valgrind报告写错误?(Valgrind report write error? why?)

运行Valgrind的memcheck时,偶尔valgrind报告错误如下:

==2745== Memcheck, a memory error detector
==2745== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2745== Using Valgrind-3.6.0 and LibVEX; rerun with -h for copyright info
==2745== Command: ./HSFramework
==2745== 
==2745== Invalid write of size 8
==2745==    at 0x3B81C097C0: do_lookup_x (in /lib64/ld-2.12.so)
==2745==    by 0x1C31032D: ???
==2745==    by 0x3B81C09E19: _dl_lookup_symbol_x (in /lib64/ld-2.12.so)
==2745==  Address 0x7feffee78 is on thread 1's stack
==2745== 

platform: Linux 2.6.32-220.el6.x86_64  x86_64 x86_64 x86_64 GNU/Linux

此错误报告中没有关于我的代码的线索。 我不知道这个错误报告。
什么原因会导致这个错误?


When running Valgrind's memcheck, occasionally valgrind report error like this:

==2745== Memcheck, a memory error detector
==2745== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2745== Using Valgrind-3.6.0 and LibVEX; rerun with -h for copyright info
==2745== Command: ./HSFramework
==2745== 
==2745== Invalid write of size 8
==2745==    at 0x3B81C097C0: do_lookup_x (in /lib64/ld-2.12.so)
==2745==    by 0x1C31032D: ???
==2745==    by 0x3B81C09E19: _dl_lookup_symbol_x (in /lib64/ld-2.12.so)
==2745==  Address 0x7feffee78 is on thread 1's stack
==2745== 

platform: Linux 2.6.32-220.el6.x86_64  x86_64 x86_64 x86_64 GNU/Linux

There is not clue about my code from this error report. I had no idea about this error report.
What reasons will lead to this error?


原文:https://stackoverflow.com/questions/15018712
更新时间:2022-03-21 22:03

最满意答案

此错误意味着您在do_lookup_x中获得缓冲区溢出,如果您的源代码查看或与我们共享。

http://valgrind.org/docs/manual/quick-start.html


This error means you are getting a buffer overrun in do_lookup_x, if you got its source look at that or share with us.

http://valgrind.org/docs/manual/quick-start.html


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap