Author Topic: How to create dump files  (Read 17813 times)

Offline Emanuel Sescu

  • Comodo Staff
  • Comodo's Hero
  • *****
  • Posts: 2171
  • Emanuel Sescu
How to create dump files
« on: December 14, 2011, 03:05:36 AM »
Dump files are useful when the program crashes, stops responding or freezes.

The dump file must be created when program crashes/freezes, so we can determine the cause of the issue.
To create a dump file and send it to developers follow these steps:

On Windows Vista, 7, server2008 and later
1) Do not proceed with steps below unless program is hanged/not responding/crashed/frozen. When the program crash/freeze occurr Windows usually displays a message "Program X stopped responding...". If you press any buttons on this dialog before the dump file is created then the process closes and any later created dump file will not be useful. If the program is hanged/not responding/crashed/frozen you can go to next step.
2) Open Task Manager and Go to Processes
3) Right click the hanged/frozen/stopped responding process.
4) If the process you are trying to create a dump is a service (for example COSService), make sure the "Show processess from all users" option is checked.
5) Choose "Create Dump File"
6) Remember the location of the created dump file
7) Run dbginfo.bat from installation folder as administrator (right click -> Run as)
8) Compress the dump file and the resulting cbu file from previous step
9) Upload it to ccloud.com. You can create free account.
10) Share it
11) Post the download link with a short description how the issue occurred.

On Windows XP/Windows Server2003
1) Do not proceed with steps below unless program is hanged/not responding/crashed/frozen. When the program crash/freeze occurr Windows usually displays a message "Program X stopped responding...". If you press any buttons on this dialog before the dump file is created then the process closes and any later created dump file will not be useful. If the program is hanged/not responding/crashed/frozen you can go to next step.
2) Download Usermode Process Dumper here
3) Unpack the installer. Remember the unpack dir. After unpacking is done you can go to next step.
4) If you are running as an administrator account you can skip this step.
If you are running under a limited account you need to run cmd.exe as administrator. cmd.exe can be found in \Windows\System32.
To run it as administrator right click and choose "Run as...", select "The following user" and type the username which is administrator and the password if needed, then click "OK"
5) in cmd.exe type:
"<unpackDir>\<platformName>\userdump.exe" <processName>  <location>
For example:
"D:\kktools\userdump8.1\x64\userdump.exe" cbu.exe D:\cbu.dmp
<unpackDir> = D:\kktools\userdump8.1
<platformName> = x64
<processName> = cbu.exe
<location> = D:\cbu.dmp (this is the dump file)
6) Run dbginfo.bat from installation folder as administrator (right click -> Run as)
7) Compress the dump file and the resulting cbu file from previous step
8) Upload it to ccloud.com. You can create free account.
9) Share it
10) Post the download link with a short description how the issue occurred.

Thanks
« Last Edit: November 27, 2013, 09:44:53 AM by Emanuel Sescu »
----
Regards,

Emanuel Sescu
Follow Me

 

Free Endpoint Protection
Seo4Smf 2.0 © SmfMod.Com Smf Destek