加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

c – 无法跟踪访问冲突0xC00000FD

发布时间:2020-12-16 03:44:59 所属栏目:百科 来源:网络整理
导读:我正在使用VS2008和My MFC应用程序在设置断点或运行到光标时已经开始崩溃.我收到很多这样的错误: – First-chance exception at 0x78a5727c (mfc90ud.dll) in MyApp.exe: 0xC0000005: Access violation reading location 0xfffffffc.First-chance exception
我正在使用VS2008和My MFC应用程序在设置断点或运行到光标时已经开始崩溃.我收到很多这样的错误: –
First-chance exception at 0x78a5727c (mfc90ud.dll) in MyApp.exe: 0xC0000005: Access violation reading location 0xfffffffc.
First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000.
First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000.
First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000.
First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000.
First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000.
First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000.
First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000.
First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000.
First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000.
First-chance exception at 0x00000000 in MyApp.exe: 0xC0000005: Access violation reading location 0x00000000.

调用堆栈不是很多,它只列出NT.dll中的代码

>   00000000()  
    ntdll.dll!7c9032a8()    
    [Frames below may be incorrect and/or missing,no symbols loaded for ntdll.dll] 
    ntdll.dll!7c90327a()    
    ntdll.dll!7c92aa0f()    
    ntdll.dll!7c90e48a()    
    ntdll.dll!7c9032a8()

我无法使用断点或单步执行代码来查找问题.如果在VS中使用F5运行,应用程序“似乎”正常运行.

什么是追踪此问题的最佳方法?

解决方法

堆栈从问题标题溢出到哪里?访问冲突通常表示无效的指针取消引用.

使用您的修订历史记录查找事物开始繁荣的第一个版本,然后批判性地分析在该修订版中修改的代码中及其周围发生的所有指针内容.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读