Exception Codes

This topic describes the following types of exceptions:

wRTOS Exception Codes

wRTOS displays pop-up notifications for certain occurrences in the Subsystem, such as licensing errors, hardware exceptions, and system exceptions. These notifications appear as balloon pop-ups and are also logged to the Windows Event Viewer. Notification codes and descriptions are listed in the tables below.

RTSS Licensing Errors

Code Notification Text

RTSS_1_0001

The wRTOS Evaluation period has expired. Please contact IntervalZero, Inc. at www.intervalzero.com or +1 781-996-4481 to obtain a full-use version.

RTSS_1_0002

No wRTOS license is available. Please contact IntervalZero, Inc. at www.intervalzero.com or +1 781-996-4481.

RTSS_1_0003

The TCP/IP feature Evaluation period has expired. Please contact IntervalZero, Inc. at www.intervalzero.com or +1 781-996-4481 to obtain a full-use version.

RTSS_1_0004

The TCP/IP feature is not licensed. Please contact IntervalZero, Inc. at www.intervalzero.com or +1 781-996-4481.

RTSS_1_0005

A wRTOS binary was not built with a licensed SDK. Please contact IntervalZero, Inc. at www.intervalzero.com or +1 781-996-4481.

RTSS_1_0006

A wRTOS binary or one of the RTDLLs it loads (implicitly or explicitly) was not built with a licensed SDK. Please contact IntervalZero, Inc. at www.intervalzero.com or +1 781-996-4481.

RTSS_1_0007

A wRTOS binary is not supported to run on the currently installed wRTOS runtime. Please contact IntervalZero, Inc. at www.intervalzero.com or +1 781-996-4481.

RTSS_1_0008

A wRTOS binary or one of the RTDLLs it loads (implicitly or explicitly) is not supported to run on the currently installed wRTOS runtime. Please contact IntervalZero, Inc. at www.intervalzero.com or +1 781-996-4481.

RTSS_1_0009

A wRTOS binary or one of the RTDLLs it loads (explicitly or implicitly) is missing important internal license information. Please contact IntervalZero, Inc. at www.intervalzero.com or +1 781-996-4481.

RTSS_1_0010

A wRTOS binary or one of the RTDLLs it loads (explicitly or implicitly) was built using a non-wRTOS SDK and cannot be executed by wRTOS. Recompiling the binary using the wRTOS SDK will enable wRTOS to execute it.

RTSS Hardware Exceptions

Code Notification Text

RTSS_2_0000

Divide By Zero

RTSS_2_0001

Debug Exception (Single-step)

RTSS_2_0002

Non-Maskable Interrupt

RTSS_2_0003

Breakpoint Exception

RTSS_2_0004

Overflow Exception

RTSS_2_0005

Bound Range Exceeded

RTSS_2_0006

Invalid Op Code

RTSS_2_0007

NPX Not Available

RTSS_2_0008

Double Fault

RTSS_2_0009

Coprocessor Segment Overrun

RTSS_2_000A

Invalid TSS

RTSS_2_000B

Segment Not Present

RTSS_2_000C

Stack Fault

RTSS_2_000D

General Protection Fault

RTSS_2_000E

Memory Access Fault

RTSS_2_000F

Reserved Trap

RTSS_2_0010

FPU Floating-Point Error

RTSS_2_0011

Alignment Check Exception

RTSS_2_0012

Machine-Check Exception

RTSS_2_0013

SIMD Floating-Point Exception

RTSS_2_0014

Noncontinuable Exception

RTSS_2_0015

Invalid Unwind

RTSS_2_0016

Bad Stack

RTSS_2_0017

Invalid Handler

RTSS_2_0018

Unknown Fault

Win32 Hardware Exceptions

Code Notification Text

RTSS_3_0002

Data Type Misalignment

RTSS_3_0003

Break Point

RTSS_3_0004

Single Step

RTSS_3_0005

Access Violation

RTSS_3_001D

Illegal Instruction

RTSS_3_008D

Float Denormalized Operand

RTSS_3_008E

Float Divided by Zero

RTSS_3_008F

Float Inexact Result

RTSS_3_0090

Float Invalid Operation

RTSS_3_0091

Float Overflow

RTSS_3_0093

Float Underflow

RTSS_3_0094

Integer Divided by Zero

RTSS_3_0194

Possible Deadlock Condition

RTSS System Exceptions

Code Notification Text

RTSS_4_0000

Internal System Error

RTSS_4_0001

Windows Starvation Timeout

RTSS_4_0002

System entered x2APIC mode. This version of wRTOS does not support x2APIC mode.

RTSS_4_0004

Failed to pass wRTOS configuration check

RTSS Monitoring Exceptions

Code Notification Text

RTSS_5_0000

wRTOS monitoring data has been lost due to insufficient internal resources. Please monitor fewer events and/or increase the amount of nonpaged memory dedicated to monitoring in wRTOS Settings.

RTSS_5_0001

Internal monitoring error 1.

RTSS_5_0002

Internal monitoring error 2.

RTSS_5_0003

Monitor Transport Buffer Initialization failed.

RTSS_5_0004

Recent Event List initialization failed.

RTSS_5_0005

Failed to read maximum on disk size of one event session from registry.

RTSS_5_0006

Failed to read event log file folder name from registry.

RTSS_5_0007

Failed to read set of enabled events from registry.

RTSS_5_0008

The Monitoring framework thread failed to start.

Intel Exception Codes

Following Windows behavior, RTSS maps the Intel (x86) exception code to the Windows one, and then invokes Structured Exception Handling. wRTOS will alert the user via a popup message, make an entry to the event log, and freeze or terminate the thread and associated process.

x64 Exception

Windows Mapping

EXCEPTION_DIVIDED_BY_ZERO

EXCEPTION_INT_DIVIDE_BY_ZERO
EXCEPTION_FLT_DIVIDE_BY_ZERO

EXCEPTION_NPX_OVERRUN

EXCEPTION_FLT_INVALID_OPERATION

EXCEPTION_NPX_ERROR

EXCEPTION_FLT_DENORMAL_OPERAND
EXCEPTION_FLT_DIVIDE_BY_ZERO
EXCEPTION_FLT_OVERFLOW
EXCEPTION_FLT_UNDERFLOW
EXCEPTION_FLT_INEXACT_RESULT
EXCEPTION_FLT_INVALID_OPERATION

EXCEPTION_INVALID_OPCODE

EXCEPTION_ILLEGAL_INSTRUCTION

EXCEPTION_GP_FAULT
EXCEPTION_PAGE_FAULT
EXCEPTION_BOUND_CHECK
EXCEPTION_SEGMENT_NOT_PRESENT

EXCEPTION_ACCESS_VIOLATION

EXCEPTION_DEBUG

EXCEPTION_BREAKPOINT

EXCEPTION_ALIGNMENT_CHECK

EXCEPTION_DATATYPE_MISALIGNMENT

Related topics: