What does macOS kernel return 32 (KERN_EXCEPTION_PROTECTED) mean?

 
Could be also:
ConstantTypeOS
ERROR_SHARING_VIOLATIONWin32 errorWindows
ippStsSrcSizeLessExpectedIntel Ipp StatusAny
EPIPEerrnoAny
KERNEL_APC_PENDING_DURING_EXITBugCheck CodeWindows
Previous Next
KERN_DEFAULT_SET KERN_INVALID_LEDGER

KERN_EXCEPTION_PROTECTED

A protected exception-handling path

KERN_EXCEPTION_PROTECTED is narrower than a generic failure to inspect a thread. XNU defines it for an attempt to obtain a protected exception port, or to abort a thread while that thread is processing a protected exception.

The result therefore concerns the exception-handling state and protection of the Mach interface. It should not be diagnosed as the original application exception, memory fault, or breakpoint that may have led to this point.

What to inspect

  • Record the thread, requested exception mask or behavior, and whether the operation was a query or an abort.
  • Keep the original exception type and its code/subcode separate from this return value.
  • Review the exception-port API contract before changing thread-control timing.
  • Avoid racing exception handling with thread termination or abort logic merely to suppress this result.

References


Looking for a different code? Search another status or error code.