VeraCrypt icon indicating copy to clipboard operation
VeraCrypt copied to clipboard

CRITICAL_PROCESS_DIED at shutdown and restart

Open mysteriously opened this issue 3 years ago • 4 comments

Expected behavior

Shutdown and restart properly

Observed behavior

CRITICAL_PROCESS_DIED kernel panic occurs at shutdown and restart.

Steps to reproduce

  1. Enable 'Encryption of key and passwords stored in RAMKeys encryption' or 'VeraCryptEraseKeysShutdown' or both of them.
  2. Shutdown or restart
  3. After shutdown when CPU fan already stop spinning and screens are black, kernel panic occurs. It also occurs right before restarting the PC.
  4. No minidump is generated

Screenshots

image

Your Environment

Dell Latitude E5450 + Dell Advanced E-Port II, 16GB of RAM Please tell us more about your environment

VeraCrypt version: VeraCrypt 1.25.9 Operating system and version: Windows 11 System type: 64-bit

mysteriously avatar Feb 24 '22 09:02 mysteriously

My computer had the same issue before. Here is what my computer current has: - Wiped cached passwords on exit, Wiped cached passwords on auto-dismount for my general settings and I've also had the activation encryption of keys and passwords stored in RAM as well as VeraCryptEraseKeysShutdown enabled. Those were the settings that I had before the issue has occurred. I am not sure if you are using a HDD or SSD, but I am using an HDD with AES encryption to allow full disk encryption.

LeonXu260 avatar Apr 04 '22 06:04 LeonXu260

Also, I've just checked my PC settings, it appears that I have "System managed size" selected on the Performance Options -> Virtual Memory. Not sure if that helps. Also, I've disabled memory dumps.

LeonXu260 avatar Apr 04 '22 06:04 LeonXu260

I have seen your issue. That is why I checked all possible scenarios and posted results. I don't like the fact I need to disable both 'Encryption of key and passwords stored in RAMKeys encryption' and 'VeraCryptEraseKeysShutdown' to prevent kernel panic at shutdown. Also, BSOD ocurs right before switching to G2 state, so it is to late to generate dumps

ghost avatar Apr 12 '22 21:04 ghost

I've found this blue screen error sometimes, not consistently, on an external Windows 1607 Windows to go hard drive. Maybe Veracrypt is unmounting the drive while some other process still needs to use it.

as-muncher avatar May 07 '22 21:05 as-muncher

I had system on GPT partition, secure boot was disabled and legacy mode was enabled (allowed, but not default).

With legacy mode disabled and secure boot enabled I haven't seen BSOD anymore. I am running Windows 11 now and have both RAMkeys encryption and EraseKeysAtShutdown enabled.

ghost avatar Oct 13 '22 16:10 ghost