查看单个帖子
旧 2009-05-06, 05:40 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】memory leaks

memory leaks
memory leaks
i have a problem with viewing some drawings. for example "8th floor.dwg". it's an autocad 2004 sample drawing.
in odamfcapp following steps may reproduce this problem:
1. open "8th floor.dwg" drawing.
2. set model space as active layout.
3. render drawing.
4. exit (in debug window there are messages about memory leaks).
in my application problems starts at "addblockext" method. several messages about access violation are appeared and then extents are calculated incorrectly.
best regards,
ivan obraztsov
is this version 1.09? is this the leak dump you received?
c:\program files\microsoft visual studio\vc98\include\crtdbg.h(552) : {111155} normal block at 0x06cfe440, 24 bytes long.
data: < > e8 14 18 00 ff ff ff ff 00 00 00 00 00 00 00 00
c:\program files\microsoft visual studio\vc98\include\crtdbg.h(552) : {111154} normal block at 0x06d07580, 240 bytes long.
data: < ! ! @ > a4 21 dc 00 20 00 00 00 9c 21 dc 00 40 e4 cf 06
{56} normal block at 0x00372e80, 33 bytes long.
data: < c > 00 43 00 cd cd cd cd cd cd cd cd cd cd cd cd cd
{55} normal block at 0x00372e18, 40 bytes long.
data: < |l > 14 7c 4c 10 16 00 00 00 00 00 00 00 00 00 00 00
object dump complete.
yes, i received same leak dump.
i use dd 1.09.
best regards,
ivan obraztsov
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)