| Previous | Next |
| INCONSISTENT_IRP | PORT_DRIVER_INTERNAL |
PANIC_STACK_SWITCH
The PANIC_STACK_SWITCH bug check has a value of 0x0000002B. This indicates that the kernel mode stack was overrun.
PANIC_STACK_SWITCH Parameters
| Parameter | Description |
|---|---|
1 |
The trap frame |
2 |
Reserved |
3 |
Reserved |
4 |
Reserved |
Cause
This error normally appears when a kernel-mode driver uses too much stack space. It can also appear when serious data corruption occurs in the kernel.
Resolution for PANIC_STACK_SWITCH
Diagnostic focus
Use Parameter 1 to inspect the trap frame and the thread stack at the point of overflow. Look for deep or recursive driver call chains, unusually large stack locals, repeated filter callbacks, and corruption that has displaced the normal stack boundaries. The useful distinction is between genuine kernel-stack exhaustion and a damaged stack pointer, because reducing workload will not fix a driver that recursively consumes stack or writes outside its frame.
References
Looking for a different code? Search another status or error code.
