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:-CompactStrings选项运行vmTestbase/nsk/jvmti/GetObjectMonitorUsage/objmonusage005用例随机crash:frame::sender(RegisterMap*) const #748

Closed sendaoYan closed 8 months ago

sendaoYan commented 8 months ago

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

Steps to Reproduce Steps to reproduce the behavior:

export test=test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetObjectMonitorUsage/objmonusage005/TestDescription.java
function runJtreg() { jtreg -XX:+UseCompactObjectHeaders -XX:-CompactStrings -nativepath:/home/yansendao/software/jdk/2023-12/dragonwell-11.0.20.17+8-GA-test-image/hotspot/jtreg/native -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 1000 | xargs -i -n 1 -P `nproc` bash -c "runJtreg {}" ; echo total fail number: `ls $dir/*.log 2> /dev/null | wc | awk '{print $1}'`

复现概率: 2/1000

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000ffffb22afbd0, pid=647582, tid=647930
#
# 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, g1 gc, linux-aarch64)
# Problematic frame:
# V  [libjvm.so+0x62fbd0]  frame::sender(RegisterMap*) const+0x230
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/yansendao/git/dragonwell11/tmp-jtreg-TestDescription/index-377/scratch/hs_err_pid647582.log
#
# If you would like to submit a bug report, please visit:
#   mailto:dragonwell_use@googlegroups.com
#
> uname -a ; cat /etc/os-release ; free -h ; lscpu | head -n 25 ; java -version ; java -Xinternalversion
Linux jvmtest 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 23:43:36 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
               total        used        free      shared  buff/cache   available
Mem:           245Gi       1.1Gi       224Gi       3.0Mi        20Gi       242Gi
Swap:             0B          0B          0B
Architecture:                       aarch64
CPU op-mode(s):                     32-bit, 64-bit
Byte Order:                         Little Endian
CPU(s):                             64
On-line CPU(s) list:                0-63
Vendor ID:                          ARM
Model name:                         Neoverse-N1
Model:                              1
Thread(s) per core:                 1
Core(s) per cluster:                64
Socket(s):                          -
Cluster(s):                         1
Stepping:                           r3p1
BogoMIPS:                           50.00
Flags:                              fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs
NUMA node(s):                       1
NUMA node0 CPU(s):                  0-63
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Not affected
openjdk version "11.0.20.1" 2023-08-24
OpenJDK Runtime Environment (build 11.0.20.1+1-post-Ubuntu-0ubuntu122.04)
OpenJDK 64-Bit Server VM (build 11.0.20.1+1-post-Ubuntu-0ubuntu122.04, mixed mode)
OpenJDK 64-Bit Server VM (11.0.20.1+1-post-Ubuntu-0ubuntu122.04) for linux-aarch64 JRE (11.0.20.1+1-post-Ubuntu-0ubuntu122.04), built on Aug 25 2023 00:02:14 by "unknown" with gcc 11.4.0

377.log 524.log hs_err_pid647582.log hs_err_pid703610.log

sendaoYan commented 8 months ago

-XX:-CompactStrings选项运行1000次未复现

image

sendaoYan commented 8 months ago

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

sendaoYan commented 8 months ago

image

sendaoYan commented 8 months ago

image