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

assert(false) failed: bad AD file

XMLWordPrintable

    • b13

        Generated test from example cause following crash:
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (open/src/hotspot/share/opto/matcher.cpp:1563), pid=3847, tid=3864
        # assert(false) failed: bad AD file
        #
        # JRE version: Java(TM) SE Runtime Environment (15.0+9) (fastdebug build 15+9-264)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 15+9-264, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x110e2de] Matcher::Label_Root(Node const*, State*, Node*, Node const*)+0x59e
        #
        # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/lmesnik/Downloads/r2-23/core.3847)
        #
        # 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: Test

        Host: lmesnik-linux, Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 8 cores, 31G, Ubuntu 18.04.3 LTS
        Time: Mon Feb 10 13:03:17 2020 PST elapsed time: 0 seconds (0d 0h 0m 0s)

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

        Current thread (0x00007f92a81ca800): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=3864, stack(0x00007f92c2629000,0x00007f92c272a000)]


        Current CompileTask:
        C2: 616 419 % 4 Test::vMeth1 @ 124 (1491 bytes)

        Stack: [0x00007f92c2629000,0x00007f92c272a000], sp=0x00007f92c2724a30, free space=1006k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x110e2de] Matcher::Label_Root(Node const*, State*, Node*, Node const*)+0x59e
        V [libjvm.so+0x110e34a] Matcher::Label_Root(Node const*, State*, Node*, Node const*)+0x60a
        V [libjvm.so+0x110ebb7] Matcher::match_tree(Node const*)+0x1d7
        V [libjvm.so+0x1112231] Matcher::xform(Node*, int)+0xc51
        V [libjvm.so+0x1116345] Matcher::match()+0xc55
        V [libjvm.so+0x86fdc4] Compile::Code_Gen()+0x84
        V [libjvm.so+0x874191] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x1171
        V [libjvm.so+0x6e2d50] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x110
        V [libjvm.so+0x880e70] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x3e0
        V [libjvm.so+0x881f18] CompileBroker::compiler_thread_loop()+0x458
        V [libjvm.so+0x152bf1a] JavaThread::thread_main_inner()+0x26a
        V [libjvm.so+0x15342c5] JavaThread::run()+0x345
        V [libjvm.so+0x15311c6] Thread::call_run()+0xf6
        V [libjvm.so+0x1265f0e] thread_native_entry(Thread*)+0x10e

        Register to memory mapping:

          1. FuzzerUtils.class
            8 kB
          2. FuzzerUtils.java
            13 kB
          3. FuzzerUtils$1.class
            0.8 kB
          4. hs_err_pid3847.log
            84 kB
          5. replay_pid3847.log
            128 kB
          6. Test.class
            7 kB
          7. Test.java
            0.7 kB
          8. Test.java
            14 kB

              rraghavan Rahul Raghavan
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: