mojira.dev
MCD2-633

100% crash login screen (EXCEPTION_ACCESS_VIOLATION at +0xA7BFAB) in AVX-512 ISPC worker, AMD 7840HS

### Summary Minecraft Dungeons II (WinGDK / PC) crashes 100% deterministically on the in-game login screen (~15–25 seconds after launch) on an AMD Zen 4 (AVX-512 capable) CPU with a null-pointer read inside an AVX-512 EVEX code path on a UE TaskGraph worker thread. Disabling OS AVX/AVX-512 support via `bcdedit /set xsavedisable 1` completely resolves the crash and allows normal login, isolating the bug to the AVX-512 runtime dispatch path (likely UE 5.6.1 ISPC `avx512skx`). ### Environment - **Game Version:** 1.1.2.0 and 1.1.3.0 (WinGDK / Xbox PC App) - **Engine:** Unreal Engine `5.6.1-0+UE5` (`Dungeons-WinGDK-Shipping.exe`) - **CPU:** AMD Ryzen 7 7840HS (Zen 4, native AVX-512) - **GPU:** NVIDIA GeForce RTX 4060 Laptop GPU (Driver `621.01` / `32.0.16.2101`) + AMD Radeon 780M (`32.0.32029.2010`) - **OS:** Windows 11 Home 26H2 (`10.0.26300.10075`, 64-bit) - **RAM:** 16 GB (~7.5 GB free at crash time; `bIsOOM=0`) ### Steps to Reproduce 1. Launch Minecraft Dungeons II on Windows 11 with an AVX-512-capable CPU (AMD Ryzen 7 7840HS). 2. Wait on the in-game login screen for ~15–25 seconds. ### Observed Result 100% deterministic crash (15+ consecutive occurrences across both `1.1.2.0` and `1.1.3.0`) with identical stack hash and fault offset: - **Exception:** `Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000` - **Faulting Module + Offset:** `Dungeons-WinGDK-Shipping.exe+0xA7BFAB` - **PCallStackHash:** `800760D24BE8F9C4130B940DABB061EE5B03311E` - **CrashGUID (for Backtrace lookup):** `UECC-WinGDK-9C4CE9D0448B68ED5E2F0796B110DD2F_0000` - **Crashing Thread:** UE TaskGraph worker (`Background Worker #7/#8/#11` or `Foreground Worker #1`; render/RHI threads are idle, no GPU TDRs) ### Technical Details / Disassembly at Fault (`+0xA7BFAB`) From `UEMinidump.dmp`, the faulting instructions are an ISPC (`avx512skx`) emulated 16-bit gather where lane 3 of the pointer vector in `ymm8` is `NULL` (`RCX = 0x0`): ```asm vextracti32x4 xmm0, ymm8, 1 ; 62 A3 7D 28 39 C0 01 (AVX-512 EVEX) vpextrq rcx, xmm0, 1 ; 62 E3 FD 08 16 C1 01 (AVX-512 EVEX) vpinsrw xmm4, xmm4, word ptr [rcx], 7 ; C5 D9 C4 21 07 <-- CRASH (RCX = 0x0) Definitive A/B Verification • With bcdedit /set xsavedisable 1 + reboot (forcing fallback away from AVX/AVX-512): Game passes the login screen and runs without crashing. • With default OS settings (xsavedisable unset): 100% crash at Dungeons-WinGDK-Shipping.exe+0xA7BFAB. Expected Result The game should not dereference a null pointer on AVX-512-capable CPUs (e.g., fix the null lane / mask handling in the AVX-512 ISPC kernel or exclude avx512skx from ISPC dispatch).

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

Denis Frost

(Unassigned)

Unconfirmed

10.0.26300.10075

Retrieved