Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RE: Symbol Server error: Just how am I supposed to fix this?

240 views
Skip to first unread message

Rhett Gong [MSFT]

unread,
Apr 25, 2005, 1:24:40 AM4/25/05
to
Glad to see you Gak.
To isolate the problem you may try set another symbol path instead of using
"d:\symbols" to see if it is an error for all symbols or just a error for a
certain exe/dll. If all files can't get correct symbols, you may contact
your network admin to resolve this problem. If only one of the exe/dll
can't get symbols, what we need to do is to wait, since it is probably that
the symbols may not be updated after you installed some fixes/patches.

Thanks,
Rhett Gong [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties and confers no rights.

usfinecats

unread,
Apr 25, 2005, 9:03:25 PM4/25/05
to
It was my sense that the Symbol Server downloads symbols from
msdl\microsoft.com... or something and then stashes those symbols in my
symbol directory.

And further the docs say:

Public Symbol Store
Microsoft has a Web site that makes Windows symbols publicly available. You
can refer directly to this site in your symbol path:

set
_NT_SYMBOL_PATH=srv*DownstreamStore*http://msdl.microsoft.com/download/symbols

Now when I look at my environment variables, I have

_NT_SYMBOL_PATH=srv*D:\Symbols*http://msdl.microsoft.com/download/symbols*D:\filearch\objchk_wnet_x86\i386

I find D:\Symbols is empty, and I keep getting errors.
What am I goofing up?
Thanks

usfinecats

unread,
Apr 25, 2005, 10:19:02 PM4/25/05
to
Rhett,

Env variable is :

_NT_SYMBOL_PATH=srv*D:\Symbols*http://msdl.microsoft.com/download/symbols*D:\filearch\objchk_wnet_x86\i386

D:\symbols is empty, I thought the Symbol Server would download symbols to
the down load dir, in this case D:Symbols.

How do I get this to work correctly? PS my symbols in D:\Filearch... are
fine.

Rhett Gong [MSFT]

unread,
Apr 25, 2005, 11:11:59 PM4/25/05
to
Yes, if you set the environment variable as
"_NT_SYMBOL_PATH=srv*D:\Symbols*http://msdl.microsoft.com/download/symbols".
When you try load windbg or vsnet, the symbols will be downloaded into
"D:\Symbols" folder, and this may take some time (if you are using vsnet,
you may restart vsnet to see the effect).
If you still have problems to downloaded the symbols, you may need to
contact your admin to turn off (or reconfig firewall) to have the symbols
correctly downloaded..

PS. at the time I wrote this post, I have made a test with
"_NT_SYMBOL_PATH=srv*c:\tempSymbols*http://msdl.microsoft.com/download/symbo
ls", from windbg, I get following output when "ld notepad"
c:\tempSymbols\notepad.pdb\F679AEF8BE1F44CAB4CBC4B52D77241B1\notepad.pdb
So the symbols server is ok.

Thanks,
Rhett Gong [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties and confers no rights.

Chris

unread,
Apr 26, 2005, 9:21:38 AM4/26/05
to
I think you may want this:

_NT_SYMBOL_PATH=srv*D:\Symbols*http://msdl.microsoft.com/download/symbols;D:\filearch\objchk_wnet_x86\i386

Note the ; before D:\filearch\objchk_wnet_x86\i386

...Chris


"usfinecats" <usfin...@nospam.nospam> wrote in message
news:1BF3DFE6-81E4-4650...@microsoft.com...

usfinecats

unread,
Apr 26, 2005, 2:16:07 PM4/26/05
to
I am the admin, as well as the janitor, the CEO, the Director of Engineering
dept, and coder extraordinaire. What do I have to set in my firewall to
enable symbols?

Chris

unread,
Apr 26, 2005, 3:44:17 PM4/26/05
to
Oops, I see in the original post that you have just what I suggested. Doh!

Have you turned on "!sym noisy" to see if you get more information?

Regards, Chris


"Chris" <cdore.connecttech.com> wrote in message
news:%234S8hLm...@TK2MSFTNGP15.phx.gbl...

Rhett Gong [MSFT]

unread,
Apr 26, 2005, 11:02:43 PM4/26/05
to
I am not sure what is the configuration of your network, you may take a
look at the article "Firewalls and Proxy Servers" in windbg doc to see if
it could help you resolved your problem.

If you still have problem to configurate your network to all windbg access
the symbols server, i suggest you post your network configuration in
microsoft.public.windowsxp.network_web for a proper help.
Unfortunately the microsoft.public.windowsxp.network_web are not part of
the managed newsgroup list that we guarantee a 2 business day response, so
the response from the community could take a little bit longer. For a list
MSDN Managed newsgroups please visit the following
link;http://msdn.microsoft.com/newsgroups/managed/

I am sorry I have no specialty to help on Network configuration. But if you
meet any problems on debugging skills or commands, I am happy to be of
assist.

Thanks for your understanding,

Rhett Gong [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties and confers no rights.

Jason Shay [MSFT]

unread,
Apr 27, 2005, 4:25:10 PM4/27/05
to
What is the output of these commands?
.sympath
vertarget
!sym noisy
.reload /f nt

--
Jason Shay [MSFT]
js...@online.microsoft.com

This posting is provided "AS IS" with no warranties, and confers no rights
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"usfinecats" <usfin...@nospam.nospam> wrote in message

news:8EB8AD6F-F564-4ACE...@microsoft.com...

Rhett Gong [MSFT]

unread,
Apr 29, 2005, 4:06:49 AM4/29/05
to
Jason reminds us some steps that we can use to troubleshoot what may cause
your problem. Could you try using command Jason suggested ( .sympath,
vertarget, !sym noisy .reload /f notepad.exe) and post to let us see what
you get please?

For a correct report, it should be similiar with:
// _NT_SYMBOL_PATH=srv*c:\Symbols*http://msdl.microsoft.com/download/symbols
//----------output-----------------------------
0:000> !sym noisy
noisy mode - symbol prompts on
0:000> vertarget
Windows XP Version 2600 (Service Pack 2) UP Free x86 compatible
Product: WinNt, suite: SingleUserTS
kernel32.dll version: 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
Debug session time: Fri Apr 29 16:01:36.896 2005 (GMT+8)
System Uptime: 0 days 5:41:47.452
Process Uptime: 0 days 0:00:24.245
Kernel time: 0 days 0:00:00.020
User time: 0 days 0:00:00.010
0:000> .reload /f notepad.exe
SYMSRV: notepad.pd_ from http://msdl.microsoft.com/download/symbols: 16558
bytes copied
DBGHELP: notepad - public symbols

c:\Symbols\notepad.pdb\F679AEF8BE1F44CAB4CBC4B52D77241B1\notepad.pdb
0:000> .sympath
Symbol search path is:
srv*c:\Symbols*http://msdl.microsoft.com/download/symbols
//-----------------------------------------------------

I look forward to hearing back from you with the details.

Thanks and regards,

usfinecats

unread,
Apr 29, 2005, 12:42:05 PM4/29/05
to

kd> .symfix
No downstream store given, using D:\Program Files\Debugging Tools for
Windows\sym
kd> .sympath
Symbol search path is: SRV**http://msdl.microsoft.com/download/symbols
kd> vertarget
Windows XP Kernel Version 2600 (Service Pack 1) UP Free x86 compatible
Built by: 2600.xpsp2.030422-1633
Kernel base = 0x804d4000 PsLoadedModuleList = 0x80543530
Debug session time: Fri Apr 29 09:30:19.343 2005 (GMT-7)
System Uptime: 0 days 0:00:00.937
kd> !sym noisy

noisy mode - symbol prompts on
kd> .reload /f nt
SYMSRV: ntoskrnl.pdb\FB1EDACE71FB4812A5D5132819D72E523\ntoskrnl.pdb not found
SYMSRV:
http://msdl.microsoft.com/download/symbols/ntoskrnl.pdb/FB1EDACE71FB4812A5D5132819D72E523/ntoskrnl.pdb not found
DBGHELP: ntoskrnl.pdb - file not found
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
ntoskrnl.exe -
DBGHELP: nt - export symbols

Jason Shay [MSFT]

unread,
May 2, 2005, 6:00:01 PM5/2/05
to
Hmm, this one will be interesting. The file is indeed there, which means
something is blocking the communication (proxies, etc). One thing I can
recommend is to start the debugger with the '-n' parameter, which will cause
the noisy information to display from the beginning of the debug session.
Sometimes there are error messages right at the first symbol load attempt
which are useful.

--
Jason Shay [MSFT]
js...@online.microsoft.com

This posting is provided "AS IS" with no warranties, and confers no rights
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

"usfinecats" <usfin...@nospam.nospam> wrote in message

news:523286E1-920B-4A94...@microsoft.com...

usfinecats

unread,
May 3, 2005, 12:16:02 AM5/3/05
to
Do you mean -n on the command line?
This gives me an error about bad parameters!
Larry

usfinecats

unread,
May 3, 2005, 2:09:01 PM5/3/05
to
Jason,
Furthermore, I read the stuff about proxies and do not understand it.
My development computer is behind a Linksys router/firewall . Do I have
to do anything on the router to enable symbol download?

Jason Shay [MSFT]

unread,
May 3, 2005, 2:19:25 PM5/3/05
to
No, there shouldn't be anything special to setup that I know of. I think
symsrv.dll will attempt to go through your IE settings.

But I wonder why -n is giving you issues. I have sometimes seen cut/paste
from word emails translate the '-' to a "double-dash" character which the
console doesn't like. But I'm trying to see if you have output similar to
this:

c:\debuggers>kd -kl -n

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

Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE
Symbol search path is: SRV*c:\symcache*\\localhost\symbols
Executable search path is: SRV*c:\symcache*\\localhost\symbols
DBGHELP: SharedUserData - virtual symbol module
SYMSRV: store \\localhost\symbols - error 0x46a
SYMSRV:
c:\symcache\ntoskrnl.pdb\32962337F0F646388B39535CD8DD70E82\ntoskrnl.pdb not
found
SYMSRV:
\\localhost\symbols\ntoskrnl.pdb\32962337F0F646388B39535CD8DD70E82\ntoskrnl.pdb

not found
DBGHELP: ntoskrnl.pdb - file not found

Note in the first SYMSRV line, I get an error for my symbols location. I'm
trying to determine if there is some error which is being displayed at the
initial symbol load attempt on your machine (which would only be seen by
the -n parameter).


--
Jason Shay [MSFT]
js...@online.microsoft.com

This posting is provided "AS IS" with no warranties, and confers no rights
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"usfinecats" <usfin...@nospam.nospam> wrote in message

news:2FE13337-A672-438E...@microsoft.com...

usfinecats

unread,
May 3, 2005, 5:11:35 PM5/3/05
to
Ah, -n is for kd.

Here is the stuff that happens:


D:\Program Files\Debugging Tools for Windows>kd -kl -n

Microsoft (R) Windows Debugger Version 6.4.0007.2


Copyright (c) Microsoft Corporation. All rights reserved.

Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE
Symbol search path is:

srv*D:\Symbols*http://msdl.microsoft.com/download/symbols
;D:\filearch\objchk_wnet_x86\i386

Executable search path is:


DBGHELP: SharedUserData - virtual symbol module
SYMSRV:

D:\Symbols\ntoskrnl.pdb\C95EC79CFBFB4220AF2B6E9D09551A1F2\ntoskrnl.pdb
not found
SYMSRV:
http://msdl.microsoft.com/download/symbols/ntoskrnl.pdb/C95EC79CFBFB422
0AF2B6E9D09551A1F2/ntoskrnl.pdb not found
DBGHELP: D:\filearch\objchk_wnet_x86\i386\ntoskrnl.pdb - file not found
DBGHELP: D:\filearch\objchk_wnet_x86\i386\symbols\exe\ntoskrnl.pdb - file
not fo
und
DBGHELP: D:\filearch\objchk_wnet_x86\i386\exe\ntoskrnl.pdb - file not found


DBGHELP: ntoskrnl.pdb - file not found
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
ntos
krnl.exe -
DBGHELP: nt - export symbols

*******************************************************************************
WARNING: Local kernel debugging requires booting with /debug to work
optimally.
*******************************************************************************


Windows XP Kernel Version 2600 (Service Pack 1) UP Free x86 compatible

Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 2600.xpsp1.020828-1920
Kernel base = 0x804d4000 PsLoadedModuleList = 0x8054be30
Debug session time: Tue May 3 14:04:21.031 2005 (GMT-7)
System Uptime: 0 days 5:32:55.611
DBGHELP: IP not set!
lkd>

Jason Shay [MSFT]

unread,
May 3, 2005, 6:16:54 PM5/3/05
to
No clues there. What are the errors you get from putting each of these URLs
into IE?
http://msdl.microsoft.com/download/symbols/ntoskrnl.pdb/C95EC79CFBFB4220AF2B6E9D09551A1F2/ntoskrnl.pdb
http://msdl.microsoft.com/download/symbols/ntoskrnl.pdb/C95EC79CFBFB4220AF2B6E9D09551A1F2
http://msdl.microsoft.com/download/symbols/ntoskrnl.pdb/C95EC79CFBFB4220AF2B6E9D09551A1F3


--
Jason Shay [MSFT]
js...@online.microsoft.com

This posting is provided "AS IS" with no warranties, and confers no rights
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"usfinecats" <usfin...@nospam.nospam> wrote in message

news:27AF4C2F-9B0F-4B23...@microsoft.com...

0 new messages