mojira.dev
MCPE-221419

Crash on exit at NVSDK_NGX_D3D12_Shutdown – version 1.21.82.1 (Exception 0xc0000409)

Minecraft for Windows (Bedrock Edition) crashes with error 0xC0000409 when closing or unloading the game. The crash appears to originate from the function NVSDK_NGX_D3D12_Shutdown, which is part of NVIDIA's RTX/DLSS SDK.

Platform:

  • Minecraft for Windows (UWP)

  • Version: 1.21.82.1

  • GPU: NVIDIA GeForce RTX 4060 Laptop GPU

  • Windows Version: 11 (10.0.26100.1, ge_release)

  • No RTX shaders or resource packs enabled

  • RTX was not manually turned on

Exception Details:

Exception Code: 0xc0000409 (STACK_COOKIE_CHECK_FAILURE)
Module: Minecraft.Windows.exe
Function: NVSDK_NGX_D3D12_Shutdown+0x3b14a
Offset: 0x00000000070f65ea

Crash Dump Analysis (WinDbg):
The crash occurs on instruction int 29h, indicating a fast fail due to stack corruption. The game invokes NGX shutdown routines incorrectly or with corrupted memory. No third-party overlays or DLL injections are present. All drivers are up to date.

Why it's likely a Minecraft bug:
This error only happens inside Minecraft.Windows.exe when deinitializing the NVIDIA NGX module. This points to a mismanagement of memory or a missing check during shutdown. The system forcefully terminates the process due to a buffer overrun detected by Windows security features.

Suggested Fix:
Please review the interaction between Minecraft Bedrock and NVIDIA NGX SDK (RTX/DLSS-related logic), especially around shutdown and memory cleanup routines. The issue occurs even with RTX turned off, so automatic detection/init routines may be involved.

Attachments:
Crash dump available on request.

Attachments

Comments

Kevin Garcia Santos
[media]

Kevin Garcia Santos

(Unassigned)

Unconfirmed

Windows

Windows 11 Version 10.0.26100.1 (ge_release)

1.21.82 Hotfix

Retrieved