40 Star 154 Fork 96

openEuler / bishengjdk-11

 / 详情

BishengJDK11在指定-XX:MaxVectorSize=2参数时触发了Crash

待办的
缺陷
创建于  
2024-04-06 01:45

【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)
对于给定的测试程序,如果我们用以下的命令执行测试程序:

../bisheng-jre-11.0.22/bin/java -XX:MaxVectorSize=2 -cp . ArrayCopyTest1

则会导致JVM的崩溃,但是如果去掉-XX:MaxVectorSize=2参数,或者更换参数的取值,则不会触发Crash。
这个Bug仅在JDK11上可以复现。

测试程序下载链接:https://gitee.com/hecoz/jvmbugs/blob/master/ArrayCopyCrash1-bisheng.zip
一、缺陷信息

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f0f20605700, pid=28290, tid=28302
#
# JRE version: OpenJDK Runtime Environment BiSheng (11.0.22+11) (build 11.0.22+11)
# Java VM: OpenJDK 64-Bit Server VM BiSheng (11.0.22+11, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x36f700]  MachNode::ideal_reg() const+0x20
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/JVM/Bug/ArrayCopyCrash1/core.28290)
#
# An error report file with more information is saved as:
# /home/JVM/Bug/ArrayCopyCrash1/hs_err_pid28290.log
[thread 28309 also had an error]
[thread 28310 also had an error]
#
# Compiler replay data is saved as:
# /home/JVM/Bug/ArrayCopyCrash1/replay_pid28290.log
#
# If you would like to submit a bug report, please visit:
#   https://gitee.com/openeuler/bishengjdk-11/issues/
#
Aborted (core dumped)

【环境信息】

java -version:

openjdk version "11.0.22" 2024-01-16
OpenJDK Runtime Environment BiSheng (build 11.0.22+11)
OpenJDK 64-Bit Server VM BiSheng (build 11.0.22+11, mixed mode)

OS version:
Linux version 5.15.0-67-generic (buildd@lcy02-amd64-029) (gcc (Ubuntu 9.4.0-1ubuntu120.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #7420.04.1-Ubuntu SMP Wed Feb 22 14:52:34 UTC 2023

【问题复现步骤】,请描述具体的操作步骤
【实际结果】,请描述出问题的结果和影响
【其他相关附件信息】
比如系统message日志/组件日志、dump信息、图片等

缺陷详情参考链接:

缺陷分析指导链接:
https:xxx

评论 (1)

Hecoz 创建了缺陷

Hi hecoz, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Compiler, and any of the maintainers: @Noah , @eastb233 , @guoge , @wangyadong , @jiangfeilong , @cf-zhao , @编译小伙 , @周磊 , @stubCode , @jianhai_feng , @kuen

openeuler-ci-bot 添加了
 
sig/Compiler
标签

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936 2085291 hecoz 1610354551
Java
1
https://gitee.com/openeuler/bishengjdk-11.git
git@gitee.com:openeuler/bishengjdk-11.git
openeuler
bishengjdk-11
bishengjdk-11

搜索帮助