Hi, my goal is to count the number of executed instructions. However, I receive an error when running because an assertion is violated but I haven't figured out how to fix it.
The crash: > 0.275 ** > 0.275 ERROR:../tests/tcg/plugins/insn.c:97:vcpu_init: assertion failed: > (count > 0) > 0.275 Bail out! ERROR:../tests/tcg/plugins/insn.c:97:vcpu_init: assertion > failed: (count > 0) > 0.433 Aborted (core dumped) When I execute the command: > /opt/qemu/bin/qemu-system-riscv32 -plugin > /opt/qemu/plugins/plugins/libinsn.so -L /opt/riscv/riscv64-unknown-elf > -nographic -machine spike -bios /work/main Qemu Version: 9.2.2 I also tried to add "-smp cpus=1", however, it did not have an effect. I have made a minimal setup to reproduce the issue with docker. You can find it here [https://github.com/kper/qemu_riscv32_crash_counting_instructions/](https://github.com/kper/qemu_riscv32_crash_counting_instructions/tree/master). Thank you! Best regards, Kevin Per