Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Generating a memory dump for a hung process

 
11-02-2009   #1


Win7x64
 
 

Generating a memory dump for a hung process

Summary:

This is one way to collect information useful in troubleshooting a hung or "frozen" process or application which is still technically running but unresponsive:

1) Start the Task Manager (press ctrl+shift+Esc).

2) Find the offending application on the "Applications" tab. It's status will most likely be listed as "Not responding".

3) Right-click the application entry and choose "Create memory dump".

4) Note the full path to the memory dump file which should be displayed a few seconds later in a dialog box.

5) Compress (ZIP or RAR) the memory dump file as tightly as possible and upload it to www.rapidshare.com or a similar file sharing service.

6) If this is the first time you've discussed this problem on sevenforums.com, start a new thread in the "Crashes and Debugging" section of the forum, describe the problem history and any details you believe to be relevant, and paste a link to the compressed memory dump file into the same post.

Somebody will attend to your query as soon as possible.



=========================================

Background Information:

A process or application which is perceived by the user as having stopped responding to all input is most likely in an unintended state which prevents it from using its internal mechanisms to respond. Unlike a crash, in a hang scenario the app has not done anything "bad" which would lead to its outright termination. Continues to live on in the list of running processes, even though (most of the time) there is no way to restore functionality short of terminating and restarting that process.

The causes for hangs are many and varied. Some examples:
  • Programming errors which result in "deadlocks". You're waiting for something that I have before you resume your activity, and I'm waiting for something you have before I resume mine. We are said to be deadlocked, and the situation will never spontaneously resolve itself.
  • Problems in code "injected" into the process by security applications such as anti-virus utilities.
  • Buggy add-ons which seek to extend the functionality of the app, but instead end up causing problems under some circumstances.
  • External factors such as delays or failures during attempts to access information on disks or across the network.
By generating a memory dump of the process in its hung state, it becomes possible to try to understand which (if any) of the above categories the problem lies in, and hence how to resolve it.

Note that analysing "hang" dumps is frequently more complex than performing BSOD minidump triage because there are few clues as to where to start looking in all that memory. A BSOD minidump at least offers a starting point - the actual thread which directly caused the crash. Complex applications can have tens or hundreds of individual threads, and it is not always easy to understand their mutual interaction, nor the precise reason why the app/process has become unresponsive.


Last edited by H2SO4; 11-03-2009 at 06:11 PM..
My System SpecsSystem Spec
11-29-2009   #2


Windows 7 Ultimate x64, Mint 9
 
 


Well! Sucks I did not read this a few days ago, I had this happen.

No idea you could do this, thanks much H2SO4!

~Lordbob
My System SpecsSystem Spec
04-27-2011   #3


windows vista business 32 bit
 
 


Hello, how to collect information if a computer hang or freezes and there is no application showing the message: "application not responding"?

Thank you.
My System SpecsSystem Spec
.


Reply

 Generating a memory dump for a hung process problems?



Thread Tools



Similar Threads for: Generating a memory dump for a hung process
Thread Forum
Generating a memory dump for a crashing process Crash and lockup debug 'How To'
Solved Task Manager not showing memory utilization per process General Discussion
Memory leak - not in process explorer Performance & Maintenance


All times are GMT -5. The time now is 01:42 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30