[GH-ISSUE #3111] [Windows/AMD 26.9.2] exception 0xC0000005 IQ3_S #1246

Closed
opened 2026-11-04 01:49:42 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @angelonger on GitHub (Oct 18, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3111

Summary

I'm troubleshooting an issue with Strata on an AMD Radeon RX 9070 XT under Windows. I've tried several environment-variable changes, adjusted the VRAM reserve, disabled HIPBLASLt-related settings, and replaced the bundled amdhip64_7.dll with the copy from C:\Windows\System32.

The issue remains unresolved after these troubleshooting attempts.

I'm sharing the hardware configuration and changes tested to help determine whether this is related to the Windows HIP backend, HIPBLASLt, VRAM allocation, or a runtime DLL compatibility issue.

System Configuration

9070 XT with 9800X3D & 64 GB of DDR5 / 6400. Driver version: 26.9.2 at Strata 0.1.45

Troubleshooting performed

  1. Removed HIPBLASLt tuning

Removed the HIPBLASLt tuning setting from the environment configuration to test whether the tuning path was contributing to the problem.

  1. Changed the VRAM reserve

Tested different values for --vram-reserve-mib:

2048

1536

The purpose was to test whether changing the amount of VRAM reserved for the engine would affect the issue.

  1. Disabled HIPBLASLt-related settings

Added the following environment parameters:

{
"ROCBLAS_USE_HIPBLASLT": "0",
"STRATA_HIPBLASLT": "0",
"STRATA_GFX12_DEFAULTS": "0"
}

These settings were tested to see whether disabling HIPBLASLt-related paths and GFX12-specific defaults would change the behavior.

  1. Increased workspace stack sizes and enabled WDDM budget handling

Added the following environment parameters:

{
"ROCBLAS_WORKSPACE_STACK_SIZE": "33554432",
"HIPBLASLT_WORKSPACE_STACK_SIZE": "33554432",
"STRATA_WDDM_BUDGET": "1"
}

These changes were tested to investigate whether workspace allocation or Windows GPU memory-budget handling was contributing to the problem.

  1. Replaced the bundled HIP runtime DLL

Replaced:

Strata-main\engine\amdhip64_7.dll

with the copy located at:

C:\Windows\System32\amdhip64_7.dll

This was tested to check whether the bundled HIP runtime DLL was involved.

Current status

The above configuration changes and troubleshooting steps have been attempted, but the issue is not yet resolved.

I have not established which setting, if any, affects the underlying cause.

Log attached.

strata-iq3_s.log

Originally created by @angelonger on GitHub (Oct 18, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3111 ### Summary I'm troubleshooting an issue with Strata on an AMD Radeon RX 9070 XT under Windows. I've tried several environment-variable changes, adjusted the VRAM reserve, disabled HIPBLASLt-related settings, and replaced the bundled amdhip64_7.dll with the copy from C:\Windows\System32. The issue remains unresolved after these troubleshooting attempts. I'm sharing the hardware configuration and changes tested to help determine whether this is related to the Windows HIP backend, HIPBLASLt, VRAM allocation, or a runtime DLL compatibility issue. ### System Configuration 9070 XT with 9800X3D & 64 GB of DDR5 / 6400. Driver version: 26.9.2 at Strata 0.1.45 ### Troubleshooting performed 1. Removed HIPBLASLt tuning Removed the HIPBLASLt tuning setting from the environment configuration to test whether the tuning path was contributing to the problem. 2. Changed the VRAM reserve Tested different values for --vram-reserve-mib: 2048 1536 The purpose was to test whether changing the amount of VRAM reserved for the engine would affect the issue. 3. Disabled HIPBLASLt-related settings Added the following environment parameters: { "ROCBLAS_USE_HIPBLASLT": "0", "STRATA_HIPBLASLT": "0", "STRATA_GFX12_DEFAULTS": "0" } These settings were tested to see whether disabling HIPBLASLt-related paths and GFX12-specific defaults would change the behavior. 4. Increased workspace stack sizes and enabled WDDM budget handling Added the following environment parameters: { "ROCBLAS_WORKSPACE_STACK_SIZE": "33554432", "HIPBLASLT_WORKSPACE_STACK_SIZE": "33554432", "STRATA_WDDM_BUDGET": "1" } These changes were tested to investigate whether workspace allocation or Windows GPU memory-budget handling was contributing to the problem. 5. Replaced the bundled HIP runtime DLL Replaced: Strata-main\engine\amdhip64_7.dll with the copy located at: C:\Windows\System32\amdhip64_7.dll This was tested to check whether the bundled HIP runtime DLL was involved. ### Current status The above configuration changes and troubleshooting steps have been attempted, but the issue is not yet resolved. I have not established which setting, if any, affects the underlying cause. Log attached. [strata-iq3_s.log](https://github.com/user-attachments/files/33642648/strata-iq3_s.log)
Author
Owner

@angelonger commented on GitHub (Oct 19, 2026):

vibecode fixed it:

Done — everything is fixed, verified, and cleaned up. Here's the full picture:

Root cause
Your engine config, model, and VRAM sizing were all fine. The crash chain is an AMD runtime defect on Windows + RDNA4 (gfx1201), in the bundled amdhip64_7.dll (ROCm 10.2.0a20260930 prebuilt in engine):

Every kernel dispatch walks ROCprofiler's callback chain, which contains an uninitialized/garbage node on this OS/driver combination → 0xC0000005 on the first small prefill. (Public analysis: netacoding; AMD tickets ROCm/TheRock#7732, rocm-systems#10924.)
The hipBLASLt prefill path additionally dies inside TensileLite's hipModuleLoad → memcpy with a corrupted pointer (Strata issue #2781/#3111 report the identical byte-offsets in your stack). Config-level disables alone do not fix this (proven by #3111), and the dispatch walk resurfaces anywhere.
What I changed
Change Purpose Revert
Patched engine\amdhip64_7.dll and engine\rocm\bin\amdhip64_7.dll (export hipProfilerRegisterChunkCallbackExt, RVA 0x3664E0 → xor eax, eax; ret) Stops the profiler-callback chain fault on every kernel dispatch engine\amdhip64_7.dll.bak-original backup kept
strata-iq3_s.json: removed STRATA_HIPBLASLT_TUNING, added "ROCBLAS_USE_HIPBLASLT": "0" Skips the TensileLite hipModuleLoad memcpy fault on the big-prefill path (plain rocBLAS fallback is used) Edit the "env" block back

<!-- gh-comment-id:6256784491 --> @angelonger commented on GitHub (Oct 19, 2026): vibecode fixed it: Done — everything is fixed, verified, and cleaned up. Here's the full picture: Root cause Your engine config, model, and VRAM sizing were all fine. The crash chain is an AMD runtime defect on Windows + RDNA4 (gfx1201), in the bundled amdhip64_7.dll (ROCm 10.2.0a20260930 prebuilt in engine\): Every kernel dispatch walks ROCprofiler's callback chain, which contains an uninitialized/garbage node on this OS/driver combination → 0xC0000005 on the first small prefill. (Public analysis: [netacoding](https://netacoding.com/posts/amdhip64-patch/); AMD tickets ROCm/TheRock#7732, rocm-systems#10924.) The hipBLASLt prefill path additionally dies inside TensileLite's hipModuleLoad → memcpy with a corrupted pointer (Strata issue #2781/#3111 report the identical byte-offsets in your stack). Config-level disables alone do not fix this (proven by #3111), and the dispatch walk resurfaces anywhere. What I changed Change Purpose Revert Patched engine\amdhip64_7.dll and engine\rocm\bin\amdhip64_7.dll (export hipProfilerRegisterChunkCallbackExt, RVA 0x3664E0 → xor eax, eax; ret) Stops the profiler-callback chain fault on every kernel dispatch engine\amdhip64_7.dll.bak-original backup kept strata-iq3_s.json: removed STRATA_HIPBLASLT_TUNING, added "ROCBLAS_USE_HIPBLASLT": "0" Skips the TensileLite hipModuleLoad memcpy fault on the big-prefill path (plain rocBLAS fallback is used) Edit the "env" block back
Author
Owner

@Niko1221 commented on GitHub (Oct 19, 2026):

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6271482037 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
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.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1246
No description provided.