-
Bug
-
Resolution: Fixed
-
P3
-
8-aarch64, 11, 14, 15
-
b30
-
aarch64
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8248489 | 16 | Andrew Haley | P3 | Resolved | Fixed | b04 |
JDK-8250122 | 15.0.2 | Andrew Haley | P3 | Resolved | Fixed | b01 |
JDK-8250421 | 15.0.1 | Andrew Haley | P3 | Resolved | Fixed | b03 |
On aarch64, SIGBUS happens when Unsafe compareAndSwapLong and compareAndSwapInt are used to access unaligned mem address.
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x0000ffffb164c9f8, pid=12497, tid=12498
#
# JRE version: OpenJDK Runtime Environment (15.0) (build 15-internal+0-adhoc.zhuorenwz.jdk)
# Java VM: OpenJDK 64-Bit Server VM (15-internal+0-adhoc.zhuorenwz.jdk, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0xc7a9f8] Unsafe_CompareAndSetInt+0xb8
This crash only happens in interpreter, and in C1/C2 compiled code InternalError will be thrown. InternalError should also be thrown in interpreter.
It can be reproduced by the attached files.
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x0000ffffb164c9f8, pid=12497, tid=12498
#
# JRE version: OpenJDK Runtime Environment (15.0) (build 15-internal+0-adhoc.zhuorenwz.jdk)
# Java VM: OpenJDK 64-Bit Server VM (15-internal+0-adhoc.zhuorenwz.jdk, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0xc7a9f8] Unsafe_CompareAndSetInt+0xb8
This crash only happens in interpreter, and in C1/C2 compiled code InternalError will be thrown. InternalError should also be thrown in interpreter.
It can be reproduced by the attached files.
- backported by
-
JDK-8248489 [aarch64] SIGBUS by unaligned Unsafe compare_and_swap
-
- Resolved
-
-
JDK-8250122 [aarch64] SIGBUS by unaligned Unsafe compare_and_swap
-
- Resolved
-
-
JDK-8250421 [aarch64] SIGBUS by unaligned Unsafe compare_and_swap
-
- Resolved
-
- relates to
-
JDK-8248570 Incorrect copyright header in TestUnsafeUnalignedSwap.java
-
- Resolved
-
-
JDK-8252835 Revert fix for JDK-8246051
-
- Resolved
-
-
JDK-8249092 InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code
-
- Closed
-
(1 relates to)