Win7 BSOD: c0000145/c0000135

Sorry for such a question, but can somebody at MS look at why the Win7 (2008 R2) x64 OS (beta 7000) can BSOD on startup with these codes?

I can see that these are STATUS_APP_INIT_FAILURE/STATUS_DLL_NOT_FOUND.

The BSOD is triggered by explicit call of ZwRaiseHardError from AutoChk.exe process.

This syscall causes some Ex worker thread in the kernel to initiate MJ_SHUTDOWN/power management shutdown sequence, which is seen by my driver.

Then some PoXxx routine calls KeBugCheckEx.

I cannot understand what particular DLL is not found in AutoChk.exe, which has only 2 binaries in its address space - itself and ntdll.dll.

What is this BSOD? what does it mean? what particular OS function failed when initialized AutoChk? where must I look in my code?

I also tried to schedule the CHKDSK at boot and rebooted with my driver. BSOD occured even before AutoChk started to execute the disk check. So, looks like this is really the process init of AutoChk.exe.

Thanks,


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com