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

Crash: assert(bb->is_reachable()) failed: getting result from unreachable basicblock

XMLWordPrintable

    • x86_64
    • windows

      Test: compiler/exceptions/TestAccessErrorInCatch.java

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:\sb\prod\1761642605\workspace\open\src\hotspot\share\oops\generateOopMap.cpp:2220), pid=52168, tid=6332
      # assert(bb->is_reachable()) failed: getting result from unreachable basicblock
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0+22) (fastdebug build 26-ea+22-2225)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+22-2225, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
      # Problematic frame:
      # V [jvm.dll+0x84c524] GenerateOopMap::result_for_basicblock+0xb4
      #
      # Core dump will be written. Default location: C:\sb\prod\1761717030\testoutput\test-support\jtreg_open_test_hotspot_jtreg_compiler\scratch\5\hs_err_pid52168.mdmp
      #
      # 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=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\25\37\bundles\windows-x64\jdk-25_windows-x64_bin.zip\jdk-25 -Djava.io.tmpdir=c:\sb\prod\1761717030\testoutput\test-support\jtreg_open_test_hotspot_jtreg_compiler\tmp -XX:+CreateCoredumpOnCrash -Dcom.oracle.usagetracker.config.file=c:\sb\prod\1761717030\testoutput\test-support\jtreg_open_test_hotspot_jtreg_compiler\usage-tracker.cfg -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=4.16667 -J-Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\25\37\bundles\windows-x64\jdk-25_windows-x64_bin.zip\jdk-25 -J-Djava.io.tmpdir=c:\sb\prod\1761717030\testoutput\test-support\jtreg_open_test_hotspot_jtreg_compiler\tmp -J-XX:+CreateCoredumpOnCrash -J-Dcom.oracle.usagetracker.config.file=c:\sb\prod\1761717030\testoutput\test-support\jtreg_open_test_hotspot_jtreg_compiler\usage-tracker.cfg -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk-26+22-2225\windows-x64-debug.jdk\jdk-26\fastdebug -Dcompile.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk-26+22-2225\windows-x64-debug.jdk\jdk-26\fastdebug -Dtest.timeout.factor=4.0 -Dtest.nativepath=c:\ade\mesos\work_dir\jib-master\install\jdk-26+22-2225\windows-x64-debug.test\hotspot\jtreg\native -Dtest.root=C:\ade\mesos\work_dir\jib-master\install\jdk-26+22-2225\src.full\open\test\hotspot\jtreg -Dtest.name=compiler/exceptions/TestAccessErrorInCatch.java -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=true,m=false] -Dtest.file=C:\ade\mesos\work_dir\jib-master\install\jdk-26+22-2225\src.full\open\test\hotspot\jtreg\compiler\exceptions\TestAccessErrorInCatch.java -Dtest.main.class=TestAccessErrorInCatch -Dtest.src=C:\ade\mesos\work_dir\jib-master\install\jdk-26+22-2225\src.full\open\test\hotspot\jtreg\compiler\exceptions -Dtest.src.path=C:\ade\mesos\work_dir\jib-master\install\jdk-26+22-2225\src.full\open\test\hotspot\jtreg\compiler\exceptions -Dtest.classes=C:\sb\prod\1761717030\testoutput\test-support\jtreg_open_test_hotspot_jtreg_compiler\classes\3\compiler\exceptions\TestAccessErrorInCatch.d -Dtest.class.path=C:\sb\prod\1761717030\testoutput\test-support\jtreg_open_test_hotspot_jtreg_compiler\classes\3\compiler\exceptions\TestAccessErrorInCatch.d -Dtest.class.path.prefix=C:\sb\prod\1761717030\testoutput\test-support\jtreg_open_test_hotspot_jtreg_compiler\classes\3\compiler\exceptions\TestAccessErrorInCatch.d;C:\ade\mesos\work_dir\jib-master\install\jdk-26+22-2225\src.full\open\test\hotspot\jtreg\compiler\exceptions -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\25\37\bundles\windows-x64\jdk-25_windows-x64_bin.zip\jdk-25 -Djava.io.tmpdir=c:\sb\prod\1761717030\testoutput\test-support\jtreg_open_test_hotspot_jtreg_compiler\tmp -XX:+CreateCoredumpOnCrash -Dcom.oracle.usagetracker.config.file=c:\sb\prod\1761717030\testoutput\test-support\jtreg_open_test_hotspot_jtreg_compiler\usage-tracker.cfg -Djava.library.path=c:\ade\mesos\work_dir\jib-master\install\jdk-26+22-2225\windows-x64-debug.test\hotspot\jtreg\native -Xbatch -XX:CompileCommand=compileonly,IllegalAccessInCatch*::test -XX:TieredStopAtLevel=3 com.sun.javatest.regtest.agent.MainWrapper C:\sb\prod\1761717030\testoutput\test-support\jtreg_open_test_hotspot_jtreg_compiler\compiler\exceptions\TestAccessErrorInCatch.d\main.1.jta

      Host: AMD EPYC 9J14 96-Core Processor , 12 cores, 23G, Windows Server 2025 , 64 bit Build 26100 (10.0.26100.1591)
      Time: Wed Oct 29 07:16:40 2025 /GM elapsed time: 0.279409 seconds (0d 0h 0m 0s)

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

      Current thread (0x0000013425145f30): WorkerThread "GC Thread#1" [id=6332, stack(0x0000003071400000,0x0000003071500000) (1024K)]

      Stack: [0x0000003071400000,0x0000003071500000], sp=0x00000030714fe030, free space=1016k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0x84c524] GenerateOopMap::result_for_basicblock+0xb4 (generateOopMap.cpp:2220)
      V [jvm.dll+0xddf92d] OopMapCacheEntry::fill+0x11d (oopMapCache.cpp:341)
      V [jvm.dll+0xde0831] OopMapCache::lookup+0x2a1 (oopMapCache.cpp:522)
      V [jvm.dll+0x7510b2] frame::oops_interpreted_do+0x652 (frame.cpp:967)
      V [jvm.dll+0x9227f0] JavaThread::oops_do_frames+0x110 (javaThread.cpp:1418)
      V [jvm.dll+0x1057dc2] Thread::oops_do+0x82 (thread.cpp:462)
      V [jvm.dll+0x106cbb1] Threads::possibly_parallel_threads_do+0x111 (threads.cpp:271)
      V [jvm.dll+0x106ca9a] Threads::possibly_parallel_oops_do+0x3a (threads.cpp:1255)
      V [jvm.dll+0x81d76c] G1RootProcessor::process_java_roots+0x7c (g1RootProcessor.cpp:183)
      V [jvm.dll+0x81d511] G1RootProcessor::evacuate_roots+0x81 (g1RootProcessor.cpp:64)
      V [jvm.dll+0x82721b] G1EvacuateRegionsTask::scan_roots+0x2b (g1YoungCollector.cpp:746)
      V [jvm.dll+0x827570] G1EvacuateRegionsBaseTask::work+0xb0 (g1YoungCollector.cpp:733)
      V [jvm.dll+0x115b8e1] WorkerThread::run+0x91 (workerThread.cpp:200)
      V [jvm.dll+0x105738e] Thread::call_run+0x1be (thread.cpp:248)
      V [jvm.dll+0xdfe284] thread_native_entry+0xc4 (os_windows.cpp:555)
      C [ucrtbase.dll+0x14ea0] (no source info available)
      C [KERNEL32.DLL+0x2dbe7] (no source info available)
      C [ntdll.dll+0x85a6c] (no source info available)

      JavaThread 0x00000134250f89d0 (nid = 55288) was being processed
      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j IllegalAccessInCatch+0x000000001c043000.test()I+6
      j java.lang.invoke.LambdaForm$DMH+0x000000001c044000.invokeStatic(Ljava/lang/Object;)I+13 java.base@26-ea
      j java.lang.invoke.LambdaForm$MH+0x000000001c043800.invokeExact_MT(Ljava/lang/Object;Ljava/lang/Object;)I+18 java.base@26-ea
      j TestAccessErrorInCatch.invoke(Ljava/lang/invoke/MethodHandle;)I+1
      j TestAccessErrorInCatch.main([Ljava/lang/String;)V+76
      j java.lang.invoke.LambdaForm$DMH+0x000000001c041000.invokeStatic(Ljava/lang/Object;Ljava/lang/Object;)V+10 java.base@26-ea
      j java.lang.invoke.LambdaForm$MH+0x000000001c042800.invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+33 java.base@26-ea
      j java.lang.invoke.Invokers$Holder.invokeExact_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+20 java.base@26-ea
      j jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+55 java.base@26-ea
      j jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+23 java.base@26-ea
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+102 java.base@26-ea
      j com.sun.javatest.regtest.agent.MainWrapper$MainTask.run()V+134
      j java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5 java.base@26-ea
      j java.lang.Thread.run()V+19 java.base@26-ea
      v ~StubRoutines::Stub Generator call_stub_stub 0x000001341d0d1952

            dlong Dean Long
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: