Driver crash in amdxc64.dll on RX 9070 XT (Adrenalin 26.11.2) during D3D12 run #2785

Open
opened 2026-11-30 20:36:25 +00:00 by vquaziii · 1 comment
vquaziii commented 2026-11-30 20:36:25 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by vquaziii on 2026-11-30T20:36:25Z.


What happens

leonida.exe crashes inside amdxc64.dll+0x861b9f with exception 0xC0000005 (access violation, read at address 0x8).

The crash is reproducible: all 10 attempts resulted in the same exception at exactly the same address.

This suggests a deterministic issue, although the crash location alone does not establish whether the root cause is the AMD driver or invalid data passed to it.

Commit

30.11.2026

System

  • Windows 11 26H2
  • AMD Ryzen 7 7800X3D
  • AMD Radeon RX 9070 XT
  • AMD Adrenalin 26.11.2

Where

Running gta6rt using the mandy-main build.

Command and steps

  1. Downloaded the project as ZIP (mandy-main).
  2. Started the game by pressing Play in the launcher.
  3. The game crashes during startup.

Expected result

The game should start and continue running normally.

Actual result

The game process crashes with an access violation inside amdxc64.dll.

A crash dump is generated on every attempt. All 10 dumps show the same exception and crash address:

  • Exception: 0xC0000005
  • Access type: Read
  • Address: 0x8
  • Module: amdxc64.dll
  • Offset: 0x861b9f

The launcher subsequently prints Exited with code 0, although the game has clearly crashed. This may reflect the launcher's own exit status rather than the actual game process status.

Additional observations

  • The crash occurred in all 10 attempts.
  • The crash address was identical every time.
  • The crash appears to happen inside the AMD DirectX 12 shader compiler.
  • The root cause is not yet confirmed.

Further testing with the Vulkan backend (LEONIDA_D3D12=vulkan) could help determine whether the issue is specific to the D3D12 path.

Output

The relevant console output confirms that a crash report and minidump are generated before the launcher exits.

Sensitive game identifiers, internal build information and the Backtrace upload URL have been omitted from this report.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6705717004 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2785). Originally posted by [vquaziii](https://github.com/vquaziii) on 2026-11-30T20:36:25Z. --- ### What happens `leonida.exe` crashes inside `amdxc64.dll+0x861b9f` with exception `0xC0000005` (access violation, read at address `0x8`). The crash is reproducible: all 10 attempts resulted in the same exception at exactly the same address. This suggests a deterministic issue, although the crash location alone does not establish whether the root cause is the AMD driver or invalid data passed to it. ### Commit 30.11.2026 ### System - Windows 11 26H2 - AMD Ryzen 7 7800X3D - AMD Radeon RX 9070 XT - AMD Adrenalin 26.11.2 ### Where Running `gta6rt` using the `mandy-main` build. ### Command and steps 1. Downloaded the project as ZIP (`mandy-main`). 2. Started the game by pressing **Play** in the launcher. 3. The game crashes during startup. ### Expected result The game should start and continue running normally. ### Actual result The game process crashes with an access violation inside `amdxc64.dll`. A crash dump is generated on every attempt. All 10 dumps show the same exception and crash address: - Exception: `0xC0000005` - Access type: Read - Address: `0x8` - Module: `amdxc64.dll` - Offset: `0x861b9f` The launcher subsequently prints `Exited with code 0`, although the game has clearly crashed. This may reflect the launcher's own exit status rather than the actual game process status. ### Additional observations - The crash occurred in all 10 attempts. - The crash address was identical every time. - The crash appears to happen inside the AMD DirectX 12 shader compiler. - The root cause is not yet confirmed. Further testing with the Vulkan backend (`LEONIDA_D3D12=vulkan`) could help determine whether the issue is specific to the D3D12 path. ### Output The relevant console output confirms that a crash report and minidump are generated before the launcher exits. Sensitive game identifiers, internal build information and the Backtrace upload URL have been omitted from this report.
KelboLive commented 2026-12-01 16:14:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by KelboLive on 2026-12-01T16:14:33Z.


This came in as a run report, so it is correctly an issue rather than a PR — there is no diff here to review. Three things, in order of urgency.

1. Please redact before anything else. The output block contains game-identifying data (title ID, the per-user SharedId, internal build/branch strings) and — more importantly — the Backtrace ingest URL including its upload token, in a public issue. That token and those IDs should be removed now. Do not attach the .dmp as a substitute either: it is game memory, which the project rules exclude, and the net shim blocked the upload anyway so maintainers cannot fetch it.

2. The crash looks genuine and deterministic, but the conclusion does not follow. +0x861b9f with a read at 0x8 is a near-null dereference, which is as consistent with the runtime handing the UMD a malformed object as with a compiler bug, and we have measured native D3D12 on exactly RX 9070 XT + AMD 26.11.2 without this fault (docs/d3d12_vulkan.md:3494, the d3d12_rgb96 comparison at :3863). So "26.11.2 is broken on this card" is contradicted by our own data; this is input-specific. Two runs would separate the cases: does LEONIDA_D3D12=vulkan avoid it, and at which stage does it die (world load, first frame, a specific pipeline)?

3. Exited with code 0. is not the game's status. That string is the launcher wrapper's (launcher/serve.py:366); the runtime's own game exited with code N (runtime/src/main.cpp:716) never printed, so the guest died inside its crash handler. The launcher then reports the run as success (serve.py:369) — that is a separate bug worth fixing, and it is why the report reads as a clean exit next to a crash.

Credit where due: "10 runs, identical offset" is the most useful line in the report — that determinism is what makes it worth chasing.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7317272821 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/2785#issuecomment-7317272821). Originally posted by [KelboLive](https://github.com/KelboLive) on 2026-12-01T16:14:33Z. --- This came in as a run report, so it is correctly an issue rather than a PR — there is no diff here to review. Three things, in order of urgency. **1. Please redact before anything else.** The output block contains game-identifying data (title ID, the per-user `SharedId`, internal build/branch strings) and — more importantly — the **Backtrace ingest URL including its upload token**, in a public issue. That token and those IDs should be removed now. Do not attach the `.dmp` as a substitute either: it is game memory, which the project rules exclude, and the net shim blocked the upload anyway so maintainers cannot fetch it. **2. The crash looks genuine and deterministic, but the conclusion does not follow.** `+0x861b9f` with a read at `0x8` is a near-null dereference, which is as consistent with the runtime handing the UMD a malformed object as with a compiler bug, and we have measured **native D3D12 on exactly RX 9070 XT + AMD 26.11.2** without this fault (`docs/d3d12_vulkan.md:3494`, the `d3d12_rgb96` comparison at `:3863`). So "26.11.2 is broken on this card" is contradicted by our own data; this is input-specific. Two runs would separate the cases: does `LEONIDA_D3D12=vulkan` avoid it, and at which stage does it die (world load, first frame, a specific pipeline)? **3. `Exited with code 0.` is not the game's status.** That string is the launcher wrapper's (`launcher/serve.py:366`); the runtime's own `game exited with code N` (`runtime/src/main.cpp:716`) never printed, so the guest died inside its crash handler. The launcher then reports the run as success (`serve.py:369`) — that is a separate bug worth fixing, and it is why the report reads as a clean exit next to a crash. Credit where due: "10 runs, identical offset" is the most useful line in the report — that determinism is what makes it worth chasing.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy#2785
No description provided.