-
Bug
-
Resolution: Fixed
-
P3
-
hs25
-
b54
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8026530 | 8 | Coleen Phillimore | P3 | Closed | Fixed | b112 |
%JAVA_HOME/bin/java -XX:+CheckUnhandledOops -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ParserTest
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f861d8fc2ad, pid=21420, tid=140214028764928
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b107) (build 1.8.0-ea-b107)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b51-wrk_jdk7180556_nakedoop_0926_1103-fastdebug mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x5282ad] unsigned int* objArrayOopDesc::obj_at_addr<unsigned int>(int) const+0x3d
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
Unsupported internal testing APIs have been used.
# An error report file with more information is saved as:
# /java/east/u1/lfoltan/hpot/wrk_jdk7180556_nakedoop/JTwork/classes/serviceability/hs_err_pid21420.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
Can also be reproduced easily by turning off -XX:-UseCompressedOops. This will cause UnhandledOops::check_unhandled_oops() to store a BAD_OOP_ADDR, which can be used to track down the issue:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f861d8fc2ad, pid=21420, tid=140214028764928
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b107) (build 1.8.0-ea-b107)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b51-wrk_jdk7180556_nakedoop_0926_1103-fastdebug mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x5282ad] unsigned int* objArrayOopDesc::obj_at_addr<unsigned int>(int) const+0x3d
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
Unsupported internal testing APIs have been used.
# An error report file with more information is saved as:
# /java/east/u1/lfoltan/hpot/wrk_jdk7180556_nakedoop/JTwork/classes/serviceability/hs_err_pid21420.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
Can also be reproduced easily by turning off -XX:-UseCompressedOops. This will cause UnhandledOops::check_unhandled_oops() to store a BAD_OOP_ADDR, which can be used to track down the issue:
- backported by
-
JDK-8026530 Naked oop in test/servicability/ParserTest
-
- Closed
-