[GH-ISSUE #7264] Client crashes at startup with 0xc000001d (illegal instruction) on Core 2 CPU #3191

Closed
opened 2026-11-03 04:06:33 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @kira-horizon[bot] on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7264

Version: Nightly 2026-11-01 · 4aa6854 (launcher 0.2.37) · OS: Windows 10 (19044), Intel Family 6 Model 23 Stepping 10 (Core 2, 2 cores), 3.3 GB RAM, GeForce 9100M G (integrated, Open (copied from the report)

What I did:

  1. Install Nightly 4aa6854 via the launcher (GUI launcher 0.2.37)
  2. Prepare all resources and wait until the progress bars disappear
  3. Press Play

What happened:
Nothing happens, then a "Horizon crashed" notice appears on the Horizon tab:
"Exited with exit code: 0xc000001d" (STATUS_ILLEGAL_INSTRUCTION).
The client exits about 1 second after launch, no window is shown.
The same exit code (-1073741795) happens when I start it from the
command-line launcher, so it is not caused by the launcher.
Possibly the build uses CPU instructions my CPU doesn't support
(Core 2 Penryn: no AVX, no SSE4.2).

What I expected:
The client starts. The older v0.2.97 started on this PC and rendered frames
with the OpenGL backend, so this looks like a regression.

Does it happen every time?
Yes

Horizon version: Nightly 2026-11-01 · 4aa6854 (launcher 0.2.37)
OS, CPU, GPU: Windows 10 (19044), Intel Family 6 Model 23 Stepping 10
(Core 2, 2 cores), 3.3 GB RAM, GeForce 9100M G (integrated, OpenGL 3.3)

The logs folder is empty, there is no latest.log and no crash report.
Screenshot of the error attached.

Request: could you provide a build compiled for baseline x86-64 (no AVX /
no SSE4.2) or a "compatibility" build? v0.2.97 ran on this CPU, so it
would be great to keep older CPUs working.

Reported on Discord by Akrion in #horizon-bugs · Discord thread
Tags: install / launch

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @kira-horizon[bot] on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7264 **Version:** Nightly 2026-11-01 · 4aa6854 (launcher 0.2.37) · **OS:** Windows 10 (19044), Intel Family 6 Model 23 Stepping 10 (Core 2, 2 cores), 3.3 GB RAM, GeForce 9100M G (integrated, Open <sub>(copied from the report)</sub> > What I did: > 1. Install Nightly 4aa6854 via the launcher (GUI launcher 0.2.37) > 2. Prepare all resources and wait until the progress bars disappear > 3. Press Play > > What happened: > Nothing happens, then a "Horizon crashed" notice appears on the Horizon tab: > "Exited with exit code: 0xc000001d" (STATUS_ILLEGAL_INSTRUCTION). > The client exits about 1 second after launch, no window is shown. > The same exit code (-1073741795) happens when I start it from the > command-line launcher, so it is not caused by the launcher. > Possibly the build uses CPU instructions my CPU doesn't support > (Core 2 Penryn: no AVX, no SSE4.2). > > What I expected: > The client starts. The older v0.2.97 started on this PC and rendered frames > with the OpenGL backend, so this looks like a regression. > > Does it happen every time? > Yes > > Horizon version: Nightly 2026-11-01 · 4aa6854 (launcher 0.2.37) > OS, CPU, GPU: Windows 10 (19044), Intel Family 6 Model 23 Stepping 10 > (Core 2, 2 cores), 3.3 GB RAM, GeForce 9100M G (integrated, OpenGL 3.3) > > The logs folder is empty, there is no latest.log and no crash report. > Screenshot of the error attached. > > Request: could you provide a build compiled for baseline x86-64 (no AVX / > no SSE4.2) or a "compatibility" build? v0.2.97 ran on this CPU, so it > would be great to keep older CPUs working. Reported on Discord by **Akrion** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1566812497552347256) Tags: install / launch **Attachments** (Discord links expire after a while; the thread keeps them) - [Screenshot_20261102_145251_Claude.jpg](https://cdn.discordapp.com/attachments/1566812497552347256/1566812497753677824/Screenshot_20261102_145251_Claude.jpg?ex=6ae9e759&is=6ae895d9&hm=7d04a71a6a391c668fd1ad80b108477af70be381a7f719976817b85fe7f38ebe&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-03 04:06:33 +07:00
Author
Owner

@ludovic111 commented on GitHub (Nov 2, 2026):

🤖 Agent: cause found. Since the 10-29 nightlies the game uses mimalloc v3 as its allocator (#4160). On Windows it is built with MSVC, which turns mimalloc's bit count (__popcnt64) into the POPCNT instruction on every CPU. A Core 2 doesn't have POPCNT, and the allocator runs before anything else, so the game exits with 0xc000001d before it can write a log. In the disassembled horizon-client.exe: v0.2.97 has no POPCNT, nightly 2026-10-31 and 2026-11-01 each have 9. The same upstream bug is microsoft/mimalloc#1291. Linux builds are not affected.

Fix: #7381. On Windows, mimalloc now counts bits without POPCNT, as Linux builds already do. A new build check fails any Windows or Linux build that contains POPCNT or LZCNT. Once a nightly with it is out, it should start again on this PC.

<!-- gh-comment-id:6580553102 --> @ludovic111 commented on GitHub (Nov 2, 2026): 🤖 Agent: cause found. Since the 10-29 nightlies the game uses mimalloc v3 as its allocator (#4160). On Windows it is built with MSVC, which turns mimalloc's bit count (`__popcnt64`) into the POPCNT instruction on every CPU. A Core 2 doesn't have POPCNT, and the allocator runs before anything else, so the game exits with 0xc000001d before it can write a log. In the disassembled `horizon-client.exe`: v0.2.97 has no POPCNT, nightly 2026-10-31 and 2026-11-01 each have 9. The same upstream bug is microsoft/mimalloc#1291. Linux builds are not affected. Fix: #7381. On Windows, mimalloc now counts bits without POPCNT, as Linux builds already do. A new build check fails any Windows or Linux build that contains POPCNT or LZCNT. Once a nightly with it is out, it should start again on this PC.
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
horizon-rust/horizon#3191
No description provided.