133 | | = User mode crash dumps on Windows Vista and Windows 7 = #WindowsUserMode |
134 | | The section '''To collect user-mode dumps''' of the [http://support.microsoft.com/kb/315263 Microsoft site] explains how to enable user mode dumps on Windows Vista and Windows 7[[BR]] |
135 | | More detailed information about collecting user-mode dumps is available on the [http://msdn.microsoft.com/en-us/library/bb787181(VS.85).aspx MSDN site] |
| 131 | On Windows so-called Mini Dumps are available for '''application crashes''' and/or investigating purposes. To enable creating such Mini Dumps for a specific application, Windows offers the following tools: |
| 132 | |
| 133 | - For Windows XP, Vista, 7, 8(.1) and Windows 10: '''Windows Error Reporting (WER)''' |
| 134 | - For older Windows versions such as Windows NT 4 or Windows 2000: '''Dr. Watson'''. VirtualBox is not supported on these platforms anymore. |
| 135 | |
| 136 | If you got a '''BSOD (Bluescreen)''' instead, meaning that your PC was unable recover and needed to be restarted as soon as you used VirtualBox, you need to get a '''kernel dump''' instead. |
| 137 | |
| 138 | == Enabling Mini Dumps using Windows Error Reporting (WER) == |
| 139 | |
| 140 | * Open up the regedit.exe as Administrator and create the key |
| 141 | {{{ |
| 142 | HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps |
| 143 | }}} |
| 144 | if it does not exit yet. |
| 145 | |
| 146 | * Create a registry REG_DWORD value named '''DumpType''' with a value of '''2''' (means full dump). |
| 147 | * Create a registry REG_SZ value named '''DumpFolder''' containing a path to a folder where to store the Mini Dumps, e.g. '''C:\Windows\Temp'''. |
| 148 | |
| 149 | The next time VirtualBox crashes you'll find a newly created Mini Dump in the folder you specified above. Before sending those Mini Dumps to us though, please first compress them with ZIP (e.g. 7zip) or RAR to reduces the overall file size. This also saves you time uploading this file! |
| 150 | |
| 151 | For more detailed information visit [http://social.technet.microsoft.com/wiki/contents/articles/8103.application-crash-dump-analysis-windows-7.aspx this] page. |
| 152 | |
| 153 | == Creating a kernel dump when a Bluescreen (BSOD) occurred == |
| 154 | |
| 155 | Windows automatically should create a kernel dump for you if a Bluescreen occurred. However, you might want to enable creating a more verbose kernel dump which then would help us a bit better. |
| 156 | |
| 157 | To do so, go (as Administrator) to the '''System failure''' settings by |
| 158 | {{{ |
| 159 | Start -> Control Panel -> System -> Advanced system settings (left side) -> Tab "Advanced" -> "Startup and Recovery" |
| 160 | }}} |
| 161 | |
| 162 | On this page in the '''System failure''' area you can change the "Write debugging information" to '''Kernel memory dump'''. |
| 163 | The '''Dump file''' path shows you where this file is being created then -- the default location is '''C:\Windows\MEMORY.DMP'''. |
| 164 | |
| 165 | Please also be aware that each time a Bluescreen occurred the file mentioned above will be '''overwritten'''! This means that you should copy this file to a save place to not lose it if you want to provide us the right information. Also, other applications on your PC may produce Bluescreens, so only send us the kernel dump which got created when directly using VirtualBox (and your PC showed a Blueescreen). |
| 166 | |
| 167 | Note: Before sending those kernel dumps to us though, please first compress them with ZIP (e.g. 7zip) or RAR to reduces the overall file size. This also saves you time uploading this file! |
| 168 | |
| 169 | |
| 170 | |
| 171 | |
| 172 | |
| 173 | |
| 174 | |
| 175 | |