anand
anand

Reputation: 11309

How to get OS information from minidump crash?

I am trying to debug a minidump crash dump. How can I get to know the OS so that I may download related Microsoft Symbols?

I am using Visual studio and windbg.

Upvotes: 0

Views: 1204

Answers (3)

snoone
snoone

Reputation: 5489

I haven't seen that syntax for the MS symbol server before, I usually just do:

.symfix h:\symbols .reload

From within the debugging session. It automatically sets your symbol search path to point to the symbol server so you don't have to worry about remembering the path.

-scott

Upvotes: 0

Alex Budovski
Alex Budovski

Reputation: 18446

vertarget will tell you the target machine of the minidump.

Upvotes: 1

Richard
Richard

Reputation: 108995

The dump contains enough information so that the symbol server client will load download and use the symbols that match the executable and dlls.

I.e. define environment variable _NT_SYMBOL_PATH to something like:

symsrv*symsrv.dll*h:\Symbols*http://referencesource.microsoft.com/symbols*http://msdl.microsoft.com/download/symbols

where h:\symbols is a writeable folder. The debugging tools will do the rest.

Note:

  • You need to do it this way because patches, including service packs, also change the version of the symbols.
  • The first download location is used for .NET with source server, if not working with .NET that can be removed.

Upvotes: 3

Related Questions