diff -r 6470230caf2a -r 9ffa0d7ed932 src/os_cpu/linux_x86/vm/thread_linux_x86.cpp --- a/src/os_cpu/linux_x86/vm/thread_linux_x86.cpp Mon Jun 19 22:49:52 2017 +0000 +++ b/src/os_cpu/linux_x86/vm/thread_linux_x86.cpp Mon Jun 26 02:04:40 2017 -0700 @@ -45,7 +45,7 @@ // If we have a last_Java_frame, then we should use it even if // isInJava == true. It should be more reliable than ucontext info. - if (jt->has_last_Java_frame()) { + if (jt->has_last_Java_frame() && jt->frame_anchor()->walkable()) { *fr_addr = jt->pd_last_frame(); return true; }