Re: 求助张老师,std::list报错,一般是怎么回事?
WinDbg
求助张老师,std::list报错,一般是怎么回事?
hyqhero
2013-04-26, 19:16 下午
. 0 Id: f28.11c0 Suspend: 1 Teb: 7efdd000 Unfrozen
# ChildEBP RetAddr Args to Child
00 003dd2c4 7735e0f2 7735e046 0000000c 0de2a648 ntdll!RtlpLowFragHeapAllocFromContext+0x1a0
01 003dd338 0bd3b8f1 0de20000 00000000 0000000c ntdll!RtlAllocateHeap+0x206
02 003dd358 0bd2c757 0000000c 1798fe68 1798fe50 PlaySdkM4!malloc+0x79 [f:\dd\vctools\crt_bld\self_x86\crt\src\malloc.c @ 163]
03 003dd368 0bd29847 0000000c 0bd2c2a7 0de2a648 PlaySdkM4!operator new+0x23 [f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\afxmem.cpp @ 349]
04 003dd370 0bd2c2a7 0de2a648 0de2a648 003dd3a4 PlaySdkM4!std::list<BLOCK *,std::allocator<BLOCK *> >::_Buynode+0x7 [e:\softwares_win7\microsoft visual studio 9.0\vc\include\list @ 1191]
05 003dd39c 0bd15da5 00000007 00000001 1798f980 PlaySdkM4!CLS_PlayerActList::Add+0xb7 [g:\workplace\playsdkm4\trunk\source\sourcecode\player\playeractlist.cpp @ 32]
06 003dd3ac 0bd253cc 00000007 0000001d 5dc12cbc PlaySdkM4!CLS_Player::Act+0x85 [g:\workplace\playsdkm4\trunk\source\sourcecode\player\player.cpp @ 869]
07 003dd3b8 5dc12cbc 0000001d 00000001 00000001 PlaySdkM4!TC_FastForward+0x8c [g:\workplace\playsdkm4\trunk\source\sourcecode\interface\interface.cpp @ 486]
Re: 求助张老师,std::list报错,一般是怎么回事?
格蠹老雷
2013-04-27, 12:57 下午
估计是堆被顺坏(heap corrupt)了,建议启用堆的调试支持后(Google或者《软件调试》第23章),再重现问题...