Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8259590

compiler/intrinsics/string/TestStringIntrinsicRangeChecks.java crashes on aarch64 with fatal error: DEBUG MESSAGE: ) Freq: 0.99998

    XMLWordPrintable

    Details

      Description

      Test compiler/intrinsics/string/TestStringIntrinsicRangeChecks.java crashes with

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S15041/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c20df3c0-059e-413e-91fe-9e25426305e3/runs/cab62660-5f4c-4b10-8ea2-d9758ae0109c/workspace/open/src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp:2629), pid=13219, tid=13271
      # fatal error: DEBUG MESSAGE: ) Freq: 0.99998

      #
      # JRE version: Java(TM) SE Runtime Environment (16.0+28) (fastdebug build 16-ea+28-2065)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+28-2065, compiled mode, tiered, compressed oops, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x117d47c] MacroAssembler::debug64(char*, long, long*)+0x4c
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S83848/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7c3e31-4a21-4623-89da-6877a96be085/runs/09688aa9-1b19-430a-97a9-04642333d007/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/scratch/1/core.13219)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- S U M M A R Y ------------

      Command Line: -Dtest.vm.opts=-XX:MaxRAMPercentage=12 -Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S83848/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7c3e31-4a21-4623-89da-6877a96be085/runs/09688aa9-1b19-430a-97a9-04642333d007/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/tmp -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=12 -J-Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S83848/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7c3e31-4a21-4623-89da-6877a96be085/runs/09688aa9-1b19-430a-97a9-04642333d007/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/tmp -Dtest.compiler.opts= -Dtest.java.opts=-Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+VerifyOops -Dtest.jdk=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.jdk/jdk-16/fastdebug -Dcompile.jdk=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.jdk/jdk-16/fastdebug -Dtest.timeout.factor=10.0 -Dtest.nativepath=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.test/hotspot/jtreg/native -Dtest.root=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg -Dtest.name=compiler/intrinsics/string/TestStringIntrinsicRangeChecks.java -Dtest.file=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/intrinsics/string/TestStringIntrinsicRangeChecks.java -Dtest.src=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/intrinsics/string -Dtest.src.path=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/intrinsics/string:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/lib -Dtest.classes=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S83848/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7c3e31-4a21-4623-89da-6877a96be085/runs/09688aa9-1b19-430a-97a9-04642333d007/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0/compiler/intrinsics/string/TestStringIntrinsicRangeChecks.d -Dtest.class.path=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S83848/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7c3e31-4a21-4623-89da-6877a96be085/runs/09688aa9-1b19-430a-97a9-04642333d007/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0/compiler/intrinsics/string/TestStringIntrinsicRangeChecks.d:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S83848/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7c3e31-4a21-4623-89da-6877a96be085/runs/09688aa9-1b19-430a-97a9-04642333d007/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0/test/lib -Dtest.class.path.prefix=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S83848/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7c3e31-4a21-4623-89da-6877a96be085/runs/09688aa9-1b19-430a-97a9-04642333d007/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0/compiler/intrinsics/string/TestStringIntrinsicRangeChecks.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/src.full/open/test/hotspot/jtreg/compiler/intrinsics/string:/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S83848/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7c3e31-4a21-4623-89da-6877a96be085/runs/09688aa9-1b19-430a-97a9-04642333d007/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0/test/lib -Dtest.patch.path=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S83848/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7c3e31-4a21-4623-89da-6877a96be085/runs/09688aa9-1b19-430a-97a9-04642333d007/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0/compiler/patches --patch-module=java.base=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S83848/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7c3e31-4a21-4623-89da-6877a96be085/runs/09688aa9-1b19-430a-97a9-04642333d007/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/classes/0/compiler/patches/java.base -XX:MaxRAMPercentage=12 -Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S83848/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7c3e31-4a21-4623-89da-6877a96be085/runs/09688aa9-1b19-430a-97a9-04642333d007/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/tmp -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:+TieredCompilation -XX:+VerifyOops -Djava.library.path=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.test/hotspot/jtreg/native -Xbatch -XX:CompileThreshold=100 com.sun.javatest.regtest.agent.MainWrapper /scratch/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S83848/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0a7c3e31-4a21-4623-89da-6877a96be085/runs/09688aa9-1b19-430a-97a9-04642333d007/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_3/compiler/intrinsics/string/TestStringIntrinsicRangeChecks.d/main.0.jta

      Host: AArch64, 4 cores, 31G, Oracle Linux Server release 7.6
      Time: Thu Dec 24 01:41:34 2020 UTC elapsed time: 55.098976 seconds (0d 0h 0m 55s)

      --------------- T H R E A D ---------------

      Current thread (0x0000ffff1c7b5c70): JavaThread "MainThread" [_thread_in_Java, id=13271, stack(0x0000fffeaf600000,0x0000fffeaf800000)]

      Stack: [0x0000fffeaf600000,0x0000fffeaf800000], sp=0x0000fffeaf7fd800, free space=2038k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x117d47c] MacroAssembler::debug64(char*, long, long*)+0x4c

      Register to memory mapping:

      R0=0x0000ffff22e80760
      R1=0x0000000000000a45
      R2=0x0000ffff22e81470
      R3=0x0000fffeccd8d9d0
      R4=0x0000ffff23660000
      R5=0x0000000000000058
      R6=0x0000000000000007
      R7=0x000000000000055c
      R8=0x0000ffff2269d430
      R9=0x0000ffff058e0640
      R10=0x00000005122d5808
      R11=0x00000000a245ab01
      R12=0x00000006ebe315e0
      R13=0x00000006eb620108
      R14=0x0000000000000000
      R15=0x0000000000000000
      R16=0x00000006eb620118
      R17=0x00000006ebe315f0
      R18=0x0000000000000001
      R19=0x00000006ebe315f0
      R20=0x0000fffeccd8d9d0
      R21=0x0000000000000000
      R22=0x0000ffff232e5000
      R23=0x0000000000000002
      R24=0x0000fffeaf7fdae0
      R25=0x00000006eba33128
      R26=0x0000fffeaf906be8
      R27=0x0000000000000000
      R28=0x0000ffff1c7b5c70
      R29=0x0000fffeaf7fd800
      R30=0x0000ffff058e06e4


      Registers:
      R0 =0x0000ffff22e80760: <offset 0x0000000001960760> in /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.jdk/jdk-16/fastdebug/lib/server/libjvm.so at 0x0000ffff21520000
      R1 =0x0000000000000a45 is an unknown value
      R2 =0x0000ffff22e81470: <offset 0x0000000001961470> in /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.jdk/jdk-16/fastdebug/lib/server/libjvm.so at 0x0000ffff21520000
      R3 =0x0000fffeccd8d9d0 points into unknown readable memory: 0x7165724620202920 | 20 29 20 20 46 72 65 71
      R4 =0x0000ffff23660000 points into unknown readable memory: 0x0000000000000058 | 58 00 00 00 00 00 00 00
      R5 =0x0000000000000058 is an unknown value
      R6 =0x0000000000000007 is an unknown value
      R7 =0x000000000000055c is an unknown value
      R8 =0x0000ffff2269d430: <offset 0x000000000117d430> in /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+28-2065/linux-aarch64-debug.jdk/jdk-16/fastdebug/lib/server/libjvm.so at 0x0000ffff21520000
      R9 =0x0000ffff058e0640 is at begin+0 in a stub
      StubRoutines::verify_oop [0x0000ffff058e0640, 0x0000ffff058e06e8] (168 bytes)
      R10=0x00000005122d5808 is an unknown value
      R11=0x00000000a245ab01 is an unknown value
      R12=0x00000006ebe315e0 is an oop: [Ljava.lang.StackTraceElement;
      {0x00000006ebe315e0} - klass: 'java/lang/StackTraceElement'[]
       - length: 0
      R13=0x00000006eb620108 is an oop: [Ljava.lang.StackTraceElement;
      {0x00000006eb620108} - klass: 'java/lang/StackTraceElement'[]
       - length: 0
      R14=0x0 is NULL
      R15=0x0 is NULL
      R16=
      [error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xb, SIGSEGV (0xb) at pc=0x0000ffff21cf0c0c]

      Stack slot to memory mapping:
      stack at sp + 0 slots: 0x0000000000000010 is an unknown value
      stack at sp + 1 slots: 0x0000ffff058e06e4 is at begin+164 in a stub
      StubRoutines::verify_oop [0x0000ffff058e0640, 0x0000ffff058e06e8] (168 bytes)
      stack at sp + 2 slots: 0x00000006ebe315f0 is an oop: java.lang.Class
      {0x00000006ebe315f0} - klass: 'java/lang/Class'
       - ---- fields (total size 20 words):
       - private volatile transient 'classRedefinedCount' 'I' @12 0
       - private volatile transient strict 'cachedConstructor' 'Ljava/lang/reflect/Constructor;' @40 NULL (0)
       - private transient 'name' 'Ljava/lang/String;' @44 NULL (0)
       - private transient 'module' 'Ljava/lang/Module;' @48 a 'java/lang/Module'{0x00000006ebc4ee68} (dd789dcd)
       - private final 'classLoader' 'Ljava/lang/ClassLoader;' @52 NULL (0)
       - private transient 'classData' 'Ljava/lang/Object;' @56 NULL (0)
       - private transient 'packageName' 'Ljava/lang/String;' @60 NULL (0)
       - private final strict 'componentType' 'Ljava/lang/Class;' @64 NULL (0)
       - private volatile transient strict 'reflectionData' 'Ljava/lang/ref/SoftReference;' @68 NULL (0)
       - private volatile transient 'genericInfo' 'Lsun/reflect/generics/repository/ClassRepository;' @72 NULL (0)
       - private volatile transient strict 'enumConstants' '[Ljava/lang/Object;' @76 NULL (0)
       - private volatile transient strict 'enumConstantDirectory' 'Ljava/util/Map;' @80 NULL (0)
       - private volatile transient 'annotationData' 'Ljava/lang/Class$AnnotationData;' @84 NULL (0)
       - private volatile transient 'annotationType' 'Lsun/reflect/annotation/AnnotationType;' @88 NULL (0)
       - transient 'classValueMap' 'Ljava/lang/ClassValue$ClassValueMap;' @92 NULL (0)
       - signature: Ljava/util/Collections;
       - fake entry for mirror: 'java/util/Collections'
       - fake entry for array: NULL
       - fake entry for oop_size: 20
       - fake entry for static_oop_field_count: 4
       - private static final 'BINARYSEARCH_THRESHOLD' 'I' @128 5000 (1388)
       - private static final 'REVERSE_THRESHOLD' 'I' @132 18 (12)
       - private static final 'SHUFFLE_THRESHOLD' 'I' @136 5
       - private static final 'FILL_THRESHOLD' 'I' @140 25 (19)
       - private static final 'ROTATE_THRESHOLD' 'I' @144 100 (64)
       - private static final 'COPY_THRESHOLD' 'I' @148 10 (a)
       - private static final 'REPLACEALL_THRESHOLD' 'I' @152 11 (b)
       - private static final 'INDEXOFSUBLIST_THRESHOLD' 'I' @156 35 (23)
       - private static 'r' 'Ljava/util/Random;' @112 NULL (0)
       - public static final 'EMPTY_SET' 'Ljava/util/Set;' @116 a 'java/util/Collections$EmptySet'{0x00000006ebe31740} (dd7c62e8)
       - public static final 'EMPTY_LIST' 'Ljava/util/List;' @120 a 'java/util/Collections$EmptyList'{0x00000006ebe31820} (dd7c6304)
       - public static final 'EMPTY_MAP' 'Ljava/util/Map;' @124 a 'java/util/Collections$EmptyMap'{0x00000006ebe318b8} (dd7c6317)
      stack at sp + 3 slots: 0x0 is NULL
      stack at sp + 4 slots: 0x0 is NULL
      stack at sp + 5 slots: 0x0000000100040208 is a pointer to class:
      {type array char}[C {0x0000000100040208}
      stack at sp + 6 slots: 0x0 is NULL
      stack at sp + 7 slots: 0x0 is NULL


      --------------- P R O C E S S ---------------

      uid : 10668 euid : 10668 gid : 10668 egid : 10668

      umask: 0022 (----w--w-)

      Threads class SMR info:
      _java_thread_list=0x0000ffff1c7b3760, length=12, elements={
      0x0000ffff1c02c0d0, 0x0000ffff1c4400c0, 0x0000ffff1c441d80, 0x0000ffff1c4a6370,
      0x0000ffff1c4a7e80, 0x0000ffff1c4a9a20, 0x0000ffff1c4abb90, 0x0000ffff1c4ad880,
      0x0000ffff1c4b5a50, 0x0000ffff1c5b4100, 0x0000ffff1c7355f0, 0x0000ffff1c7b5c70
      }
      _java_thread_list_alloc_cnt=13, _java_thread_list_free_cnt=11, _java_thread_list_max=12, _nested_thread_list_max=0
      _tlh_cnt=521, _tlh_times=13, avg_tlh_time=0.02, _tlh_time_max=6
      _delete_lock_wait_cnt=0, _delete_lock_wait_max=0
      _to_delete_list_cnt=0, _to_delete_list_max=1

      Java Threads: ( => current thread )
        0x0000ffff1c02c0d0 JavaThread "main" [_thread_blocked, id=13222, stack(0x0000ffff21260000,0x0000ffff21460000)]
        0x0000ffff1c4400c0 JavaThread "Reference Handler" daemon [_thread_blocked, id=13230, stack(0x0000fffeed600000,0x0000fffeed800000)]
        0x0000ffff1c441d80 JavaThread "Finalizer" daemon [_thread_blocked, id=13231, stack(0x0000fffeed400000,0x0000fffeed600000)]
        0x0000ffff1c4a6370 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=13232, stack(0x0000fffeed200000,0x0000fffeed400000)]
        0x0000ffff1c4a7e80 JavaThread "Service Thread" daemon [_thread_blocked, id=13233, stack(0x0000fffeed000000,0x0000fffeed200000)]
        0x0000ffff1c4a9a20 JavaThread "Monitor Deflation Thread" daemon [_thread_blocked, id=13234, stack(0x0000fffeece00000,0x0000fffeed000000)]
        0x0000ffff1c4abb90 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=13235, stack(0x0000fffeecc00000,0x0000fffeece00000)]
        0x0000ffff1c4ad880 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=13236, stack(0x0000fffeeca00000,0x0000fffeecc00000)]
        0x0000ffff1c4b5a50 JavaThread "Sweeper thread" daemon [_thread_blocked, id=13237, stack(0x0000fffeec800000,0x0000fffeeca00000)]
        0x0000ffff1c5b4100 JavaThread "Common-Cleaner" daemon [_thread_blocked, id=13249, stack(0x0000fffeec600000,0x0000fffeec800000)]
        0x0000ffff1c7355f0 JavaThread "Notification Thread" daemon [_thread_blocked, id=13261, stack(0x0000fffeec3c0000,0x0000fffeec5c0000)]
      =>0x0000ffff1c7b5c70 JavaThread "MainThread" [_thread_in_Java, id=13271, stack(0x0000fffeaf600000,0x0000fffeaf800000)]

      Other Threads:
        0x0000ffff1c3e4ca0 VMThread "VM Thread" [stack: 0x0000fffefc060000,0x0000fffefc260000] [id=13229]
        0x0000ffff1c73d330 WatcherThread [stack: 0x0000fffeec1c0000,0x0000fffeec3c0000] [id=13262]
        0x0000ffff1c046ff0 GCTaskThread "GC Thread#0" [stack: 0x0000ffff20150000,0x0000ffff20350000] [id=13224]
        0x0000ffff1c07f020 ConcurrentGCThread "G1 Main Marker" [stack: 0x0000fffefcd50000,0x0000fffefcf50000] [id=13225]
        0x0000ffff1c0806b0 ConcurrentGCThread "G1 Conc#0" [stack: 0x0000fffefcb30000,0x0000fffefcd30000] [id=13226]
        0x0000ffff1c1d0e20 ConcurrentGCThread "G1 Refine#0" [stack: 0x0000fffefc5e0000,0x0000fffefc7e0000] [id=13227]
        0x0000ffff1c1d23c0 ConcurrentGCThread "G1 Service" [stack: 0x0000fffefc3c0000,0x0000fffefc5c0000] [id=13228]

      Threads with active compile tasks:

      VM state: not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap address: 0x00000006cc000000, size: 3904 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
      CDS disabled.
      Compressed class space mapped at: 0x0000000100000000-0x0000000140000000, reserved size: 1073741824
      Narrow klass base: 0x0000000000000000, Narrow klass shift: 3, Narrow klass range: 0x140000000

      GC Precious Log:
       CPUs: 4 total, 4 available
       Memory: 32377M
       Large Page Support: Disabled
       NUMA Support: Disabled
       Compressed Oops: Enabled (Zero based)
       Heap Region Size: 2M
       Heap Min Capacity: 32M
       Heap Initial Capacity: 512M
       Heap Max Capacity: 3904M
       Pre-touch: Disabled
       Parallel Workers: 4
       Concurrent Workers: 1
       Concurrent Refinement Workers: 4
       Periodic GC: Disabled

      Heap:
       garbage-first heap total 524288K, used 8192K [0x00000006cc000000, 0x00000007c0000000)
        region size 2048K, 5 young (10240K), 0 survivors (0K)
       Metaspace used 10099K, committed 10304K, reserved 1064960K
        class space used 651K, committed 768K, reserved 1048576K

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              phedlin Patric Hedlin
              Reporter:
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: