dragonwell-project / dragonwell11

Alibaba Dragonwell11 JDK
https://www.aliyun.com/product/dragonwell
GNU General Public License v2.0
558 stars 115 forks source link

【开源问题】java/awt/GraphicsDevice/DisplayModes/CycleDMImage.java运行crash #390

Open sendaoYan opened 1 year ago

sendaoYan commented 1 year ago

Description 【anolis86兼容性】java/awt/GraphicsDevice/DisplayModes/CycleDMImage.java在anolis86环境上crash

Steps to Reproduce

javac CycleDMImage.java
java CycleDMImage
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f90bb57a6f0, pid=4099464, tid=4099490
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.18+10 (11.0.18+10) (build 11.0.18+10)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.18+10 (11.0.18+10, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libc.so.6+0x9a6f0]  cfree+0x20
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/yansendao/git/jdk11u/test/jdk/java/awt/GraphicsDevice/DisplayModes/core.4099464)
#
# An error report file with more information is saved as:
# /home/yansendao/git/jdk11u/test/jdk/java/awt/GraphicsDevice/DisplayModes/hs_err_pid4099464.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

Expected behavior java/awt/GraphicsDevice/DisplayModes/CycleDMImage.java should be exclude

https://bugs.openjdk.org/browse/JDK-8275234

https://github.com/openjdk/jdk17u-dev/pull/720/files

sendaoYan commented 1 year ago

https://github.com/openjdk/jdk11u-dev/pull/2049