!heap -s遇到下面的提示,各位老大能否帮分析下是什么原因?
C/C++本地代码调试
!heap -s遇到下面的提示,各位老大能否帮分析下是什么原因?
yawiki
2015-07-08, 16:48 下午
程序跑在win2012 64bit上,这个程序也是64bit的。我抓到dump之后在本地的32bitwin7上用windbg打开分析的,看提示就是各种信息都不可用啊,不知道怎么继续了,btw:我打开了gflags的+ust
0:000> !heap -s
NtGlobalFlag enables following debugging aids for new heaps:
stack back traces
LFH Key : 0x6f0faa337e6f2041
Termination on corruption : ENABLED
Heap Flags Reserv Commit Virt Free List UCR Virt Lock Fast
(k) (k) (k) (k) length blocks cont. heap
-------------------------------------------------------------------------------------
Unable to read nt!_HEAP_SEGMENT structure at 0000000014e20018
00000000024a0000 08000002 1020 1020 1020 430 207 1 0 44 LFH
0000000000a10000 08008000 64 4 64 2 1 1 0 0
Error: Heap 00000000026e0000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 00000000026e0000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block
00000000026e0000 00000000 0 0 0 0 0 0 1 0
Error: Heap 0000000002d00000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 0000000002d00000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block
0000000002d00000 00000000 0 0 0 0 0 0 1 0
Error: Heap 00000000147a0000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 00000000147a0000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block
00000000147a0000 00000000 0 0 0 0 0 0 1 0
Error: Heap 0000000015300000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 0000000015300000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block
0000000015300000 00000000 0 0 0 0 0 0 1 0
Error: Heap 00000000485e0000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 00000000485e0000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block
00000000485e0000 00000000 0 0 0 0 0 0 1 0
Error: Heap 0000000053ea0000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 0000000053ea0000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block
0000000053ea0000 00000000 0 0 0 0 0 0 1 0
Error: Heap 000000004bb90000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 000000004bb90000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block
000000004bb90000 00000000 0 0 0 0 0 0 1 0
Error: Heap 0000000053e90000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 0000000053e90000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block
0000000053e90000 00000000 0 0 0 0 0 0 1 0
Error: Heap 0000000054820000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 0000000054820000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block
0000000054820000 00000000 0 0 0 0 0 0 1 0
Error: Heap 0000000055bc0000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 0000000055bc0000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block
0000000055bc0000 00000000 0 0 0 0 0 0 1 0
Error: Heap 00000000582f0000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 00000000582f0000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block
00000000582f0000 00000000 0 0 0 0 0 0 1 0
Re: !heap -s遇到下面的提示,各位老大能否帮分析下是什么原因?
格蠹老雷
2015-07-08, 21:52 下午
先确认符号路径是否设置好了,如果没有问题,看一下windbg的版本号,如果很旧,换个新版本
Re: !heap -s遇到下面的提示,各位老大能否帮分析下是什么原因?
yawiki
2015-07-21, 00:13 上午
果然,确实是windbg版本的问题,换了另一个版本就好了