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

applications/microbenchmarks/other/Test_6.java#id0 failed with "assert(false) failed: bad AD file"

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test failed in the JDK17 CI:

      applications/microbenchmarks/other/Test_6.java#id0

      Here's a snippet from the log file:

      [jmh] # JMH version: 1.21
      [jmh] # VM version: JDK 17-ea, Java HotSpot(TM) 64-Bit Server VM, 17-ea+7-LTS-395
      [jmh] # VM invoker: /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-395/linux-x64-debug.jdk/jdk-17/fastdebug/bin/java
      [jmh] # VM options: -XX:MaxRAMPercentage=6 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S76461/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c2e437fd-b611-4f4a-84f6-85f5bf3dc989/runs/9179943e-cf8a-448b-9caa-8ae04c170464/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_microbenchmarks_other_Test_6_java/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:+TieredCompilation --add-opens=java.base/java.io=ALL-UNNAMED -Djmh.ignoreLock=true -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S76461/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c2e437fd-b611-4f4a-84f6-85f5bf3dc989/runs/9179943e-cf8a-448b-9caa-8ae04c170464/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_microbenchmarks_other_Test_6_java/scratch/2
      [jmh] # Warmup: 3 iterations, 3 s each
      [jmh] # Measurement: 8 iterations, 2 s each
      [jmh] # Timeout: 10 min per iteration
      [jmh] # Threads: 1 thread, will synchronize iterations
      [jmh] # Benchmark mode: Throughput, ops/time
      [jmh] # Benchmark: oracle.micro.benchmarks.crypto.full.SignatureBench.RSA.sign
      [jmh] # Parameters: (algorithm = SHA256withRSA, dataSize = 1024, keyGen = RSA, keyLength = 2048, provider = )
      [jmh] # Run progress: 58.33% complete, ETA 00:02:28
      [jmh] # Fork: 1 of 1
      [jmh] # Warmup Iteration 1: 377.718 ops/s
      [jmh] # Warmup Iteration 2: 413.321 ops/s
      [jmh] # Warmup Iteration 3: 482.915 ops/s
      [jmh] Iteration 1: 497.491 ops/s
      [jmh] Iteration 2: 480.027 ops/s
      [jmh] Iteration 3: Default case invoked for:
      [jmh] opcode = 188, "LoopLimit"
      [jmh] o13596 LoopLimit === _ o19553 o1558 [[o13603 ]]
      [jmh] --N: o13596 LoopLimit === _ o19553 o1558 [[o13603 ]]
      [jmh] --N: o19553 Binary === _ o1018 o1241 [[o13596 ]]
      [jmh] _Binary_rRegI_rRegI 50 _Binary_rRegI_rRegI
      [jmh] _Binary_rax_RegI_rRegI 50 _Binary_rax_RegI_rRegI
      [jmh] --N: o1018 ConI === o0 [[o4515 o6736 o6294 o4975 o3992 o6876 o4208 o4806 o818 o18046 o4212 o4558 o15321 o892 o892 o892 o5428 o818 o14361 o15412 o6730 o818 o4217 o636 o636 o637 o637 o6402 o14072 o15414 o8500 o18402 o703 o4555 o4229 o817 o13077 o833 o646 o4233 o13515 o817 o825 o13857 o884 o884 o6721 o818 o16081 o5137 o7883 o8373 o762 o7491 o7964 o7960 o6890 o4257 o19603 o4262 o6255 o6699 o735 o6700 o817 o7492 o702 o15115 o15416 o15418 o6313 o14779 o705 o860 o860 o744 o19023 o7510 o7985 o7502 o8933 o8990 o8986 o8803 o8903 o8899 o8491 o7520 o859 o859 o15565 o16112 o5069 o18540 o6697 o6693 o849 o19619 o2720 o849 o741 o848 o5067 o18640 o4613 o847 o846 o731 o16610 o4571 o5962 o16427 o8504 o760 o18689 o758 o18594 o729 o670 o833 o672 o736 o5006 o673 o6664 o19553 o8090 o18876 o2967 o4405 o18046 o8094 o18091 o4511 o674 o19557 o1916 o796 o1917 o749 o13814 o727 o6380 o2105 o836 o840 o18447 o751 o17953 o764 o762 o18001 o727 o19615 o18002 o840 o18091 o18091 o738 o703 o16833 o16710 o17994 o18091 o16869 o815 o8388 o13538 o8279 o8283 o683 o8293 o740 o739 o16881 o813 o18136 o2134 o2134 o4582 o811 o4871 o6581 o737 o8258 o8262 o8272 o742 o4349 o685 o686 o17057 o8125 o4837 o6559 o8237 o8241 o8251 o747 o17223 o8115 o754 o4568 o4803 o6539 o748 o796 o833 o836 o8216 o691 o8220 o8230 o4562 o17899 o838 o766 o17953 o750 o794 o18268 o8111 o792 o4762 o691 o17783 o3201 o3201 o4548 o705 o17462 o705 o18402 o4565 o788 o5721 o17899 o18046 o756 o753 o719 o13959 o17595 o15892 o786 o18357 o6424 o784 o4713 o6488 o782 o781 o781 o693 o4707 o782 o4552 o8392 o694 o817 o2166 o2166 o17139 o746 o745 o8105 o731 o729 o19545 o19549 o703 o4381 o696 o697 o764 o702 o18594 o19611 o18783 o766 o18046 o7099 o8132 o8136 o838 o14360 o8146 o17689 o4576 1185 1271 1365 1365 1450 1594 1594 1638 ]] #int:0
      [jmh] IMMI 10 IMMI
      [jmh] IMMI_0 0 IMMI_0
      [jmh] IMMI2 0 IMMI2
      [jmh] IMMU7 5 IMMU7
      [jmh] IMMI8 5 IMMI8
      [jmh] IMMU8 5 IMMU8
      [jmh] IMMI16 10 IMMI16
      [jmh] IMMU31 0 IMMU31
      [jmh] RREGI 50 loadConI0
      [jmh] RAX_REGI 50 loadConI0
      [jmh] RBX_REGI 50 loadConI0
      [jmh] RCX_REGI 50 loadConI0
      [jmh] RDX_REGI 50 loadConI0
      [jmh] RDI_REGI 50 loadConI0
      [jmh] NO_RAX_RDX_REGI 50 loadConI0
      [jmh] STACKSLOTI 150 storeSSI
      [jmh] --N: o1241 LoadI === o2123 o1239 o2185 [[o9068 o9051 o19553 o707 o705 o705 o14313 o6313 o15174 o703 o703 o15296 o14271 1755 1762 1772 ]] @sun/security/provider/DigestBase+24 *, name=digestLength, idx=55; #int
      [jmh] RREGI 0 RREGI
      [jmh] RAX_REGI 0 RAX_REGI
      [jmh] RBX_REGI 0 RBX_REGI
      [jmh] RCX_REGI 0 RCX_REGI
      [jmh] RDX_REGI 0 RDX_REGI
      [jmh] RDI_REGI 0 RDI_REGI
      [jmh] NO_RAX_RDX_REGI 0 NO_RAX_RDX_REGI
      [jmh] STACKSLOTI 100 storeSSI
      [jmh] --N: o1558 ConI === o0 [[o7479 o7499 o8957 o8778 o1249 o7910 o8039 o15880 o7773 o5788 o7609 o7628 o7649 o1436 o7793 o15882 o7733 o2083 o7880 o14356 o14446 o7754 o1029 o802 o798 o18224 o16125 o800 o13596 o15890 o14282 1103 ]] #int:4
      [jmh] IMMI 10 IMMI
      [jmh] IMMI_4 0 IMMI_4
      [jmh] IMMU7 5 IMMU7
      [jmh] IMMI8 5 IMMI8
      [jmh] IMMU8 5 IMMU8
      [jmh] IMMI16 10 IMMI16
      [jmh] IMMU31 0 IMMU31
      [jmh] RREGI 100 loadConI
      [jmh] RAX_REGI 100 loadConI
      [jmh] RBX_REGI 100 loadConI
      [jmh] RCX_REGI 100 loadConI
      [jmh] RDX_REGI 100 loadConI
      [jmh] RDI_REGI 100 loadConI
      [jmh] NO_RAX_RDX_REGI 100 loadConI
      [jmh] STACKSLOTI 200 storeSSI
      [jmh] # To suppress the following error report, specify this argument
      [jmh] # after -XX: or in .hotspotrc: SuppressErrorAt=/matcher.cpp:1668
      [jmh] #
      [jmh] # A fatal error has been detected by the Java Runtime Environment:
      [jmh] #
      [jmh] # Internal Error (/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S14963/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7ee97017-62f2-4e60-8d92-807bf562f279/runs/cb9c55c8-8ce7-4c97-a5b0-010fdb58bea3/workspace/open/src/hotspot/share/opto/matcher.cpp:1668), pid=297112, tid=297127
      [jmh] # assert(false) failed: bad AD file
      [jmh] #
      [jmh] # JRE version: Java(TM) SE Runtime Environment (17.0+7) (fastdebug build 17-ea+7-LTS-395)
      [jmh] # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+7-LTS-395, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      [jmh] # Problematic frame:
      [jmh] # V [libjvm.so+0x13bef7a] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x50a
      [jmh] #
      [jmh] # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S76461/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c2e437fd-b611-4f4a-84f6-85f5bf3dc989/runs/9179943e-cf8a-448b-9caa-8ae04c170464/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_microbenchmarks_other_Test_6_java/scratch/2/core.297112)
      [jmh] #
      [jmh] # An error report file with more information is saved as:
      [jmh] # /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S76461/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c2e437fd-b611-4f4a-84f6-85f5bf3dc989/runs/9179943e-cf8a-448b-9caa-8ae04c170464/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_microbenchmarks_other_Test_6_java/scratch/2/hs_err_pid297112.log
      [jmh] #
      [jmh] # Compiler replay data is saved as:
      [jmh] # /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S76461/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c2e437fd-b611-4f4a-84f6-85f5bf3dc989/runs/9179943e-cf8a-448b-9caa-8ae04c170464/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_microbenchmarks_other_Test_6_java/scratch/2/replay_pid297112.log
      [jmh] #
      [jmh] # If you would like to submit a bug report, please visit:
      [jmh] # https://bugreport.java.com/bugreport/crash.jsp
      [jmh] #
      [jmh] <forked VM failed with exit code 134>
      [jmh] <stdout last='20 lines'>
      [jmh] #
      [jmh] # Internal Error (/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S14963/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7ee97017-62f2-4e60-8d92-807bf562f279/runs/cb9c55c8-8ce7-4c97-a5b0-010fdb58bea3/workspace/open/src/hotspot/share/opto/matcher.cpp:1668), pid=297112, tid=297127
      [jmh] # assert(false) failed: bad AD file
      [jmh] #
      [jmh] # JRE version: Java(TM) SE Runtime Environment (17.0+7) (fastdebug build 17-ea+7-LTS-395)
      [jmh] # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+7-LTS-395, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      [jmh] # Problematic frame:
      [jmh] # V [libjvm.so+0x13bef7a] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x50a
      [jmh] #
      [jmh] # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S76461/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c2e437fd-b611-4f4a-84f6-85f5bf3dc989/runs/9179943e-cf8a-448b-9caa-8ae04c170464/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_microbenchmarks_other_Test_6_java/scratch/2/core.297112)
      [jmh] #
      [jmh] # An error report file with more information is saved as:
      [jmh] # /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S76461/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c2e437fd-b611-4f4a-84f6-85f5bf3dc989/runs/9179943e-cf8a-448b-9caa-8ae04c170464/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_microbenchmarks_other_Test_6_java/scratch/2/hs_err_pid297112.log
      [jmh] #
      [jmh] # Compiler replay data is saved as:
      [jmh] # /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S76461/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/c2e437fd-b611-4f4a-84f6-85f5bf3dc989/runs/9179943e-cf8a-448b-9caa-8ae04c170464/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_microbenchmarks_other_Test_6_java/scratch/2/replay_pid297112.log
      [jmh] #
      [jmh] # If you would like to submit a bug report, please visit:
      [jmh] # https://bugreport.java.com/bugreport/crash.jsp
      [jmh] #
      [jmh] </stdout>
      [jmh] <stderr last='20 lines'>
      [jmh] </stderr>
      [jmh] Benchmark had encountered error, and fail on error was requested
      ----------System.err:(28/1700)----------


      Here's the crashing thread's stack:

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

      Current thread (0x00007f766c398c20): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=297127, stack(0x00007f76413fc000,0x00007f76414fd000)]


      Current CompileTask:
      C2: 16725 1004 4 oracle.micro.benchmarks.crypto.full.SignatureBench::sign (30 bytes)

      Stack: [0x00007f76413fc000,0x00007f76414fd000], sp=0x00007f76414f7d40, free space=1007k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x13bef7a] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x50a
      V [libjvm.so+0x13bf076] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x606
      V [libjvm.so+0x13bf076] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x606
      V [libjvm.so+0x13bf076] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x606
      V [libjvm.so+0x13bf076] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x606
      V [libjvm.so+0x13bf90c] Matcher::match_tree(Node const*)+0x20c
      V [libjvm.so+0x13ccf36] Matcher::xform(Node*, int)+0xe46
      V [libjvm.so+0x13d4ab6] Matcher::match()+0x4706
      V [libjvm.so+0xa0e0fc] Compile::Code_Gen()+0x9c
      V [libjvm.so+0xa1934b] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x191b
      V [libjvm.so+0x848a3c] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1dc
      V [libjvm.so+0xa293c1] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xeb1
      V [libjvm.so+0xa2a058] CompileBroker::compiler_thread_loop()+0x5a8
      V [libjvm.so+0x184fed6] JavaThread::thread_main_inner()+0x256
      V [libjvm.so+0x1856860] Thread::call_run()+0x100
      V [libjvm.so+0x153ec56] thread_native_entry(Thread*)+0x116

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rraghavan Rahul Raghavan
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: