-
Bug
-
Resolution: Unresolved
-
P3
-
8, 11, 17, 21, 23, 24
-
generic
-
linux
ADDITIONAL SYSTEM INFORMATION :
Linux Ubuntu20.04
openjdk version "1.8.0_432"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_432-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.432-b06, mixed mode)
openjdk version "11.0.25" 2024-10-15
OpenJDK Runtime Environment Temurin-11.0.25+9 (build 11.0.25+9)
OpenJDK 64-Bit Server VM Temurin-11.0.25+9 (build 11.0.25+9, mixed mode)
A DESCRIPTION OF THE PROBLEM :
We found that calling (new ColorData()).get_img_oda_green(0); causes Hotspot to report a crash. Below is the specific content from the JVM output:
```
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f37c3f0a4aa, pid=944169, tid=0x00007f37c45d6640
#
# JRE version: OpenJDK Runtime Environment (8.0_432-b06) (build 1.8.0_432-b06)
# Java VM: OpenJDK 64-Bit Server VM (25.432-b06 interpreted mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0xb0a4aa] Unsafe_GetNativeByte+0xba
#
# Core dump written. Default location: /home/share/class_valid/class_valid/core or core.944169
#
# An error report file with more information is saved as:
# /home/share/class_valid/class_valid/hs_err_pid944169.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
#
Aborted (core dumped)
```
You can trigger this crash by executing the following source code.
```
import sun.awt.X11.ColorData;
public class test {
public static void main(String[] args) {
(new ColorData()).get_img_oda_green(0);
}
}
```
---------- BEGIN SOURCE ----------
import sun.awt.X11.ColorData;
public class test {
public static void main(String[] args) {
(new ColorData()).get_img_oda_green(0);
}
}
---------- END SOURCE ----------
Linux Ubuntu20.04
openjdk version "1.8.0_432"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_432-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.432-b06, mixed mode)
openjdk version "11.0.25" 2024-10-15
OpenJDK Runtime Environment Temurin-11.0.25+9 (build 11.0.25+9)
OpenJDK 64-Bit Server VM Temurin-11.0.25+9 (build 11.0.25+9, mixed mode)
A DESCRIPTION OF THE PROBLEM :
We found that calling (new ColorData()).get_img_oda_green(0); causes Hotspot to report a crash. Below is the specific content from the JVM output:
```
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f37c3f0a4aa, pid=944169, tid=0x00007f37c45d6640
#
# JRE version: OpenJDK Runtime Environment (8.0_432-b06) (build 1.8.0_432-b06)
# Java VM: OpenJDK 64-Bit Server VM (25.432-b06 interpreted mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0xb0a4aa] Unsafe_GetNativeByte+0xba
#
# Core dump written. Default location: /home/share/class_valid/class_valid/core or core.944169
#
# An error report file with more information is saved as:
# /home/share/class_valid/class_valid/hs_err_pid944169.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
#
Aborted (core dumped)
```
You can trigger this crash by executing the following source code.
```
import sun.awt.X11.ColorData;
public class test {
public static void main(String[] args) {
(new ColorData()).get_img_oda_green(0);
}
}
```
---------- BEGIN SOURCE ----------
import sun.awt.X11.ColorData;
public class test {
public static void main(String[] args) {
(new ColorData()).get_img_oda_green(0);
}
}
---------- END SOURCE ----------