【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)
对于给定的测试程序,如果我们用以下的命令执行测试程序:
../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
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论