dragonwell-project / dragonwell11

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

[11.0.21.18.9][lilliput]aarch64平台-XX:+UseCompactObjectHeaders -XX:+UseParallelGC选项运行jdk/jfr/event/runtime/TestThreadAllocationEvent.java随机crash:ciReceiverTypeData::translate_from(ProfileData const*) oopDesc* PSPromotionManager::copy_to_survivor_space<false>(oopDesc*) #747

Closed sendaoYan closed 8 months ago

sendaoYan commented 8 months ago

job:https://tone.aliyun-inc.com/ws/xesljfzh/test_result/257912?tab=1

Description aarch64平台-XX:+UseCompactObjectHeaders -XX:+UseParallelGC选项运行jdk/jfr/event/runtime/TestThreadAllocationEvent.java随机报错

Steps to Reproduce

export test=jdk-repo/test/jdk/jdk/jfr/event/runtime/TestThreadAllocationEvent.java 
function runJtreg() { jtreg -XX:+UseCompactObjectHeaders -XX:+UseParallelGC -ea -esa -timeoutFactor:4 -v:fail,error,time,nopass -nr -w $dir/index-$1 $test &> $dir/$1.log ; if [[ 0 -ne $? ]] ; then echo -n "$1 " ; else rm -rf $dir/index-$1 $dir/$1.log ; fi ; } ; export -f runJtreg ; export dir="tmp-jtreg-"`basename ${test##* } .java` ; rm -rf $dir ; mkdir -p $dir ; time seq 50 | xargs -i -n 1 -P `nproc` bash -c "runJtreg {}" ; echo total fail number: `ls $dir/*.log 2> /dev/null | wc | awk '{print $1}'`
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000ffffa40bab6c, pid=3283426, tid=3283453
#
# JRE version: OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition)-11.0.20.17+8-GA (11.0.21.17+8) (build 11.0.21.17+8)
# Java VM: OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition)-11.0.20.17+8-GA (11.0.21.17+8, mixed mode, tiered, compressed oops, parallel gc, linux-aarch64)
# Problematic frame:
# V  [libjvm.so+0x48ab6c]  ciReceiverTypeData::translate_from(ProfileData const*)+0x8c
#
# Core dump will be written. Default location: /tmp/tone/run/jtreg/tmp-jtreg-TestThreadAllocationEvent/index-10/scratch/core.3283426
#
# An error report file with more information is saved as:
# /tmp/tone/run/jtreg/tmp-jtreg-TestThreadAllocationEvent/index-10/scratch/hs_err_pid3283426.log

[error occurred during error reporting (), id 0xb, SIGSEGV (0xb) at pc=0x0000ffffa484d23c]

#
# If you would like to submit a bug report, please visit:
#   mailto:dragonwell_use@googlegroups.com
#

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000ffff9131b7d4, pid=3291140, tid=3291832
#
# JRE version: OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition)-11.0.20.17+8-GA (11.0.21.17+8) (build 11.0.21.17+8)
# Java VM: OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition)-11.0.20.17+8-GA (11.0.21.17+8, mixed mode, tiered, compressed oops, parallel gc, linux-aarch64)
# Problematic frame:
# V  [libjvm.so+0xb4b7d4]  oopDesc* PSPromotionManager::copy_to_survivor_space<false>(oopDesc*)+0x6b4
#
# Core dump will be written. Default location: /tmp/tone/run/jtreg/tmp-jtreg-TestThreadAllocationEvent/index-46/scratch/core.3291140
#
# An error report file with more information is saved as:
# /tmp/tone/run/jtreg/tmp-jtreg-TestThreadAllocationEvent/index-46/scratch/hs_err_pid3291140.log
#
# If you would like to submit a bug report, please visit:
#   mailto:dragonwell_use@googlegroups.com
#

复现概率:2/50

JDK version

Execution environment

# uname -a ; cat /etc/os-release ; free -h ; lscpu | head -n 25 ; java -version ; java -Xinternalversion
Linux iZbp14ujio6zi6z9cozuecZ 5.10.134-15.an8.aarch64 #1 SMP Thu Jul 20 00:33:45 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
NAME="Anolis OS"
VERSION="8.8"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.8"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.8"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

              total        used        free      shared  buff/cache   available
Mem:           61Gi       645Mi        54Gi       0.0Ki       5.7Gi        59Gi
Swap:            0B          0B          0B
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              32
On-line CPU(s) list: 0-31
Thread(s) per core:  1
Core(s) per socket:  32
Socket(s):           1
NUMA node(s):        1
Vendor ID:           ARM
BIOS Vendor ID:      Alibaba Cloud
Model:               0
Model name:          Neoverse-N2
BIOS Model name:     virt-rhel7.6.0
Stepping:            r0p0
CPU MHz:             3000.000
CPU max MHz:         3000.0000
CPU min MHz:         3000.0000
BogoMIPS:            100.00
L1d cache:           64K
L1i cache:           64K
L2 cache:            1024K
L3 cache:            65536K
NUMA node0 CPU(s):   0-31
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh
openjdk version "11.0.21.17" 2023-10-17
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition)-11.0.20.17+8-GA (build 11.0.21.17+8)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition)-11.0.20.17+8-GA (build 11.0.21.17+8, mixed mode)
OpenJDK 64-Bit Server VM (11.0.21.17+8) for linux-aarch64 JRE (11.0.21.17+8), built on Dec 12 2023 03:41:34 by "" with gcc 7.5.0
sendaoYan commented 8 months ago

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/262981

sendaoYan commented 8 months ago

image

sendaoYan commented 8 months ago

image