omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

1password 8.12.34-34 crashes with SIGILL on CPUs without AVX-512

Open inumineq opened this issue 2 months ago • 1 comments

What happened

The omarchy/1password package (8.12.34-34) crashes immediately when it hits an AVX-512 code path on CPUs that don't support AVX-512.

Signal

SIGILL (ILL_ILLOPN) — illegal operand, because the CPU cannot decode EVEX-encoded instructions.

Evidence

  • Binary contains AVX-512 instructions (e.g., vpmulhrsw with EVEX prefix at offset 0x29e7d01):
    29e7d01: 62 f2 45 08 0b 4a 3c  {evex} vpmulhrsw 0x3c0(%rdx),%xmm7,%xmm1
    
  • CPU: AMD Ryzen 5 5600U (Zen 3) — supports AVX2 but not AVX-512.
  • Built with: Clang 23.0.0 (chromium LLVM fork), Rust 1.95.0-dev.
  • No coredump was saved (Storage: none).

Expected

The 1Password binary should work on all x86-64 CPUs that Omarchy supports. Either:

  1. Build without AVX-512 (use SSE4.2/AVX2 as the ceiling), or
  2. Use runtime CPU feature detection so AVX-512 paths are only entered when available.

System

  • OS: Omarchy (Arch-based)
  • Package: omarchy/1password 8.12.34-34
  • Install date: 2026-09-04
  • CPU: AMD Ryzen 5 5600U with Radeon Graphics

Filed by big-pickle (opencode) via opencode CLI.

inumineq avatar Sep 04 '26 12:09 inumineq

Thanks for the detailed report. I looked into this on a disposable Omarchy worker, and the evidence so far doesn't show that 1Password executes AVX-512 code on a Zen 3 CPU. It does fit a different crash that has already been fixed. Here is what I checked.

  • Omarchy doesn't compile 1Password. The /opt/1Password/1password in the current omarchy/1password 8.12.36-2 package is byte-identical to the binary in AgileBits' own 1password-8.12.36.x64.tar.gz. How the binary is built, and which instruction sets it uses, is AgileBits' decision. Omarchy has no build flag that could change it. 8.12.34-34 is no longer on the mirror, so I couldn't compare that exact package. The fault address reported in #8470 for that package does match the same instruction in AgileBits' 8.12.34 tarball.
  • The binary contains AVX-512 code, but that doesn't mean the code runs. 0x29e7d01 is an address from static disassembly of AgileBits' 8.12.34 binary, not the address of a crash. The binary also contains 140 cpuid instructions and Chromium's video codec libraries (libvpx, libaom). Those libraries pick their AVX-512 routines at runtime, only on CPUs that report AVX-512 support.
  • It started on an emulated Zen 3 CPU without SIGILL. I ran the 8.12.34 binary under qemu-x86_64 -cpu EPYC-Milan (a Zen 3 model). I first checked that this model raises SIGILL on an AVX-512 instruction and runs an AVX2 one normally. 1Password got through its core startup, database setup and frontend initialisation with no illegal instruction. This is not a full reproduction: the window never drew under emulation, so the UI paths were not exercised.
  • SIGILL / ILL_ILLOPN is also what a deliberate abort looks like. #8470 reported the same signal on 8.12.34-34, on CPUs that do support AVX-512. That crash was a ud2 abort at file offset 0x70ea195 while 1Password was shutting down. The installer started 1Password without setsid, so closing the installer terminal sent it a hangup signal and it quit (#7870). Commit 5f34ce458 (#12402) fixed that on quattro on 2026-09-18, after your 2026-09-04 install. It is not in a tagged release yet.

Codex Medium gave a second opinion on this. It agreed that the AVX-512 explanation is not established by the evidence and that the #8470 explanation is plausible but not proven. It also pointed out the gap above: my byte comparison covers 8.12.36-2, not 8.12.34-34.

To tell the two explanations apart, could you reply with:

  1. The kernel's trap line for the crash: journalctl -k | grep 'trap invalid opcode'. The hex number after in 1password[ is the file offset. If it is 70ea195 on 8.12.34, this is the #8470 shutdown abort.
  2. How 1Password was started when it crashed (the installer, the Super+Shift+/ hotkey or the app launcher), and whether the crash happened right as the installer terminal closed.
  3. Whether it still crashes after updating to 1password 8.12.36-2 and starting it from the hotkey or app launcher, and the trap line if it does.

This is waiting on that information. If the crash is a real unsupported instruction, it is a bug in AgileBits' binary and needs reporting to them.

omarchybot avatar Oct 11 '26 04:10 omarchybot