mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[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
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#358
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.execrashes withSTATUS_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 codec000001dwith the faulting module beingstrata.exeitself. 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 zmm0in the 0.1.32strata-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
6abf61e7) then v0.1.38 (6ac050de)serve/server.py, long agent-style workloads (100K-230K token prompts)this CPU has no AVX-512: the expert kernels run on AVX-2on 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):6abf61e7(0.1.35)+0x16c9076abf61e7+0x16c9126abf61e7+0x16cca56abf61e7+0x17e1c16ac050de(0.1.38)+0x19afc56ac050de+0x1873e26ac050de+0x1874426ac050de+0x19c0e56ac050de+0x19c124Observations
+0x17e1c1alone accounts for 12.+0x1873e2/+0x187442(delta 0x60) and+0x19c0e5/+0x19c124(delta 0x3F) look like adjacent instructions inside the same function.cdband capture the exact faulting instruction bytes for any of these offsets if useful.Request
strata.exe(0.1.35/0.1.38) for non-portable instruction emission outside the expert-kernel dispatch - same policy that fixedstrata-vision.exein 0.1.33 - or add CPUID guards around the remaining paths.cdbinstruction 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
@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.@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.
@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:
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.
@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.