Solved Blue screen and no dump file

vbremaud

New member
Local time
1:21 PM
Messages
3
Hello,

I have been having a very strange problem since a few weeks. I am developing a driver, and fatally got a few blue screens here and there. However, I noticed that since a few weeks the blue screens don't give a dump file anymore, despite the fact that the dump seems to be done (says it begins physical dump on disk, counts to 100, says the dump has been written, etc). Of course, I didn't touch the dump settings. I have checked everything, including the following:
- Checked that the dump settings are correct (*many* times) , tried both Small memory dump and Kernel memory dump, checked paths of course. Full memory isn't available, probably because I have more than 2Gb of RAM.
- Checked that pagefile.sys is on the boot partition (with OS). I have a single drive with a single partition anyway.
- Checked that pagefile.sys is more than physical RAM. RAM is 2,44 Gb , pagefile.sys is 2,562 Gb .
- Checked that page file is system managed. It is, but I tried to set values by hand too, without results.
- Checked that WER service is set to manual, or so it is said on various forums I visited. I tested with setting it to automatic too, just in case.
- Checked that there is enough room on the disk (12.9 Gb free out of 39.8 Gb).

I also checked a few other things without remembering which ones exactly, I have been very careful to set them back to previous values, especially the ones I was not sure about (such as WER for example). According to the last modified date of the directory C:\Windows\Minidump , I would guess the last dump file was 20/2/2013 or before. To be on the safe side, I uninstalled 1 software I had installed since that date (git) , but of course it didn't change anything (of course I didn't forget to reboot).

I tried to use SF Diagnostic Tool to see if it could find something that I had missed. However, when I click on "MINIDUMP" it says the crash dump has been copied successfully, but I still can't find anything in the SF_DD_MM_YYYY folder that it creates on the desktop.

"Hardware" is virtualized (KVM on a Linux Debian). Disk drive is "Red Hat VirtIO SCSI Disk Device" and driver is standard Microsoft disk driver (disk.sys version 6.1.7600.16385 dated 21/6/2006 with no known more recent version) .

Windows updates hadn't been done since November 2012, so I assume they had nothing to do with the problem. Just to be sure though, I activated them. As far as I know, everything is now up to date, but again nothing changed regarding the lack of dump files.

For clarification, I test that the dump files are written by reproducing the bug that causes the blue screen. But since the bug itself could cause some instabilities in the system that might prevent the dump file from being written, I also tried by having my driver directly call the function KeBugCheck on demand. No change of course.

I'm pretty sure I checked everything that was humanely conceivable, except of course for the one thing that prevents the dumps to appear ;-) Either extremely obscure, or shamely obvious :-/

I would apreciate if someone could hint me in other directions I would have missed :-)
 
Last edited:

My Computer

Computer type
PC/Desktop
OS
Windows 7 Professional 64 bits

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Assembled
OS
Microsoft Windows 10 Pro Insider Preview 64-bit
CPU
Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz
Motherboard
Gigabyte Technology Co., Ltd. B85M-D3H
Memory
Corsair Vengence 4GB x2 (8.00GB Dual-Channel DDR3 @ 798MHz)
Graphics Card(s)
2047MB GeForce GTS 450 (ZOTAC International)
Sound Card
Onboard (Realtek High Definition Audio)
Monitor(s) Displays
LG Flatron E2040T
Screen Resolution
1600x900
Hard Drives
Western Digital 1 TB
Seagate 500 GB
PSU
Corsair VS550
Case
Cooler Master K380
Cooling
Cooler Master Seidon 120V Plus
Keyboard
Logitech MK260r
Mouse
Logitech MK260r
Internet Speed
PMPL Broadband
Antivirus
Windows Defender + MBAM
Browser
Firefox
Other Info
Dell Studio 15" Laptop
Thanks for your answer.

However it didn't solve the problem. Before importing the reg file I exported the previous values, and I compared the 2 files. With the exception of the autoreboot (which I had deactivated to make sure I can see what happens during the blue screen), everything is absolutely the same.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Professional 64 bits
I found a workaround. While searching for a solution to the problem, I finally found this article about how to have a dump file without a page file. I didn't expect it to yield any result in my case, but it didn't cost a lot to try it. So I added the key DedicatedDumpFile, rebooted, and saw that the file had been created with roughly 2824 Mb . I caused a blue screen, and finally found a dump file in C:\Windows\Minidump . Just out of curiosity I removed the key and set the page file to the exact size of 2824 Mb , but this didn't cause a dump file to be created. It seems I can have a dump file only with this trick. Changing the actual size to 512 Mb still allowed the dump file to be created. So I kept these settings, with the page file left managed by the system:
Code:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CrashControl
DedicatedDumpFile  C:\dumpfile
DumpFileSize       512 (dec)
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Professional 64 bits
Back
Top