高手请进啊,一个不知道怎么回事的问题!!!送大分!!!!

liguangwen 2004-04-08 02:27:30
我为一个支持dll开发接口的软件UG编了一个dll,结果调试的时候出了如下问题,注意其中的HEAP[ugraf.exe]: Invalid allocation size - ccccccd0 (exceeded 7ffdefff)
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
.我不知道是怎么回事。


Loaded 'D:\Program Files\EDS\Unigraphics NX 2.0\UGII\ugraf.exe', no matching symbolic information found.
Loaded 'C:\WINNT\system32\ntdll.dll', no matching symbolic information found.
.................
.................
Loaded 'D:\Program Files\EDS\Unigraphics NX 2.0\UGII\libfemg.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\dnsapi.dll', no matching symbolic information found.
................
................
Loaded 'D:\Program Files\EDS\Unigraphics NX 2.0\UGII\libsmd.dll', no matching symbolic information found.
Loaded 'D:\Program Files\EDS\Unigraphics NX 2.0\UGII\libsmdpk.dll', no matching symbolic information found.
..................
..............
Loaded 'D:\Program Files\EDS\Unigraphics NX 2.0\UGII\libkfint.dll', no matching symbolic information found.
....................
..............
Loaded 'D:\Program Files\EDS\Unigraphics NX 2.0\UGII\xerces-c_1_6_0.dll', no matching symbolic information found.

.................
.................
Loaded 'C:\WINNT\system32\shfolder.dll', no matching symbolic information found.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
Loaded 'D:\Program Files\EDS\Unigraphics NX 2.0\UGCHECKMATE\startup\mqc_uf_startup.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\shdocvw.dll', no matching symbolic information found.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
Loaded 'C:\WINNT\system32\cscui.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\cscdll.dll', no matching symbolic information found.
Loaded 'C:\Program Files\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll', no matching symbolic information found.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
Loaded 'C:\WINNT\system32\riched20.dll', no matching symbolic information found.
Loaded 'D:\Program Files\EDS\Unigraphics NX 2.0\UGII\psapi.dll', no matching symbolic information found.
The thread 0xA28 has exited with code 0 (0x0).
Loaded 'C:\WINNT\system32\msls31.dll', no matching symbolic information found.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
The thread 0xA48 has exited with code 0 (0x0).
............
..........
The thread 0x34C has exited with code 0 (0x0).
HEAP[ugraf.exe]: Invalid allocation size - ccccccd0 (exceeded 7ffdefff)
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
HEAP[ugraf.exe]: Invalid allocation size - cccccccd (exceeded 7ffdefff)
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
First-chance exception in ugraf.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.


各位高手请问,Invalid allocation size - cccccccd (exceeded 7ffdefff)是怎么回事啊?什么原因引起的异常啊?我束手无策,想自杀啊!哪位高手能告知小弟原理,绝对送尽可能多分!
...全文
43 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
yahaha 2004-04-08
  • 打赏
  • 举报
回复
就是指针的问题,你是不是有没有初始化的对象??
zouxueping 2004-04-08
  • 打赏
  • 举报
回复
非法操作内存,程序中的指针问题
liguangwen 2004-04-08
  • 打赏
  • 举报
回复
这就是debug版啊!
clkrst 2004-04-08
  • 打赏
  • 举报
回复
用debug版调。

内存问题

64,691

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧