DOS/4G and DOS/4GW FAQ:Interpreting Error 2002

Your program has overflowed the kernel's internal transfer stack. The
transfer stack is an internal stack that the kernel uses when you signal
an interrupt, or when a hardware interrupt occurs in protected mode. The
kernel prints a register dump of the transfer stack frame after it prints
error 2002. If the CrashVerbose option is set to ON, you'll also see
register dumps for two previous transfer stack frames.

This sample shows the kind of information provided when a stack
overflow occurs and the kernel output when the CrashVerbose option is set
to ON.

1. This program overflowed the transfer stack when it tried
to process an Interrupt 70h at 170:0042C002.

2. The kernel displays the entire interrupt history from the transfer
stack, from most recent interrupt to least recent interrupt. The
prev_tfs32 numbers increase with each listed interrupt. All of these
interrupts are still pending - this is why the program ran out of
transfer stack.

3. Before the program overflowed the stack, it got the same interrupt
at the same address. This is typical of a recursive interrupt.

4. The oldest frame on the transfer stack shows that the recursion was
touched off at a slightly different address (170:42C030). Looking at
this address may help you understand the recursion.

5. The opcode stream and last four interrupt information comes from the
newest stack frame.