The faulting instruction seems to be a floating point instruction: fcvt.d.w fa5,a5
TlsInitialize () calls return RandomSeed (NULL, 0) which calls OpenSSL. openssl/crypto/rand/rand_meth.obj contains the problematic instruction. When I comment out the RandomSeed() call, the crash vanishes. According to the RISC-V profile specification: "The RVA22S64 mandatory unprivileged extensions include all the mandatory unprivileged extensions in RVA22U64." This would include floating point instructions. So the deficiency seems to be in KVM. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2077731 Title: riscv64 EDK 2 crashes in KVM based emulation To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/2077731/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs