Skip to content

Assert failure "target/i386/tcg/translate.c:748:gen_helper_out_func" when emulating Windows

Host environment

  • Operating system: macOS
  • OS/kernel version: 15.0
  • Architecture: arm64
  • QEMU flavor: qemu-system-x86_64
  • QEMU version: 9.1.0
  • QEMU command line: qemu-system-x86_64 -drive file=./Windows-10-x86_64.raw,format=raw -nic user,hostfwd=tcp::9997-:22 -m 6G -smp 8 -machine q35

Emulated/Virtualized environment

  • Operating system: Windows 10 22H2
  • Architecture: x86_64

Description of problem

qemu crashes with:

ERROR:../target/i386/tcg/translate.c:748:gen_helper_out_func: code should not be reached

Steps to reproduce

  1. Run the command listed above
  2. Wait a random amount of time (anywhere between 30mins to 2hours)
  3. Qemu will crash at some point

Additional information

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information