>From looking at the in_asm logs, it looks like that instruction starting with 0xebde is executed once with no problem but the second time its changed to 0x0000.
... # First Time ---------------- IN: 0x40126d6880: ebde f000 ec51 tmy -0x14000(%r15), 0xde 0x40126d6886: e3e0 f008 0024 stg %r14, 8(%r15) 0x40126d688c: b904 000f lgr %r0, %r15 0x40126d6890: a7fb ffa0 aghi %r15, -0x60 0x40126d6894: e300 f000 0024 stg %r0, 0(%r15) 0x40126d689a: c438 ffff ff73 lgrl %r3, 0x40126d6780 0x40126d68a0: 5840 30dc l %r4, 0xdc(%r3) 0x40126d68a4: c248 0000 0008 agfi %r4, 8 0x40126d68aa: 5040 30dc st %r4, 0xdc(%r3) 0x40126d68ae: c0f4 0000 00d1 jg 0x40126d6a50 PSW=mask 0000000180000000 addr 00000040126d6880 cc CC_OP_LTGT0_64 R00=0000000000000000 R01=00000040126d6880 R02=00000006296f5d20 R03=00000006296f5d20 R04=000000405f45fcd8 R05=00000006000000e8 R06=0000004012169380 R07=0000004002c410e8 R08=0000004004019000 R09=000000405f2d29d0 R10=0000004002c41048 R11=00000006296095e0 R12=000000400280ec50 R13=0000004002c411d0 R14=00000040126d5c64 R15=0000004002c40e88 ... # Second Time unimplemented opcode 0x0000 ---------------- IN: PSW=mask 0000000180000000 addr 00000040126d6880 cc CC_OP_LTUGTU_32 R00=0000000000001808 R01=00000040126d53c0 R02=00000006296f5d78 R03=00000006296f5d78 R04=000000405f45fcd8 R05=00000006000000f0 R06=0000004012114000 R07=5f9dbb3700003030 R08=0000004004019000 R09=0000000800001808 R10=0000004002c41048 R11=00000006296095e0 R12=000000400280ec50 R13=0000004002c411d0 R14=00000040126d5c64 R15=0000004002c40e88 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1920913 Title: Openjdk11+ fails to install on s390x Status in QEMU: New Bug description: While installing openjdk11 or higher from repo, it crashes while configuring ca-certificates-java. Although `java -version` passes, `jar -version` crashes. Detailed logs attached to this issue. ``` # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=0x00000040126f9980, pid=8425, tid=8430 # # JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-Ubuntu-0ubuntu1.20.04) # Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, tiered, compressed oops, g1 gc, linux-s390x) # Problematic frame: # J 4 c1 java.lang.StringLatin1.hashCode([B)I java.base@11.0.10 (42 bytes) @ 0x00000040126f9980 [0x00000040126f9980+0x0000000000000000] # # 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 //core.8425) # # An error report file with more information is saved as: # //hs_err_pid8425.log sed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /root/core.10740) # # An error report file with more information is saved as: # /root/hs_err_pid10740.log ``` Observed this on s390x/ubuntu as well as s390x/alpine when run on amd64 host. Please note, on native s390x, the installation is successful. Also this crash is not observed while installing openjdk-8-jdk. Qemu version: 5.2.0 Please let me know if any more details are needed. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1920913/+subscriptions