| Предыдущий | Следующий |
| ERROR_NO_PAGEFILE | ERROR_NO_EVENT_PAIR |
ERROR_ILLEGAL_FLOAT_CONTEXT
Что означает ERROR_ILLEGAL_FLOAT_CONTEXT
ERROR_ILLEGAL_FLOAT_CONTEXT — приложение реального режима выполнило инструкцию с плавающей точкой, но соответствующее оборудование отсутствует.
Что проверить
Сохраните floating-point exception context: instruction, registers/FPU state и stack.
- Определите конкретное исключение — divide by zero, overflow, underflow, invalid operation, denormal или stack fault.
- Проверьте маски FPU/SSE exceptions и входные данные операции; multiple faults/traps требуют анализа первого исключения в цепочке.
Исходная формулировка
A real-mode program issued a floating-point instruction without a usable floating-point context.
Reproduce without debuggers, API hooks, or compatibility shims so that altered exception delivery can be ruled out.
the emulator or hypervisor version and snapshot history
Code that calls GetThreadContext, SetThreadContext, or implements an emulator must request and preserve the relevant floating-point context flags. Recovery is safe only when the runtime can reconstruct the complete machine state; otherwise terminate the emulated task and report the transition that lost it.
A virtual machine resumes an old workload after a snapshot or debugger transition and restores incomplete processor state.
Технические ссылки
Нужно найти другой код? Найти другой код состояния или ошибки.
