Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
615 views
in Technique[技术] by (71.8m points)

windbg - How to check if the Microsoft symbol server is available, and contact them if not?

When I use WinDbg command .reload /f /v ntdll.dll to download symbol from microsoft symbol server the request always fails as below:

AddImage: C:WindowsSystem32
tdll.dll  DllBase  = 00007ffc`27850000 
Size     = 001ce000  Checksum = 001ca321  TimeDateStamp = 57dcb78c
SYMSRV:  BYINDEX: 0x10D
         d:symbols*http://msdl.microsoft.com/download/symbols
         ntdll.pdb
         70F83B45D56645FD962606D8D09AF5971 SYMSRV:  d:symbols
tdll.pdb70F83B45D56645FD962606D8D09AF5971
tdll.pdb -
file not found SYMSRV:  HTTPGET:
/download/symbols/ntdll.pdb/70F83B45D56645FD962606D8D09AF5971/ntdll.pdb
SYMSRV:  HttpQueryInfo: 404 - HTTP_STATUS_NOT_FOUND SYMSRV:  HTTPGET:
/download/symbols/ntdll.pdb/70F83B45D56645FD962606D8D09AF5971/ntdll.pd_

SYMSRV:  HttpQueryInfo: 404 - HTTP_STATUS_NOT_FOUND SYMSRV:  HTTPGET:
/download/symbols/ntdll.pdb/70F83B45D56645FD962606D8D09AF5971/file.ptr
SYMSRV:  HttpQueryInfo: 404 - HTTP_STATUS_NOT_FOUND SYMSRV: 
d:symbols
tdll.pdb70F83B45D56645FD962606D8D09AF5971
tdll.pdb not
found SYMSRV: 
....symbols/ntdll.pdb/70F83B45D56645FD962606D8D09AF5971/ntdll.pdb not
found SYMSRV:  BYINDEX: 0x10E
         d:symcache
         ntdll.pdb
         70F83B45D56645FD962606D8D09AF5971 SYMSRV:  d:symcache
tdll.pdb70F83B45D56645FD962606D8D09AF5971
tdll.pdb -
file not found SYMSRV: 
d:symcache
tdll.pdb70F83B45D56645FD962606D8D09AF5971
tdll.pdb not
found DBGHELP: ntdll.pdb - file not found
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntdll.dll -  DBGHELP: ntdll - export symbols

 ************* Symbol Loading Error Summary ************** 
Module name            Error 
ntdll                  The system cannot find the file specified
: srv*d:symbols*http://msdl.microsoft.com/download/symbols
                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.

                        PDB not found : cache*d:symcache
                Unable to locate the .pdb file in this location

How to find out if the Microsoft symbol server is available? And if it's not available, how to contact them?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

The official email address for reporting missing symbols is windbgfb@microsoft.com, on this page. Symbols for newly patched files are usually available within 1 week after each Patch Tuesday, so you may want to wait a few days before contacting them if the files are recently updated.

By the way, you should use https://msdl.microsoft.com/download/symbols. [1]

[1] https://docs.microsoft.com/en-us/windows/desktop/DxTechArts/debugging-with-symbols#using-the-microsoft-symbol-server


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...