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

[Graal] Compilation fails during nmethod printing with "assert(bci == 0 || 0 <= bci && bci < code_size()) failed: illegal bci"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Environment:

      Windows x64

    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        failed tests:
        compiler/compilercontrol/TestCompilerDirectivesCompatibilityFlag.java
        compiler/compilercontrol/TestCompilerDirectivesCompatibilityCommandOn.java

        # Internal Error (t:/workspace/open/src/hotspot/share/oops/method.cpp:700), pid=41168, tid=16536
        # assert(bci == 0 || 0 <= bci && bci < code_size()) failed: illegal bci

        Current CompileTask:
        JVMCI: 11200 6556 s 4 java.io.ByteArrayInputStream::read (36 bytes)

        Stack: [0x000000bb55120000,0x000000bb55220000]
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [jvm.dll+0xb78ce1] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:373)
        V [jvm.dll+0xd6405a] VMError::report+0xe6a (vmerror.cpp:696)
        V [jvm.dll+0xd658d6] VMError::report_and_die+0x7d6 (vmerror.cpp:1433)
        V [jvm.dll+0xd66004] VMError::report_and_die+0x64 (vmerror.cpp:1267)
        V [jvm.dll+0x5a661e] report_vm_error+0x7e (debug.cpp:233)
        V [jvm.dll+0xaf384d] Method::line_number_from_bci+0x7d (method.cpp:700)
        V [jvm.dll+0xc37685] ScopeDesc::print_value_on+0x45 (scopedesc.cpp:163)
        V [jvm.dll+0xc371e8] ScopeDesc::print_on+0x58 (scopedesc.cpp:187)
        V [jvm.dll+0xbb78a0] PcDesc::print+0x170 (pcdesc.cpp:55)
        V [jvm.dll+0xb3810c] nmethod::print_pcs+0x5c (nmethod.cpp:2338)
        V [jvm.dll+0xb37144] nmethod::print_nmethod+0xa4 (nmethod.cpp:861)
        V [jvm.dll+0x5595a9] CompileBroker::invoke_compiler_on_method+0x9e9 (compilebroker.cpp:2153)
        V [jvm.dll+0x557395] CompileBroker::compiler_thread_loop+0x325 (compilebroker.cpp:1803)
        V [jvm.dll+0xd0bcac] JavaThread::run+0x3ec (thread.cpp:1741)
        V [jvm.dll+0xb774ee] thread_native_entry+0x11e (os_windows.cpp:456)
        C [ucrtbase.DLL+0x6be5d]
        C [KERNEL32.DLL+0x13d2]
        C [ntdll.dll+0x154f4]

        compiler/compilercontrol/TestCompilerDirectivesCompatibilityFlag.java false compiler.compilercontrol.TestCompilerDirectivesCompatibilityFlag
        result: Failed. Unexpected exit from test [exit code: 1]


        test result: Failed. Unexpected exit from test [exit code: 1]

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  iveresov Igor Veresov
                  Reporter:
                  jwang Joy Wang (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: