访问冲突写入位置0xfdfdfdfd [英] Access violation writing location 0xfdfdfdfd
问题描述
几天来我一直遇到这个问题,但如何解决却一无所获.我从来没有遇到过这样的错误:
myproject.exe中0x00511e0e(msvcr100d.dll)的未处理异常: 0xC0000005:访问冲突写入位置0xfdfdfdfd.
我真的不知所措.有帮助吗?
我认为后者更有可能的原因是,在未结束之前在指针数组中使用未初始化的指针会中断,因此您必须从头开始,这是不寻常的事情. /p> I have been having this problem for a few days now and I can find nothing on how to fix it. I have never had an error like this one : Unhandled exception at 0x00511e0e (msvcr100d.dll) in myproject.exe:
0xC0000005: Access violation writing location 0xfdfdfdfd. I really am at a loss of what to do. Any help? It's difficult to say with certainty what the error is, since you didn't think it necessary to show any code. I suspect one of two things: The reason I think the latter more likely is that using pointers in the pointer array uninitialised would break before you got to the end, so you'd have to start at the end, which would be an unusual thing to do. 这篇关于访问冲突写入位置0xfdfdfdfd的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!0xfdfdfdfd
是MSVC调试堆实现(
0xfdfdfdfd
is a magic value in the MSVC debug heap implementation (details here) that's put as a canary directly before and behind an allocated region of storage. Somehow you're using it as a pointer and writing to it.