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

assert(false) failed: bad AD file

    XMLWordPrintable

Details

    • b01
    • x86_64
    • generic

    Backports

      Description

        A DESCRIPTION OF THE PROBLEM :
        Reproduce:
        $ java -version
        openjdk version "11.0.16-internal" 2022-07-19
        OpenJDK Runtime Environment (fastdebug build 11.0.16-internal+0-adhoc.root.jdk11u)
        OpenJDK 64-Bit Server VM (fastdebug build 11.0.16-internal+0-adhoc.root.jdk11u, mixed mode)

        $ java -XX:-TieredCompilation Test
        i i1 f = 149,332,1126610698
        i13 i14 i15 = 167,-366,3
        i16 i17 i18 = 154974697,2,-13
        i19 i20 i21 = 1,-1602967,152
        i22 i23 i24 = -55,2,67
        lArr dArr1 = -20088,4675172230091494219
        Test.instanceCount dFld Test.iArrFld = -22316356368,-4522503712511210029,-31771
        vMeth1_check_sum: 6995061562579910024
        lMeth_check_sum: 1071291809
        vMeth_check_sum: 4634577747107210838
        i i1 f = 149,332,1126610698
        i13 i14 i15 = 167,-366,3
        i16 i17 i18 = 466825686,2,-13
        i19 i20 i21 = 1,-1602967,152
        i22 i23 i24 = -55,2,67
        lArr dArr1 = -20088,4675172230091494219
        Test.instanceCount dFld Test.iArrFld = -67222898784,-4518000112215972118,-31771
        vMeth1_check_sum: -4456620948549731568
        lMeth_check_sum: 2142583618
        vMeth_check_sum: 112073740385900265
        o5672 StoreL === o5671 o618 o1105 o5658 [[o5679 359 ]] @java/lang/Class:exact+120 *, name=instanceCount, idx=8; Memory: @java/lang/Class:exact+120 *, name=instanceCount, idx=8;

        --N: o5672 StoreL === o5671 o618 o1105 o5658 [[o5679 359 ]] @java/lang/Class:exact+120 *, name=instanceCount, idx=8; Memory: @java/lang/Class:exact+120 *, name=instanceCount, idx=8;

           --N: o1105 AddP === _ o1544 o1544 o1545 [[o4055 o620 o4277 o776 o599 o4160 o5672 ]] Oop:java/lang/Class:exact+120 *
           ANY_REGP 215 addP_rReg_imm
           RREGP 215 addP_rReg_imm
           NO_RAX_REGP 215 addP_rReg_imm
           NO_RBP_REGP 215 addP_rReg_imm
           NO_RAX_RBX_REGP 215 addP_rReg_imm
           RAX_REGP 215 addP_rReg_imm
           RBX_REGP 215 addP_rReg_imm
           RSI_REGP 215 addP_rReg_imm
           RDI_REGP 215 addP_rReg_imm
           R15_REGP 215 addP_rReg_imm
           REX_REGP 215 addP_rReg_imm
           INDIRECT 215 addP_rReg_imm
           INDOFFSET8 105 INDOFFSET8
           INDOFFSET32 115 INDOFFSET32
           INDINDEX 180 INDINDEX
           STACKSLOTP 315 storeSSP
           MEMORY 105 INDOFFSET8
           _AddP_any_RegP_rRegL 170 _AddP_any_RegP_rRegL

              --N: o1544 ConP === o0 [[o1105 o1105 o1255 o1255 o1251 o1251 o2049 o2049 o1247 o1247 ]] #java/lang/Class:exact * Oop:java/lang/Class:exact *
              IMMP 10 IMMP
              ANY_REGP 100 loadConP
              RREGP 100 loadConP
              NO_RAX_REGP 100 loadConP
              NO_RBP_REGP 100 loadConP
              NO_RAX_RBX_REGP 100 loadConP
              RAX_REGP 100 loadConP
              RBX_REGP 100 loadConP
              RSI_REGP 100 loadConP
              RDI_REGP 100 loadConP
              R15_REGP 100 loadConP
              REX_REGP 100 loadConP
              INDIRECT 100 loadConP
              STACKSLOTP 200 storeSSP
              MEMORY 100 INDIRECT

              --N: o1545 ConL === o0 [[o1105 ]] #long:120
              IMML 20 IMML
              IMML8 5 IMML8
              IMMUL32 10 IMMUL32
              IMML32 15 IMML32
              IMML_127 10 IMML_127
              RREGL 70 loadConUL32
              NO_RAX_RDX_REGL 70 loadConUL32
              NO_RAX_REGL 70 loadConUL32
              NO_RCX_REGL 70 loadConUL32
              RAX_REGL 70 loadConUL32
              RCX_REGL 70 loadConUL32
              RDX_REGL 70 loadConUL32
              STACKSLOTL 170 storeSSL

           --N: o5658 MulReductionVL === _ o5669 o5659 [[o5669 o5672 o5678 ]]
           RREGI 0 RREGI
           RAX_REGI 0 RAX_REGI
           RBX_REGI 0 RBX_REGI
           RCX_REGI 0 RCX_REGI
           RDX_REGI 0 RDX_REGI
           RDI_REGI 0 RDI_REGI
           NO_RCX_REGI 0 NO_RCX_REGI
           NO_RAX_RDX_REGI 0 NO_RAX_RDX_REGI
           STACKSLOTI 100 storeSSI

        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=/matcher.cpp:1591
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/home/root/jdk_source/jdk11u/src/hotspot/share/opto/matcher.cpp:1591), pid=72808, tid=72823
        # assert(false) failed: bad AD file
        #
        # JRE version: OpenJDK Runtime Environment (11.0.16) (fastdebug build 11.0.16-internal+0-adhoc.root.jdk11u)
        # Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.16-internal+0-adhoc.root.jdk11u, mixed mode, compressed oops, g1 gc, linux-amd64)
        # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/jiahx/JavaFuzzer/tests/0026/core.72808)
        #


        ---------- BEGIN SOURCE ----------

        ---------- END SOURCE ----------

        Attachments

          1. FuzzerUtils.java
            13 kB
            swati sharma
          2. Test.java
            6 kB
            swati sharma

          Issue Links

            Activity

              People

                dlong Dean Long
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: