I’ve been away from Windows for a bit, so maybe my memory is fuzzy, but setting the symbol path with .symfix c:\symbols used to work. I’ve found that in the current version, it isn’t actually setting the sympath correctly. It says it is, but it’s not set:
0: kd> .symfix c:\symbols
0: kd> .sympath
Symbol search path is: srv*
Expanded Symbol search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
Also, even when it is fully set (manually setting the sympath), the setting is insufficient (I’m debugging a crash dump file minidump to be exact):
0: kd> .sympath SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
Symbol search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
Expanded Symbol search path is: srv*c:\symbols*http://msdl.microsoft.com/download/symbols
0: kd> .reload /f nt
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntoskrnl.exe\4B1E860A3b9000\ntoskrnl.exe not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntoskrnl.exe\4B1E860A3b9000\ntoskrnl.exe not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntoskrnl.exe/4B1E860A3b9000/ntoskrnl.exe not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntkrnlup.exe\4B1E860A3b9000\ntkrnlup.exe not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntkrnlup.exe\4B1E860A3b9000\ntkrnlup.exe not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntkrnlup.exe/4B1E860A3b9000/ntkrnlup.exe not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntkrnlpa.exe\4B1E860A3b9000\ntkrnlpa.exe not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntkrnlpa.exe\4B1E860A3b9000\ntkrnlpa.exe not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntkrnlpa.exe/4B1E860A3b9000/ntkrnlpa.exe not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntkrnlmp.exe\4B1E860A3b9000\ntkrnlmp.exe not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntkrnlmp.exe\4B1E860A3b9000\ntkrnlmp.exe not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntkrnlmp.exe/4B1E860A3b9000/ntkrnlmp.exe not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntkrpamp.exe\4B1E860A3b9000\ntkrpamp.exe not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntkrpamp.exe\4B1E860A3b9000\ntkrpamp.exe not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntkrpamp.exe/4B1E860A3b9000/ntkrpamp.exe not found
DBGHELP: C:\Program Files\Debugging Tools for Windows\ntoskrnl.exe - file not found
DBGHELP: C:\Program Files\Debugging Tools for Windows\ntkrnlup.exe - file not found
DBGHELP: C:\Program Files\Debugging Tools for Windows\ntkrnlpa.exe - file not found
DBGHELP: C:\Program Files\Debugging Tools for Windows\ntkrnlmp.exe - file not found
DBGHELP: C:\Program Files\Debugging Tools for Windows\ntkrpamp.exe - file not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntoskrnl.exe\4B1E860A3b9000\ntoskrnl.exe not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntoskrnl.exe/4B1E860A3b9000/ntoskrnl.exe not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntkrnlup.exe\4B1E860A3b9000\ntkrnlup.exe not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntkrnlup.exe/4B1E860A3b9000/ntkrnlup.exe not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntkrnlpa.exe\4B1E860A3b9000\ntkrnlpa.exe not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntkrnlpa.exe/4B1E860A3b9000/ntkrnlpa.exe not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntkrnlmp.exe\4B1E860A3b9000\ntkrnlmp.exe not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntkrnlmp.exe/4B1E860A3b9000/ntkrnlmp.exe not found
SYMSRV: C:\Program Files\Debugging Tools for Windows\sym\ntkrpamp.exe\4B1E860A3b9000\ntkrpamp.exe not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntkrpamp.exe/4B1E860A3b9000/ntkrpamp.exe not found
DBGENG: \SystemRoot\system32\ntkrnlpa.exe - Image mapping disallowed by non-local path.
Unable to load image \SystemRoot\system32\ntkrnlpa.exe, Win32 error 0n2
DBGENG: ntkrnlpa.exe - Partial symbol image load missing image info
DBGHELP: No header for ntkrnlpa.exe. Searching for dbg file
DBGHELP: .\ntkrnlpa.dbg - file not found
DBGHELP: .\exe\ntkrnlpa.dbg - path not found
DBGHELP: .\symbols\exe\ntkrnlpa.dbg - path not found
DBGHELP: ntkrnlpa.exe missing debug info. Searching for pdb anyway
DBGHELP: Can’t use symbol server for ntkrnlpa.pdb - no header information available
DBGHELP: ntkrnlpa.pdb - file not found
*** WARNING: Unable to verify timestamp for ntkrnlpa.exe
*** ERROR: Module load completed but symbols could not be loaded for ntkrnlpa.exe
DBGHELP: nt - no symbols loaded
Only after I appended the system32 directory to the path was it able to download symbols:
0: kd> .sympath
Symbol search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols;c:\windows\system32
Expanded Symbol search path is: srv*c:\symbols*http://msdl.microsoft.com/download/symbols;c:\windows\system32
0: kd> .reload /f nt
SYMSRV: c:\symbols\ntoskrnl.exe\4B1E860A3b9000\ntoskrnl.exe not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntoskrnl.exe/4B1E860A3b9000/ntoskrnl.exe not found
DBGENG: c:\windows\system32\ntoskrnl.exe image header does not match memory image header.
DBGHELP: c:\windows\system32\ntoskrnl.exe - mismatched
SYMSRV: c:\symbols\ntkrnlup.exe\4B1E860A3b9000\ntkrnlup.exe not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntkrnlup.exe/4B1E860A3b9000/ntkrnlup.exe not found
SYMSRV: c:\symbols\ntkrnlpa.exe\4B1E860A3b9000\ntkrnlpa.exe not found
SYMSRV: http://msdl.microsoft.com/download/symbols/ntkrnlpa.exe/4B1E860A3b9000/ntkrnlpa.exe not found
DBGHELP: c:\windows\system32\ntkrnlpa.exe - OK
DBGENG: c:\windows\system32\ntkrnlpa.exe - Mapped image memory
DBGHELP: nt - public symbols
c:\symbols\ntkrpamp.pdb\F69FAA7723254EB6887E232DF21E6A9F2\ntkrpamp.pdb
I wouldn’t expect it to need to find the kernel file for the local system when debugging a crash dump that may or may not have been generated on this system. It may be a completely different version than the one on the system where the dump was generated.
Beverly
From: Beverly Brown
Sent: Sunday, March 07, 2010 7:03 PM
To: Kernel Debugging Interest List
Subject: Re: [windbg] My windbg can’t download symols
I’m seeing the same problem as the OP. I’m running windbg (the latest version from the 7.1 WDK) on a Vista system.
I tried disabling antivirus and firewall.
Beverly
From: Doron Holan
Sent: Wednesday, February 03, 2010 2:46 AM
To: Kernel Debugging Interest List
Subject: RE: [windbg] My windbg can’t download symols
I just checked at home and it works. Perhaps you have a firewall or antivirus issue on your machine
d
tiny phone keyboard + fat thumbs = you do the muth
From: bb y
Sent: Tuesday, February 02, 2010 11:22 PM
To: Kernel Debugging Interest List
Subject: Re: [windbg] My windbg can’t download symols
IE output is " can’t find server",is this site available to visit?
2010/2/3 Jen-Lung Chiu
From the same machine, please start IE and type in ?http://msdl.microsoft.com/download/symbols?, what does IE output?
Sorry need to delete previous mails (for reason below).
Dear ListMember,
For security reasons, the NTDEV and NTFSD lists do not accept messages that are encoded in base64, messags with unusual MIME body parts (such as audio or video) or messages that have attachments. This includes messages with attractive little icons in your signature or whatever.
We apologize for any inconvenience this may cause you, but this is the long-standing wish of the majority of list members.
The NTDEV and NTFSD List Slaves
—
WINDBG is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
— WINDBG is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
WINDBG is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer