Of what use are WinXP/Win2k memory dumps?

Antoneo

Diamond Member
May 25, 2001
3,911
0
0
Now, when windows suffers a blue screen of death soft error (or could that be due to a hard one as well?), it says it is dumping the memory. Just what exactly is Windows doing? Is the information inside of the memory dump useful; can someone tell me what they are able to do with that? I imagine developers/programmers can figure out what is wrong with their programs with it but is the dump of any worth of the average user who has a little background of C++?

I'm sorry if this is one of those "duh!!" questions but for those of you who have the key let me in on the secret.
 

TGHI

Senior member
Jan 13, 2004
227
0
0
I can't remember the URL, but it was in the MSDN that I saw all of the codes for blue screen errors in Win2k...though I am not sure how you get Win2k to crash. The only time I can get it to crash is when overclocking gets to far (usually too hard on the RAM) and Read/Write access fails, in which case memory addresses are unable to be accessed propely and the log is filled with such errors (eg, 0x9900FF write failure).

PS: Windows is written in C++, but compiled in Assembly. It's quite painful.
 

imported_Phil

Diamond Member
Feb 10, 2001
9,837
0
0
Originally posted by: TGHI

PS: Windows is written in C++, but compiled in Assembly. It's quite painful.

So are a large proportion of the programs on the market. If it was written in C++ and compiled in C++ then it would just be C++. Not a program.

Antoneo: you want to speak to dclive, he debugs minidumps a lot and should be able to tell you what's wrong.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
PS: Windows is written in C++, but compiled in Assembly. It's quite painful.

Technically everything is compiled to assembly before it's assembled into a binary and linked, what's your point?
 

Arcanedeath

Platinum Member
Jan 29, 2000
2,822
1
76
The Memory dumps or the Blue screens tell you what caused the problem if you can interpret them correctly.
 

kaziasif78

Member
Sep 16, 2004
46
0
0
Blue screen error has error codes say 0x0000007f etc this error codes have different meanings,Let me know whether u removed running hard disk from any of the system and placed in another system.
 

Smilin

Diamond Member
Mar 4, 2002
7,357
0
0
No, a memory dump isn't much use to an average users. Even someone with quite a bit of C++ knowledge won't find it very helpful. The dump isn't typically viewed in assembler either although you can unassemble code from within the debugger. Debugging crash dumps is very much a "black art" and very few people can do more than just the basics. Microsoft has a special team called CPR that these dumps are often escalated to. Those guys are frickin scary-smart. Scary.

If you wan't to take a look at one, download the debugging tools from Microsoft. It's the same tools they use internally, although you only have access to the public symbols rather than the internal symbols and source code.

Download windbg here:
http://www.microsoft.com/whdc/...ugging/installx86.mspx

The very first thing you'll want to do is configure your symbols path. Choose File | Symbol File Path..
Set the path like so: SRV*<Local symbol cache location>*<Symbol server path>
For example, mine is set to: SRV*C:\debugger\symbols*http://msdl.microsoft.com/download/symbols

Then, just drag and drop the memory.dmp into the debugger. You'll find the helpfiles to be pretty strong. I also think the debugger helpfiles are probably THE best reference for STOP codes.

More information:
http://www.microsoft.com/whdc/...ugging/debugstart.mspx
 

dclive

Elite Member
Oct 23, 2003
5,626
2
81
Originally posted by: Antoneo
Now, when windows suffers a blue screen of death soft error (or could that be due to a hard one as well?), it says it is dumping the memory. Just what exactly is Windows doing? Is the information inside of the memory dump useful; can someone tell me what they are able to do with that? I imagine developers/programmers can figure out what is wrong with their programs with it but is the dump of any worth of the average user who has a little background of C++?

I'm sorry if this is one of those "duh!!" questions but for those of you who have the key let me in on the secret.

The information is tremendously useful - it will tell you why your computer crashed. As Smilin wrote, you'd get the Windows debugger (there are several, and windbg is a commonly used one), set it up, set up a symbols path, and open up the memory.dmp file, and you can then do all kinds of things.

The helpfiles are actually pretty good if you're patient and willing to wade thru them.

BSODs can be either HW or SW - it just means the machine crashed for some reason.
 

kylef

Golden Member
Jan 25, 2000
1,430
0
0
Just some clarification that I didn't see anyone mention yet.

[*]The information contained in the memory dump (and therefore its size) is configured in ControlPanel->System->Advanced->Startup and Recovery
[*]Small memory dumps ("minidumps") are what are sent via Error Reporting to MS for Online Crash Analysis in XP, are 64 kB in size, and contain relevant kernel-mode information like open handles, loaded device drivers, the stacks of all kernel threads, etc
[*]Kernel memory dumps provide all kernel memory at the time of the crash, including device driver data and state
[*]Full memory dumps will dump your entire commit charge (probably more than you want)
[*]The dumps are stored in the pagefile until you reboot, whereupon the "savedump" process furiously extracts this information from the page file so that your pagefile can return to normal use (which is why there is abnormally high disk activity after rebooting from a crash)
[*]Using Windbg/kd to analyze such dumps is probably only for advanced tinkerers, but if you want the lowdown, try loading a crash dump in Windbg and then typing "!analyze -v" at the debugger prompt. This runs an analysis similar to what OCA runs automagically when your system reports the crash to Microsoft

Edit: clarified minidump
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |