我正在使用VmWare远程调试windows vista,但我遇到了
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntkrpamp.exe "
另外,如果我在windbg中给出“!process 0 0”,我会得到
**** NT ACTIVE PROCESS DUMP **** NT symbols are incorrect, please fix symbols
我尝试将_NT_SYMBOL_PATH设置为“symsrv * symsrv.dll * c:\ symbols * http://msdl.microsoft.com/download/symbols”(这是http://support.microsoft.com/kb/311503/中给出的),然后我更改了windbg的符号文件路径为“srv * C:\ Symbols \ MsSymbols * http://msdl.microsoft.com/download/symbols”,但即便如此我得到相同的错误,当我运行symchk.exe下载符号时,我可以得到很多失败的消息。 当我尝试在运行后使用.reload重新加载!sym noisy,我得到了
Connected to Windows Vista 6000 x86 compatible target at (Sat Jan 28 16:52:23.839 2012 (GMT+5)), ptr64 FALSE
SYMSRV: The system cannot find the file specified.
SYMSRV: The system cannot find the file specified.
SYMSRV: The system cannot find the file specified.
SYMSRV: c:\symbols\mssymbols\ntkrpamp.pdb\FD50D285751D4684938604B2CC1B41682\ntkrpamp.pdb not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntkrpamp.pdb/FD50D285751D4684938604B2CC1B41682/ntkrpamp.pdb not found
DBGHELP: ntkrpamp.pdb - file not found
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntkrpamp.exe -
DBGHELP: nt - export symbols
Loading Kernel Symbols
...............................................................
................................................................
............
Loading User Symbols
Loading unloaded module list
....
但是当我尝试运行时!进程0 0,我收到错误的错误符号
感谢您的帮助和提前的时间..
答案 0 :(得分:8)
您的固定符号路径对我来说很好,第一条路径完全不正确。您可以尝试以下命令并查看它是否有效吗?
.symfix c:\websymbols
.reload /o
如果这不起作用,你在目标上运行和正式版吗?就像在,它不是测试版或其他东西,对吗?您可能还想排除任何网络问题。
答案 1 :(得分:0)
我遇到了同样的问题。 这是我的IE浏览器无法连接Internet(而其他人可以)导致windbg返回ERROR_CANNOT_CONNECT_INTERNET导致无法找到pdb文件..
SYMSRV: BYINDEX: 0x5
d:\symbolslocal*http://msdl.microsoft.com/download/symbols
ntdll.dll
4CE7B96E13c000
SYMSRV: d:\symbolslocal\ntdll.dll\4CE7B96E13c000\ntdll.dll - file not found
SYMSRV: HTTPGET: /download/symbols/ntdll.dll/4CE7B96E13c000/ntdll.dll
SYMSRV: HttpSendRequest: 12029 - ERROR_INTERNET_CANNOT_CONNECT
SYMSRV: d:\symbolslocal\ntdll.dll\4CE7B96E13c000\ntdll.dll not found
SYMSRV:http://msdl.microsoft.com/download/symbols/ntdll.dll/4CE7B96E13c000/ntdll.dll not found
DBGHELP: E:\Program Files (x86)\Windows Kits\10\Debuggers\x64\ntdll.dll - file not found
DBGHELP: E:\Program Files (x86)\Windows Kits\10\Debuggers\x64\ntdll.dll - file not found
DBGENG: ntdll.dll - Image mapping disallowed by non-local path.
DBGHELP: No debug info for ntdll.dll. Searching for dbg file
SYMSRV: BYINDEX: 0x6
d:\symbolslocal*http://msdl.microsoft.com/download/symbols
ntdll.dbg
4CE7B96E13c000
SYMSRV: d:\symbolslocal\ntdll.dbg\4CE7B96E13c000\ntdll.dbg - file not found
SYMSRV: HTTPGET: /download/symbols/ntdll.dbg/4CE7B96E13c000/ntdll.dbg
SYMSRV: HttpSendRequest: 12029 - ERROR_INTERNET_CANNOT_CONNECT
SYMSRV: d:\symbolslocal\ntdll.dbg\4CE7B96E13c000\ntdll.dbg not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntdll.dbg/4CE7B96E13c000/ntdll.dbg not found
DBGHELP: .\ntdll.dbg - file not found
DBGHELP: .\dll\ntdll.dbg - path not found
DBGHELP: .\symbols\dll\ntdll.dbg - path not found
DBGHELP: ntdll.dll missing debug info. Searching for pdb anyway
DBGHELP: Can't use symbol server for ntdll.pdb - no header information available
DBGHELP: ntdll.pdb - file not found
*** ERROR: Module load completed but symbols could not be loaded for ntdll.dll
所以只需修复IE问题,那么windbg就可以了。 关于如何修复IE问题, 打开'互联网选项'---> '连接'---> 删除所有连接----->重启IE ----> IE OK
然后windbg现在可以访问Internet,它现在可以下载符号文件。
IE无法访问INTERNET可能会在许多程序中导致许多问题。希望它有所帮助。