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

How to load debug symbols

56 views
Skip to first unread message

Michal Kluka

unread,
Apr 1, 2003, 10:11:31 AM4/1/03
to
Hi!
I am using WINDBG 6.1.17.2 on WIN2K with all security & SP applied.
I am not able to load debug symbols from Microsoft Symbol server.

This is an output I got when I tried to load symbols for kernel32.dll

0:000> .reload /f kernel32.dll
DBGHELP: C:\WINNT\system32\KERNEL32.dll is stripped. Searching for
dbg file
SYMSRV: kernel32.db_ from http://msdl.microsoft.com/download/symbols:
13015 bytes - 244SYMSRV: kernel32.db_ from
http://msdl.microsoft.com/download/symbols: 13015 bytes -
244DBGHELP: C:\WINNT\system32\kernel32.dbg - file not found
DBGHELP: C:\WINNT\system32\symbols\dll\kernel32.dbg - path not found
DBGHELP: C:\WINNT\system32\dll\kernel32.dbg - path not found
DBGHELP: C:\WINNT\system32\KERNEL32.dll missing debug info. Searching
for pdb anyway
DBGHELP: Can't use symbol server for KERNEL32.pdb - no header
information available
DBGHELP: C:\WINNT\system32\KERNEL32.pdb - file not found
DBGHELP: KERNEL32.pdb - file not found
*** ERROR: Symbol file could not be found. Defaulted to export
symbols for C:\WINNT\system32\KERNEL32.dll -

Am I missing something? Why it doesn't work.
thank you
Michal

Martin Chisholm [MSFT]

unread,
Apr 3, 2003, 2:56:26 PM4/3/03
to
I just tried on a Win2000 machine and it worked for me.

So could you please post some more information about your
kernel32.dll? Specifically, the date/time stamp, size, and version
number. 'filever' from the Resource Kit makes this easy, but I believe
you can also use explorer to get the version number. It should be
something like '5.0.2195.6079'.

-martin

Boring-but-necessary-disclaimer: This posting is provided "AS IS" with
no warranties, and confers no rights.


In article <b14a133b.0304...@posting.google.com>,

David Holcomb [MS]

unread,
Apr 5, 2003, 11:28:06 AM4/5/03
to
Or just do the following:

!lmi kernel32
lmv mkernel32

--
--


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


"Martin Chisholm [MSFT]" <mar...@online.microsoft.com> wrote in message
news:b6i3la$e7h$1...@drizzle.com...

Michal Kluka

unread,
Apr 9, 2003, 12:22:54 PM4/9/03
to
Hi!
> !lmi kernel32

C:\WINNT\system32\KERNEL32.dll -
0:000> !lmi kernel32
Loaded Module Info: [kernel32]
Module: KERNEL32
Base Address: 77e80000
Image Name: C:\WINNT\system32\KERNEL32.dll
Machine Type: 332 (I386)
Time Stamp: 3dc31d51 Sat Nov 02 01:33:21 2002
Size: b1000
CheckSum: b7998
Characteristics: 230e stripped
Debug Data Dirs: Type Size VA Pointer
MISC 110, 0, ad000 [Debug data not mapped]
Symbol Type: EXPORT - PDB not found
Load Report: export symbols
> lmv mkernel32
0:000> lmv mkernel32
start end module name
77e80000 77f31000 KERNEL32 (export symbols)
C:\WINNT\system32\KERNEL32.dll
Loaded symbol image file: C:\WINNT\system32\KERNEL32.dll
Image path: C:\WINNT\system32\KERNEL32.dll
Timestamp: Sat Nov 02 01:33:21 2002 (3DC31D51) Checksum: 000B7998
File version: 5.0.2195.6079
Product version: 5.0.2195.6079
File flags: 0 (Mask 3F)
File OS: 40004 NT Win32
File type: 2.0 Dll
File date: 00000000.00000000
CompanyName: Microsoft Corporation
ProductName: Microsoft(R) Windows (R) 2000 Operating System
InternalName: kernel32
OriginalFilename: kernel32
ProductVersion: 5.00.2195.6079
FileVersion: 5.00.2195.6079
FileDescription: Windows NT BASE API Client DLL
LegalCopyright: Copyright (C) Microsoft Corp. 1981-1999

David Holcomb [MS]

unread,
Apr 18, 2003, 12:03:24 PM4/18/03
to

Can you clarify what your .sympath looks like. Is it this?

SRV*http://msdl.microsoft.com/download/symbols;C:\WINNT

If so, what happens if you drop the C:\WINNT from the sympath?

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

"Michal Kluka" <michal...@centrum.cz> wrote in message
news:b14a133b.03040...@posting.google.com...
> Hi!
> > !lmi kernel32


> C:\WINNT\system32\KERNEL32.dll -

"David Holcomb [MS]" <dhol...@microsoft.com> wrote in message
news:3e8f0412$1...@news.microsoft.com...

David Holcomb [MS]

unread,
Apr 18, 2003, 12:17:26 PM4/18/03
to
Also, as a last resort you can send me ZIP'ed or CAB'ed dump of your process
in this state and I can try to repro the problem here with your sympath.

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

"David Holcomb [MS]" <dhol...@microsoft.com> wrote in message

news:3ea021cb$1...@news.microsoft.com...

0 new messages