boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Heap corruption (转载)
相关主题
C++动态内存碎片问题
超牛的debug
gdb with big core file
stack/heap corruption
[合集] 一个C++动态内存回收报错的问题
How to avoid getting "has encountered a problem and needs to close" window
double free or corruption问题
急问高手一个问题:
VC++里一个函数有参数[out]LPWSTR p要不要初始化?
C code参数传递出错可能的原因
相关话题的讨论汇总
话题: heap话题: corruption话题: free
进入Programming版参与讨论
1 (共1页)
f**e
发帖数: 115
1
【 以下文字转载自 Software 讨论区 】
发信人: fage (fage), 信区: Software
标 题: Heap corruption
发信站: BBS 未名空间站 (Mon Oct 17 03:12:47 2011, 美东)
C++,运行时Free的时候发生Heap corruption错误。
怎么Debug?
谢谢!!!
d****n
发帖数: 1637
2
use gdb.
also , can you post your code?
b******n
发帖数: 592
3
valgrind is your friend...

【在 f**e 的大作中提到】
: 【 以下文字转载自 Software 讨论区 】
: 发信人: fage (fage), 信区: Software
: 标 题: Heap corruption
: 发信站: BBS 未名空间站 (Mon Oct 17 03:12:47 2011, 美东)
: C++,运行时Free的时候发生Heap corruption错误。
: 怎么Debug?
: 谢谢!!!

f**e
发帖数: 115
4
非常谢谢!!
找到问题了。是写越界了。
发现这个Link也许有用:
http://www.efnetcpp.org/wiki/Heap_Corruption

【在 b******n 的大作中提到】
: valgrind is your friend...
1 (共1页)
进入Programming版参与讨论
相关主题
C code参数传递出错可能的原因
有什么窍门让purify快一些?
做software testing对programming有帮助吗?
windows10稳定性简直了
Heap corruption
小六,能不能请你谈谈奥粑粑care对你自己创业的公司的影响
怎么debug memory corruption的问题
C++动态内存碎片问题
超牛的debug
gdb with big core file
相关话题的讨论汇总
话题: heap话题: corruption话题: free