id = 655 title = "Java crashes on s390x VM with SIGILL/ILL_PRVOPC at '__kernel_getcpu+0x8'" state = "closed" created_at = "2021-09-30T22:39:24.111Z" closed_at = "2022-12-04T23:45:56.336Z" labels = ["accel: TCG", "target: s390x", "workflow::Patch available"] url = "https://gitlab.com/qemu-project/qemu/-/issues/655" host-os = "Ubuntu 20.04.3 LTS" host-arch = "x86_64" qemu-version = "QEMU emulator version 6.1.0" guest-os = "Ubuntu 20.04.3 LTS" guest-arch = "s390x" description = """The `java` command fails with the following message: ```console $ /usr/lib/jvm/java-17-openjdk-s390x/bin/java --version # # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=0x000003ff9e4fe6f4, pid=2883, tid=2884 # # JRE version: (17.0+35) (build ) # Java VM: OpenJDK 64-Bit Server VM (17+35-Ubuntu-120.04, mixed # mode, sharing, tiered, compressed oops, compressed class ptrs, # serial gc, linux-s390x) # Problematic frame: # C [linux-vdso64.so.1+0x6f8] __kernel_getcpu+0x8 # # Core dump will be written. Default location: Core dumps may # be processed with "/usr/share/apport/apport %p %s %c %d %P %E" # (or dumping to /home/ubuntu/core.2883) # # An error report file with more information is saved as: # /home/ubuntu/hs_err_pid2883.log # # Aborted (core dumped) ```""" reproduce = """1. Run `java --version`""" additional = """The corresponding log file is attached as the file [hs_err_pid2883.log](/uploads/1631b6a0f0aad2f77c4928ed6bb540c6/hs_err_pid2883.log)."""