windbg无法下载符号文件

symbol file path: srv*d:symbolslocal*http://msdl.microsoft.com/download/symbols

即使设置是对的,但我用.reload,却仍无法下载符号

Microsoft (R) Windows Debugger Version 10.0.14321.1024 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

Opened \.pipekd_Win7x86
Waiting to reconnect...
Connected to Windows 7 7601 x86 compatible target at (Fri Dec 30 20:47:03.022 2016 (UTC + 8:00)), ptr64 FALSE
Kernel Debugger connection established.

************* Symbol Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*d:symbolslocal*http://msdl.microsoft.com/download/symbols
Symbol search path is: srv*d:symbolslocal*http://msdl.microsoft.com/download/symbols
Executable search path is: 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntkrpamp.exe - 
Windows 7 Kernel Version 7601 MP (1 procs) Free x86 compatible
Built by: 7601.17514.x86fre.win7sp1_rtm.101119-1850
Machine Name:
Kernel base = 0x83e09000 PsLoadedModuleList = 0x83f53850
System Uptime: not available
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntkrpamp.exe - 
nt!DbgLoadImageSymbols+0x47:
83e21578 cc              int     3
kd> .reload /o
Connected to Windows 7 7601 x86 compatible target at (Fri Dec 30 20:47:10.054 2016 (UTC + 8:00)), ptr64 FALSE
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntkrpamp.exe - 
Loading Kernel Symbols
.....................................................
Loading User Symbols

Loading unloaded module list
Unable to enumerate kernel-mode unloaded modules, HRESULT 0x80004005

************* Symbol Loading Error Summary **************
Module name            Error
ntkrpamp               The system cannot find the file specified

You can troubleshoot most symbol related issues by turning on symbol loading diagnostics (!sym noisy) and repeating the command that caused symbols to be loaded.
You should also verify that your symbol search path (.sympath) is correct.
kd> !sym noisy
noisy mode - symbol prompts on
kd> .reload /o
Connected to Windows 7 7601 x86 compatible target at (Fri Dec 30 20:47:37.843 2016 (UTC + 8:00)), ptr64 FALSE
SYMSRV:  BYINDEX: 0x4
         d:symbolslocal*http://msdl.microsoft.com/download/symbols
         ntkrpamp.pdb
         684DA42A30CC450F81C535B4D18944B12
SYMSRV:  d:symbolslocal
tkrpamp.pdb684DA42A30CC450F81C535B4D18944B12
tkrpamp.pdb - file not found
SYMSRV:  HTTPGET: /download/symbols/ntkrpamp.pdb/684DA42A30CC450F81C535B4D18944B12/ntkrpamp.pdb
SYMSRV:  HttpSendRequest: 12029 - ERROR_INTERNET_CANNOT_CONNECT
SYMSRV:  d:symbolslocal
tkrpamp.pdb684DA42A30CC450F81C535B4D18944B12
tkrpamp.pdb not found
SYMSRV:  http://msdl.microsoft.com/download/symbols/ntkrpamp.pdb/684DA42A30CC450F81C535B4D18944B12/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
Unable to enumerate kernel-mode unloaded modules, HRESULT 0x80004005

************* Symbol Loading Error Summary **************
Module name            Error
ntkrpamp               The system cannot find the file specified
                The SYMSRV client failed to find a file in the UNC store, or there
                is an invalid UNC store (an invalid path or the pingme.txt file is
                not present in the root directory), or the file is present in the
                symbol server exclusion list.

kd> g
KDTARGET: Refreshing KD connection
Break instruction exception - code 80000003 (first chance)
*******************************************************************************
*                                                                             *
*   You are seeing this message because you pressed either                    *
*       CTRL+C (if you run console kernel debugger) or,                       *
*       CTRL+BREAK (if you run GUI kernel debugger),                          *
*   on your debugger machine's keyboard.                                      *
*                                                                             *
*                   THIS IS NOT A BUG OR A SYSTEM CRASH                       *
*                                                                             *
* If you did not intend to break into the debugger, press the "g" key, then   *
* press the "Enter" key now.  This message might immediately reappear.  If it *
* does, press "g" and "Enter" again.                                          *
*                                                                             *
*******************************************************************************
SYMSRV:  BYINDEX: 0x5
         d:symbolslocal*http://msdl.microsoft.com/download/symbols
         ntdll.dll
         4CE7B96E13c000
SYMSRV:  d:symbolslocal
tdll.dll4CE7B96E13c000
tdll.dll - file not found
SYMSRV:  HTTPGET: /download/symbols/ntdll.dll/4CE7B96E13c000/ntdll.dll
SYMSRV:  HttpSendRequest: 12029 - ERROR_INTERNET_CANNOT_CONNECT
SYMSRV:  d:symbolslocal
tdll.dll4CE7B96E13c000
tdll.dll not found
SYMSRV:  http://msdl.microsoft.com/download/symbols/ntdll.dll/4CE7B96E13c000/ntdll.dll not found
DBGHELP: E:Program Files (x86)Windows Kits10Debuggersx64
tdll.dll - file not found
DBGHELP: E:Program Files (x86)Windows Kits10Debuggersx64
tdll.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
tdll.dbg4CE7B96E13c000
tdll.dbg - file not found
SYMSRV:  HTTPGET: /download/symbols/ntdll.dbg/4CE7B96E13c000/ntdll.dbg
SYMSRV:  HttpSendRequest: 12029 - ERROR_INTERNET_CANNOT_CONNECT
SYMSRV:  d:symbolslocal
tdll.dbg4CE7B96E13c000
tdll.dbg not found
SYMSRV:  http://msdl.microsoft.com/download/symbols/ntdll.dbg/4CE7B96E13c000/ntdll.dbg not found
DBGHELP: .
tdll.dbg - file not found
DBGHELP: .dll
tdll.dbg - path not found
DBGHELP: .symbolsdll
tdll.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
DBGHELP: ntdll - no symbols loaded
SYMSRV:  BYINDEX: 0x7
         d:symbolslocal*http://msdl.microsoft.com/download/symbols
         halmacpi.pdb
         AE605D6C59454802AE1D485E0B089A571
SYMSRV:  d:symbolslocalhalmacpi.pdbAE605D6C59454802AE1D485E0B089A571halmacpi.pdb - file not found
SYMSRV:  HTTPGET: /download/symbols/halmacpi.pdb/AE605D6C59454802AE1D485E0B089A571/halmacpi.pdb
SYMSRV:  HttpSendRequest: 12029 - ERROR_INTERNET_CANNOT_CONNECT
SYMSRV:  d:symbolslocalhalmacpi.pdbAE605D6C59454802AE1D485E0B089A571halmacpi.pdb not found
SYMSRV:  http://msdl.microsoft.com/download/symbols/halmacpi.pdb/AE605D6C59454802AE1D485E0B089A571/halmacpi.pdb not found
DBGHELP: halmacpi.pdb - file not found
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for halmacpi.dll - 
DBGHELP: hal - export symbols
nt!DbgBreakPointWithStatus+0x4:
83e84110 cc              int     3
1: kd> g
Shutdown occurred at (Fri Dec 30 21:05:16.454 2016 (UTC + 8:00))...unloading all symbol tables.

************* Symbol Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*d:symbolslocal*http://msdl.microsoft.com/download/symbols
Waiting to reconnect...

SYMSRV:  HttpSendRequest: 12029 - ERROR_INTERNET_CANNOT_CONNECT, 看到了这一行,想到了:

1防火墙或者杀毒软件给他屏蔽了,但不可能,因为我根本没开过

2我的IE一直是不能上网的,用的是CHROME,以前有些软件内部需要用IE打开网页的也全部失败,,然后我就想到是不是因为这个原因.

之后我找到了http://blog.csdn.net/z15872384393/article/details/52822284

按他说的做了,之后,成功了

SYMSRV:  BYINDEX: 0x43
         d:symbolslocal*http://msdl.microsoft.com/download/symbols
         acpi.pdb
         E7300A0CC3524834A4E1E55773C1901E1
SYMSRV:  d:symbolslocalacpi.pdbE7300A0CC3524834A4E1E55773C1901E1acpi.pdb - file not found
SYMSRV:  HTTPGET: /download/symbols/acpi.pdb/E7300A0CC3524834A4E1E55773C1901E1/acpi.pdb
SYMSRV:  HttpQueryInfo: 404 - HTTP_STATUS_NOT_FOUND
SYMSRV:  HTTPGET: /download/symbols/acpi.pdb/E7300A0CC3524834A4E1E55773C1901E1/acpi.pd_
SYMSRV:  HttpQueryInfo: 200 - HTTP_STATUS_OK
SYMSRV:  d:symbolslocalacpi.pdbE7300A0CC3524834A4E1E55773C1901E1acpi.pdb - file not found
SYMSRV:  acpi.pdb from http://msdl.microsoft.com/download/symbols: 131749 bytes - copied         

SYMSRV:  PATH: d:symbolslocalacpi.pdbE7300A0CC3524834A4E1E55773C1901E1acpi.pdb

不会再ERROR_CANNOT_CONNECT_INTERNET(错误_不能_连接_因特网)了

原文地址:https://www.cnblogs.com/cqubsj/p/6238725.html