JDK-8211945 : assert(!thread->has_last_Java_frame() || thread->frame_anchor()->walkable()) failed: blocked and not walkable
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 12
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2018-10-09
  • Updated: 2019-05-28
  • Resolved: 2018-10-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 12
12Resolved
Related Reports
Duplicate :  
Description
Intermittent crashes with 

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/safepoint.cpp:760
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/scratch/opt/mach5/mesos/work_dir/slaves/83bb4d84-382c-4ead-b585-d8ef0018fefe-S325/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/75ec2191-60db-49ac-b29e-d46c19941909/runs/96d9467d-d155-46c4-8655-70508fc50116/workspace/open/src/hotspot/share/runtime/safepoint.cpp:760), pid=12987, tid=13002
#  assert(!thread->has_last_Java_frame() || thread->frame_anchor()->walkable()) failed: blocked and not walkable
#
# JRE version: Java(TM) SE Runtime Environment (12.0+14) (fastdebug build 12-ea+14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 12-ea+14, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Core dump will be written. Default location: /scratch/opt/mach5/mesos/work_dir/slaves/c4ee7e63-1ded-4e8c-9581-ce26f27e3af4-S404/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/08404ba8-b487-4fb0-8607-b0b248d80b56/runs/ab378eeb-3b93-4456-8582-4e1bca9892fb/testoutput/jtreg/JTwork/scratch/2/core.12987
#
# An error report file with more information is saved as:
# /scratch/opt/mach5/mesos/work_dir/slaves/c4ee7e63-1ded-4e8c-9581-ce26f27e3af4-S404/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/08404ba8-b487-4fb0-8607-b0b248d80b56/runs/ab378eeb-3b93-4456-8582-4e1bca9892fb/testoutput/jtreg/JTwork/scratch/2/hs_err_pid12987.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 13002
Comments
Confirmed: --------------- T H R E A D --------------- Current thread (0x00007fb0d85e9800): VMThread "VM Thread" [stack: 0x00007fb0b0aea000,0x00007fb0b0bea000] [id=19763] _threads_hazard_ptr=0x00007fb0d8669260, _nested_threads_hazard_ptr_cnt=0 Stack: [0x00007fb0b0aea000,0x00007fb0b0bea000], sp=0x00007fb0b0be86f0, free space=1017k Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x187cc83] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x2c3 V [libjvm.so+0x187da4f] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f V [libjvm.so+0xb0fb60] report_vm_error(char const*, int, char const*, char const*, ...)+0x100 V [libjvm.so+0x161c6fb] SafepointSynchronize::safepoint_safe(JavaThread*, JavaThreadState)+0xab V [libjvm.so+0xdc3242] VM_HandshakeAllThreads::doit()+0x272 V [libjvm.so+0x18c0052] VM_Operation::evaluate()+0x132 V [libjvm.so+0x18bb78e] VMThread::evaluate_operation(VM_Operation*) [clone .constprop.51]+0x18e V [libjvm.so+0x18bc3ac] VMThread::loop()+0x83c V [libjvm.so+0x18bc623] VMThread::run()+0xd3 V [libjvm.so+0x149ebc0] thread_native_entry(Thread*)+0x100 VM_Operation (0x00007fb0b05e2c30): HandshakeAllThreads, mode: safepoint, requested by thread 0x00007fb0d8667000
10-10-2018

I believe this is a duplicate of JDK-8210303 but need to locate the hs_err files to confirm.
10-10-2018

A lot of failures in various tests observed during jdk-12 b14 testing in tier1. There are no such failures observed in jdk-12 b13 testing. Following tests failed: runtime/Thread/TooSmallStackSize.java serviceability/sa/TestType.java gc/g1/humongousObjects/TestNoAllocationsInHRegions.java gc/g1/humongousObjects/TestHumongousClassLoader.java gc/g1/plab/TestPLABPromotion.java gc/g1/TestGCLogMessages.java compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/ClassSearchTest.java compiler/codecache/jmx/BeanTypeTest.java compiler/codecache/cli/codeheapsize/TestCodeHeapSizeOptions.java See test with error messages: runtime/Thread/TooSmallStackSize.java,[tier1],[windows-x64-debug],[Crash: Internal Error ...safepoint.cpp...assert(!thread->has_last_Java_frame() || thread->frame_anchor()->walkable()) failed: blocked and not walkable],[bug8140520], [TooSmallStackSize],[45391],[] serviceability/sa/TestType.java,[tier1],[linux-x64-debug],[Exception: java.io.IOException: App exited unexpectedly with ...Crash: Internal Error ...safepoint.cpp...assert(!thread->has_last_Java_frame() || thread->frame_anchor()->walkable()) failed: blocked and not walkable],[bug8190307 othervm], [TestType],[5207],[] gc/g1/humongousObjects/TestNoAllocationsInHRegions.java,[tier1],[linux-x64-debug],[ExitCode: 134Crash: Internal Error ...safepoint.cpp...assert(!thread->has_last_Java_frame() || thread->frame_anchor()->walkable()) failed: blocked and not walkable],[othervm driver], [-XX:+UseG1GC -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. -XX:G1HeapRegionSize=1M -Xms200m -Xmx200m -XX:MaxTenuringThreshold=0 -Xlog:gc=trace:file=TestNoAllocationsInHRegions10.log gc.g1.humongousObjects.TestNoAllocationsInHRegions 30 10],[1623],[] gc/g1/humongousObjects/TestHumongousClassLoader.java,[tier1],[linux-x64-debug],[Crash: Internal Error ...safepoint.cpp...assert(!thread->has_last_Java_frame() || thread->frame_anchor()->walkable()) failed: blocked and not walkable],[othervm driver], [-Xms256M -Xmx256M -XX:+UseG1GC -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. -Xlog:class+load,class+unload=debug:file=TestHumongousClassLoader_Full_GC_Mem_Pressure.log -XX:G1HeapRegionSize=1M gc.g1.humongousObjects.TestHumongousClassLoader FULL_GC_MEMORY_PRESSURE],[102278],[] gc/g1/plab/TestPLABPromotion.java,[tier1],[linux-x64-debug],[Exception: java.lang.RuntimeException: Exit code is not ...Crash: Internal Error ...safepoint.cpp...assert(!thread->has_last_Java_frame() || thread->frame_anchor()->walkable()) failed: blocked and not walkable],[bug8141278 bug8141141 driver], [gc.g1.plab.TestPLABPromotion],[22640],[] gc/g1/TestGCLogMessages.java,[tier1],[linux-x64-debug],[Crash: Internal Error ...safepoint.cpp...assert(!thread->has_last_Java_frame() || thread->frame_anchor()->walkable()) failed: blocked and not walkable],[bug8035406 bug8027295 bug8035398 bug8019342 bug8027959 bug8048179 bug8027962 bug8069330 bug8076463 bug8150630 bug8160055 bug8177059 bug8166191 gc driver], [TestGCLogMessages],[1937],[] compiler/aot/jdk.tools.jaotc.test/src/jdk/tools/jaotc/test/collect/ClassSearchTest.java,[tier1],[linux-x64-debug],[ExitCode: 134Crash: Internal Error ...safepoint.cpp...assert(!thread->has_last_Java_frame() || thread->frame_anchor()->walkable()) failed: blocked and not walkable],[othervm junit], [],[640],[] compiler/codecache/jmx/BeanTypeTest.java,[tier1],[linux-x64-debug],[ExitCode: 134Crash: Internal Error ...safepoint.cpp...assert(!thread->has_last_Java_frame() || thread->frame_anchor()->walkable()) failed: blocked and not walkable],[othervm driver], [-Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+SegmentedCodeCache compiler.codecache.jmx.BeanTypeTest],[580],[] compiler/codecache/cli/codeheapsize/TestCodeHeapSizeOptions.java,[tier1],[linux-x64-debug],[Exception: java.lang.AssertionError: JVM should start with option 'NonNMethodCodeHeapSize' without errors.Exception: java.lang.RuntimeException: Expected to get exit value of [0]Crash: Internal Error ...safepoint.cpp...assert(!thread->has_last_Java_frame() || thread->frame_anchor()->walkable()) failed: blocked and not walkable],[bug8015774 driver], [],[20799],[]
09-10-2018