Index: vm/vmcore/src/util/win/ia32_em64t/nt_exception_filter_common.cpp =================================================================== --- vm/vmcore/src/util/win/ia32_em64t/nt_exception_filter_common.cpp (revision 519890) +++ vm/vmcore/src/util/win/ia32_em64t/nt_exception_filter_common.cpp (working copy) @@ -209,6 +209,12 @@ nt_to_vm_context(context, ®s); POINTER_SIZE_INT saved_eip = (POINTER_SIZE_INT)regs.get_ip(); + // FIXME: need to find out why such a situation happens... + if (!p_TLS_vmthread) + { + return EXCEPTION_CONTINUE_SEARCH; + } + assert(p_TLS_vmthread); // If exception is occured in processor instruction previously // instrumented by breakpoint, the actual exception address will reside