Skip to content

SIGILL on Intel Celeron J3455 (no AVX/AVX2) in OpenCode 1.1.64; older revision works #13432

Closed

Description

@tmcinerney

Description

OpenCode crashes with SIGILL on Intel Celeron J3455 when launched via latest llm-agents.nix OpenCode package (1.1.64), but works when pinned to an older llm-agents.nix revision (884234d, OpenCode 1.1.48 era).

This appears to be a regression in binary CPU compatibility (likely instruction set assumptions), not config-specific.

CPU: Intel(R) Celeron(R) CPU J3455 @ 1.50GHz; lscpu flags do not include avx or avx2.

Plugins

opencode-gemini-auth@latest
(also reproduces before entering app logic; crash occurs immediately at process start)

OpenCode version

Failing: 1.1.64 (from github:numtide/llm-agents.nix#opencode)
Working: older revision github:numtide/llm-agents.nix/884234d#opencode (OpenCode 1.1.48 era)

Steps to reproduce

  1. On a machine with Intel Celeron J3455 (no AVX/AVX2), run:
    lscpu | grep -E "Model name|Flags"
    nix run github:numtide/llm-agents.nix#opencode -- --version
  2. Observe immediate crash:
    • Illegal instruction (core dumped)
    • exit code 132 (SIGILL)
  3. Run older pinned revision:
    nix run github:numtide/llm-agents.nix/884234d#opencode -- --version
  4. Older revision runs successfully on same host.

Screenshot and/or share link

CLI output:

Error: ... core dumped with SIGILL (4)
Illegal instruction (core dumped)

Operating System

NixOS (kernel 6.12.65), x86_64

Terminal

Nushell (also reproducible from bash)

Activity

  1. tmcinerney commented on Feb 13, 2026

    @tmcinerney
    Author

    Workaround confirmed on this hardware:

    nix run github:numtide/llm-agents.nix/884234d#opencode --

    This older llm-agents.nix revision (OpenCode 1.1.48 era) runs successfully on the same host where latest (#opencode -> 1.1.64) crashes with SIGILL.

    Environment:

    • CPU: Intel Celeron J3455 (no avx/avx2)
    • OS: NixOS x86_64
  2. added
    perfIndicates a performance issue or need for optimization
    on Feb 13, 2026
  3. github-actions commented on Feb 13, 2026

    @github-actions
    Contributor

    This issue appears to be a duplicate or closely related to existing issues about CPU instruction set compatibility. Please check:

    These issues all stem from the same underlying problem: binary CPU compatibility and AVX/AVX2 instruction set assumptions. Consolidating discussion in one of the existing issues may help the maintainers address this regression more efficiently.

  4. assigned and unassigned on Feb 13, 2026
  5. Hona commented on Feb 13, 2026

    @Hona
    Member

    so this is an issue with the numtide/llm-agents repo which is community managed. they need to pick the correct package for the current cpu not always use modern.

    something e.g. will work for everyone (baseline always - but better is dynamic)

    Image
  6. github-actions commented on Apr 15, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

nixperfIndicates a performance issue or need for optimization

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions