[GH-ISSUE #795] Main engine strata.exe crashes with STATUS_ILLEGAL_INSTRUCTION (0xC000001D) on non-AVX-512 CPU - 20 WER crashes across v0.1.35/v0.1.38, fault offsets cluster in fixed code regions #358

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

Originally created by @bjfr123321 on GitHub (Oct 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/795

Title

Main engine strata.exe crashes with STATUS_ILLEGAL_INSTRUCTION (0xC000001D) on non-AVX-512 CPU - 20 WER crashes across v0.1.35/v0.1.38, fault offsets cluster in fixed code regions

Body

Summary

The prebuilt Windows strata.exe crashes with STATUS_ILLEGAL_INSTRUCTION (0xC000001D) on a CPU without AVX-512. Over three days I collected 20 Windows Error Reporting crash reports: every single one has exception code c000001d with the faulting module being strata.exe itself. The fault offsets cluster into a few fixed code regions per build, which points to unguarded non-AVX2 instructions in specific code paths rather than random memory corruption.

This looks like the same class of bug as #411/#419 (unguarded AVX-512 vmovups zmm0 in the 0.1.32 strata-vision.exe, fixed in 0.1.33 by rebuilding portable) - but in the main engine, present in both 0.1.35 and 0.1.38.

Environment

  • CPU: Intel i9-13900KF (AVX2/FMA only, no AVX-512 - fused off since 12th gen)
  • GPU: NVIDIA RTX 4090 24 GB
  • OS: Windows 11 (10.0.26200), 64 GB RAM
  • Engine: official prebuilt, v0.1.35 (PE timestamp 6abf61e7) then v0.1.38 (6ac050de)
  • Models: Qwen3.8-Flash-Next GSQ-RCO abliterated GGUF, IQ2_XS and IQ3_S (self-built packs per repo README requirement), served via serve/server.py, long agent-style workloads (100K-230K token prompts)
  • The engine itself prints this CPU has no AVX-512: the expert kernels run on AVX-2 on every start - so the expert-kernel dispatch works; the crash sites are outside that path.

Evidence: 20 WER reports, one identical signature

From Report.wer (WER signature fields: Sig[3] faulting module, Sig[6] exception code, Sig[7] exception offset):

Local time Engine build (PE ts) Exception Faulting module Offset
10-02 23:28 6abf61e7 (0.1.35) c000001d strata.exe +0x16c907
10-03 01:11 6abf61e7 c000001d strata.exe +0x16c912
10-03 01:35 6abf61e7 c000001d strata.exe +0x16cca5
10-03 02:20 → 10-04 13:33 (12 crashes) 6abf61e7 c000001d strata.exe +0x17e1c1
10-04 17:15 6ac050de (0.1.38) c000001d strata.exe +0x19afc5
10-04 20:50 6ac050de c000001d strata.exe +0x1873e2
10-04 21:32 6ac050de c000001d strata.exe +0x187442
10-04 23:54 6ac050de c000001d strata.exe +0x19c0e5
10-04 23:59 6ac050de c000001d strata.exe +0x19c124

Observations

  • v0.1.35: 15 crashes, 4 distinct offsets - +0x17e1c1 alone accounts for 12.
  • v0.1.38: 5 crashes, 5 distinct offsets. +0x1873e2/+0x187442 (delta 0x60) and +0x19c0e5/+0x19c124 (delta 0x3F) look like adjacent instructions inside the same function.
  • Crashes happen both mid-request and between requests; the last completed request always shows healthy stats (normal decode expert hit rates, normal KV streaming). The engine dies without writing anything to its own log - no OOM message, no allocation failure, nothing.
  • Happens with both IQ2_XS and IQ3_S models, so it is not quantization-specific.
  • TROUBLESHOOTING attributes exit code 3221225501 to low RAM. The machine has 64 GB and crashes also occurred at moderate load; given the clustered offsets and the #411/#419 precedent, reaching an actually-illegal instruction seems the more likely direct cause - but I leave that judgment to you.
  • Offsets are stable within a build, so I can run cdb and capture the exact faulting instruction bytes for any of these offsets if useful.

Request

  • Audit the prebuilt strata.exe (0.1.35/0.1.38) for non-portable instruction emission outside the expert-kernel dispatch - same policy that fixed strata-vision.exe in 0.1.33 - or add CPUID guards around the remaining paths.
  • I'm happy to provide cdb instruction dumps for +0x17e1c1 (0.1.35) and +0x19c0e5/+0x19c124 (0.1.38), or to test a fixed build.

Log excerpt

See attached strata-issue-log-excerpt.txt (last requests before the 10-04 23:59 crash; the engine log contains no error output at the crash point, which is itself notable).

strata-issue-log-excerpt.txt

Originally created by @bjfr123321 on GitHub (Oct 4, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/795 ## Title Main engine strata.exe crashes with STATUS_ILLEGAL_INSTRUCTION (0xC000001D) on non-AVX-512 CPU - 20 WER crashes across v0.1.35/v0.1.38, fault offsets cluster in fixed code regions ## Body ### Summary The prebuilt Windows `strata.exe` crashes with `STATUS_ILLEGAL_INSTRUCTION` (0xC000001D) on a CPU without AVX-512. Over three days I collected **20 Windows Error Reporting crash reports**: every single one has exception code `c000001d` with the **faulting module being `strata.exe` itself**. The fault offsets cluster into a few fixed code regions per build, which points to unguarded non-AVX2 instructions in specific code paths rather than random memory corruption. This looks like the same class of bug as #411/#419 (unguarded AVX-512 `vmovups zmm0` in the 0.1.32 `strata-vision.exe`, fixed in 0.1.33 by rebuilding portable) - but in the **main engine**, present in both 0.1.35 and 0.1.38. ### Environment - CPU: Intel i9-13900KF (AVX2/FMA only, **no AVX-512** - fused off since 12th gen) - GPU: NVIDIA RTX 4090 24 GB - OS: Windows 11 (10.0.26200), 64 GB RAM - Engine: official prebuilt, v0.1.35 (PE timestamp `6abf61e7`) then v0.1.38 (`6ac050de`) - Models: Qwen3.8-Flash-Next GSQ-RCO abliterated GGUF, IQ2_XS and IQ3_S (self-built packs per repo README requirement), served via `serve/server.py`, long agent-style workloads (100K-230K token prompts) - The engine itself prints `this CPU has no AVX-512: the expert kernels run on AVX-2` on every start - so the expert-kernel dispatch works; the crash sites are outside that path. ### Evidence: 20 WER reports, one identical signature From `Report.wer` (WER signature fields: Sig[3] faulting module, Sig[6] exception code, Sig[7] exception offset): | Local time | Engine build (PE ts) | Exception | Faulting module | Offset | | -------------------------------------- | -------------------- | --------- | --------------- | --------------- | | 10-02 23:28 | `6abf61e7` (0.1.35) | c000001d | strata.exe | `+0x16c907` | | 10-03 01:11 | `6abf61e7` | c000001d | strata.exe | `+0x16c912` | | 10-03 01:35 | `6abf61e7` | c000001d | strata.exe | `+0x16cca5` | | 10-03 02:20 → 10-04 13:33 (12 crashes) | `6abf61e7` | c000001d | strata.exe | **`+0x17e1c1`** | | 10-04 17:15 | `6ac050de` (0.1.38) | c000001d | strata.exe | `+0x19afc5` | | 10-04 20:50 | `6ac050de` | c000001d | strata.exe | `+0x1873e2` | | 10-04 21:32 | `6ac050de` | c000001d | strata.exe | `+0x187442` | | 10-04 23:54 | `6ac050de` | c000001d | strata.exe | `+0x19c0e5` | | 10-04 23:59 | `6ac050de` | c000001d | strata.exe | `+0x19c124` | ### Observations - **v0.1.35**: 15 crashes, 4 distinct offsets - `+0x17e1c1` alone accounts for **12**. - **v0.1.38**: 5 crashes, 5 distinct offsets. `+0x1873e2`/`+0x187442` (delta 0x60) and `+0x19c0e5`/`+0x19c124` (delta 0x3F) look like adjacent instructions inside the same function. - Crashes happen both mid-request and between requests; the last completed request always shows healthy stats (normal decode expert hit rates, normal KV streaming). The engine dies without writing anything to its own log - no OOM message, no allocation failure, nothing. - Happens with both IQ2_XS and IQ3_S models, so it is not quantization-specific. - TROUBLESHOOTING attributes exit code 3221225501 to low RAM. The machine has 64 GB and crashes also occurred at moderate load; given the clustered offsets and the #411/#419 precedent, reaching an actually-illegal instruction seems the more likely direct cause - but I leave that judgment to you. - Offsets are stable within a build, so I can run `cdb` and capture the exact faulting instruction bytes for any of these offsets if useful. ### Request - Audit the prebuilt `strata.exe` (0.1.35/0.1.38) for non-portable instruction emission outside the expert-kernel dispatch - same policy that fixed `strata-vision.exe` in 0.1.33 - or add CPUID guards around the remaining paths. - I'm happy to provide `cdb` instruction dumps for `+0x17e1c1` (0.1.35) and `+0x19c0e5`/`+0x19c124` (0.1.38), or to test a fixed build. ### Log excerpt See attached `strata-issue-log-excerpt.txt` (last requests before the 10-04 23:59 crash; the engine log contains no error output at the crash point, which is itself notable). [strata-issue-log-excerpt.txt](https://github.com/user-attachments/files/33029116/strata-issue-log-excerpt.txt)
Author
Owner

@foggy54 commented on GitHub (Oct 4, 2026):

I also have this problem when trying to start Orca's Qwen3.8-Flash-Next-Uncensored-GGUF , my CPU is i5-13400

strata: this CPU cannot run the expert kernel: missing AVX512F AVX512BW AVX512VL AVX512-VNNI AVX512-VBMI. The engine needs AVX512-VNNI and AVX512-VBMI (Intel Ice Lake / AMD Zen 4 or newer). The scalar fallback exists for tests only and is far too slow to decode with.

<!-- gh-comment-id:5984041420 --> @foggy54 commented on GitHub (Oct 4, 2026): I also have this problem when trying to start Orca's Qwen3.8-Flash-Next-Uncensored-GGUF , my CPU is i5-13400 `strata: this CPU cannot run the expert kernel: missing AVX512F AVX512BW AVX512VL AVX512-VNNI AVX512-VBMI. The engine needs AVX512-VNNI and AVX512-VBMI (Intel Ice Lake / AMD Zen 4 or newer). The scalar fallback exists for tests only and is far too slow to decode with. `
Author
Owner

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

Thank you for the offsets. We disassembled the 0.1.38 engine at your five offsets. All five are plain VEX-encoded AVX/AVX2 instructions (vpinsrd and vpinsrq with a memory operand, in ggml's IQ2_S/IQ3_XXS dot kernels and in our AVX2 IQ3 row kernel), which a 13900KF runs. We also checked the 0.1.39 engine for AVX-512 instructions outside the dispatched kernel files and for shared (weak) functions compiled with AVX-512, and found none. An identical illegal-instruction fault on a legal instruction in hot table-lookup code looks like the Raptor Lake instability (13900K/KF, 14900K). Could you update the BIOS to the newest Intel microcode, use Intel's default power settings and run Intel's processor diagnostic? If it still crashes, the bytes cdb shows at your 0.1.35 offsets (+0x17e1c1) would settle it.

<!-- gh-comment-id:6010880466 --> @Niko1221 commented on GitHub (Oct 6, 2026): Thank you for the offsets. We disassembled the 0.1.38 engine at your five offsets. All five are plain VEX-encoded AVX/AVX2 instructions (vpinsrd and vpinsrq with a memory operand, in ggml's IQ2_S/IQ3_XXS dot kernels and in our AVX2 IQ3 row kernel), which a 13900KF runs. We also checked the 0.1.39 engine for AVX-512 instructions outside the dispatched kernel files and for shared (weak) functions compiled with AVX-512, and found none. An identical illegal-instruction fault on a legal instruction in hot table-lookup code looks like the Raptor Lake instability (13900K/KF, 14900K). Could you update the BIOS to the newest Intel microcode, use Intel's default power settings and run Intel's processor diagnostic? If it still crashes, the bytes cdb shows at your 0.1.35 offsets (+0x17e1c1) would settle it.
Author
Owner

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

We audited this properly for 0.1.41 and could not find a software cause, so we are not going to claim a fix.

What we checked:

  • The 0.1.35 and 0.1.38 binaries at your offsets (+0x17e1c1, +0x16c907, +0x16c912, +0x16cca5, +0x1873e2, +0x187442, +0x19afc5, +0x19c0e5, +0x19c124): every one is a plain VEX AVX2 vpinsrd/vpinsrq with a memory operand (the IQ grid-table lookups), which a 13900KF executes.
  • Every function in the 0.1.35, 0.1.38 and 0.1.40 engines with an AVX-512 or AVX-VNNI instruction: all sit in the dispatched kernel files or behind MSVC's own AVX-512 check; none is a shared (COMDAT) copy that the linker could hand to the AVX2 path.
  • The CPU tests (AVX2 kernels, AVX-VNNI kernels, Q2_0 bit-plane image, pool) on an emulated AVX2-only Haswell and an Alder Lake under Intel SDE, and on real AVX2-only (Ryzen 5600X) and AVX-VNNI (Core Ultra 7 265) hardware: no illegal instruction, all parity tests pass.

Because the faulting instructions are legal and the same few hot lookup loops fail on every run, this still looks like the Raptor Lake instability (13900K/KF, 14900K), not our code. Please update the BIOS to the newest Intel microcode, use Intel's default power settings and run Intel's processor diagnostic. If it still crashes, send the bytes cdb shows at the faulting address.

0.1.41 hardens the code anyway: the AVX-512 probe and the 'is this format supported' helpers are no longer in the AVX-512/AVX2 compiled files, and the test suite now disassembles the kernels and runs the CPU tests under SDE, so a wide instruction on an AVX2 path would fail the build.

@foggy54: the message you saw ('missing AVX512F ... AVX512-VNNI AVX512-VBMI') is the clean refusal for a pack that is not in the native GGUF format; it is not a crash. Please post the command line and the first lines of the log so we can see why that model was loaded as a Q2_0 pack.

<!-- gh-comment-id:6059628569 --> @Niko1221 commented on GitHub (Oct 8, 2026): We audited this properly for 0.1.41 and could not find a software cause, so we are not going to claim a fix. What we checked: - The 0.1.35 and 0.1.38 binaries at your offsets (+0x17e1c1, +0x16c907, +0x16c912, +0x16cca5, +0x1873e2, +0x187442, +0x19afc5, +0x19c0e5, +0x19c124): every one is a plain VEX AVX2 vpinsrd/vpinsrq with a memory operand (the IQ grid-table lookups), which a 13900KF executes. - Every function in the 0.1.35, 0.1.38 and 0.1.40 engines with an AVX-512 or AVX-VNNI instruction: all sit in the dispatched kernel files or behind MSVC's own AVX-512 check; none is a shared (COMDAT) copy that the linker could hand to the AVX2 path. - The CPU tests (AVX2 kernels, AVX-VNNI kernels, Q2_0 bit-plane image, pool) on an emulated AVX2-only Haswell and an Alder Lake under Intel SDE, and on real AVX2-only (Ryzen 5600X) and AVX-VNNI (Core Ultra 7 265) hardware: no illegal instruction, all parity tests pass. Because the faulting instructions are legal and the same few hot lookup loops fail on every run, this still looks like the Raptor Lake instability (13900K/KF, 14900K), not our code. Please update the BIOS to the newest Intel microcode, use Intel's default power settings and run Intel's processor diagnostic. If it still crashes, send the bytes cdb shows at the faulting address. 0.1.41 hardens the code anyway: the AVX-512 probe and the 'is this format supported' helpers are no longer in the AVX-512/AVX2 compiled files, and the test suite now disassembles the kernels and runs the CPU tests under SDE, so a wide instruction on an AVX2 path would fail the build. @foggy54: the message you saw ('missing AVX512F ... AVX512-VNNI AVX512-VBMI') is the clean refusal for a pack that is not in the native GGUF format; it is not a crash. Please post the command line and the first lines of the log so we can see why that model was loaded as a Q2_0 pack.
Author
Owner

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

Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.

If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.

<!-- gh-comment-id:6155968293 --> @Niko1221 commented on GitHub (Oct 13, 2026): Thanks for the report. To keep the tracker current we are closing issues older than three days: [0.1.44](https://github.com/Niko1221/Strata/releases/tag/v0.1.44) is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1. If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.
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#358
No description provided.