--- old/src/share/vm/utilities/vmError.cpp 2016-10-25 10:40:13.147780154 +0200 +++ new/src/share/vm/utilities/vmError.cpp 2016-10-25 10:40:13.100780122 +0200 @@ -476,7 +476,7 @@ if (_context) { st->print_cr("# Problematic frame:"); st->print("# "); - frame fr = os::fetch_frame_from_context(_context); + frame fr = os::fetch_frame_from_context(_thread, _context); fr.print_on_error(st, buf, sizeof(buf)); st->cr(); st->print_cr("#"); @@ -562,7 +562,7 @@ address stack_bottom = stack_top - stack_size; st->print("[" PTR_FORMAT "," PTR_FORMAT "]", stack_bottom, stack_top); - frame fr = _context ? os::fetch_frame_from_context(_context) + frame fr = _context ? os::fetch_frame_from_context(_thread, _context) : os::current_frame(); if (fr.sp()) { @@ -581,7 +581,7 @@ // We have printed the native stack in platform-specific code // Windows/x64 needs special handling. } else { - frame fr = _context ? os::fetch_frame_from_context(_context) + frame fr = _context ? os::fetch_frame_from_context(_thread, _context) : os::current_frame(); print_native_stack(st, fr, _thread, buf, sizeof(buf));