qemu-hexagon crashes while decoding instructions in Zig test binary produced by LLVM

Host environment

  • Operating system: Ubuntu 25.10
  • OS/kernel version: 6.17.0-12-generic
  • Architecture: x86_64
  • QEMU flavor: qemu-hexagon
  • QEMU version: 10.2.0
  • QEMU command line: qemu-hexagon crash

Emulated/Virtualized environment

  • Operating system: n/a
  • OS/kernel version: n/a
  • Architecture: hexagon

Description of problem

❯ qemu-hexagon crash
**
ERROR:../target/hexagon/decode.c:513:decode_insns: code should not be reached
Bail out! ERROR:../target/hexagon/decode.c:513:decode_insns: code should not be reached
fish: Job 1, 'qemu-hexagon crash' terminated by signal SIGABRT (Abort)

Steps to reproduce

  1. Grab https://files.alexrp.com/crash
  2. qemu-hexagon crash
Assignee Loading
Time tracking Loading