SYSTEM_UNWIND_PREVIOUS_USER
Invalid unwind across user/kernel context
SYSTEM_UNWIND_PREVIOUS_USER is bug check code 0x0000003A. This bug check belongs to exception and stack-unwind handling. It indicates that control-flow or stack metadata did not match the expected transition between user and kernel contexts.
How to read it in a dump
- Inspect trap frames, exception records, and stack frames around the transition.
- Stack corruption, bad callback return, or code that damaged unwind state can be more important than the stop code itself.
- A full dump helps distinguish user callback damage from kernel stack corruption.
What to check
- Use WinDbg to examine the trap frame and call stack manually, not only !analyze output.
- Check drivers using callbacks, system calls, or user-mode upcalls.
- Look for memory corruption or overwritten return addresses.
References
Looking for a different code? Search another status or error code.