What does macOS kernel return 14 (KERN_ABORTED) mean?

 
Could be also:
ConstantTypeOS
ERROR_OUTOFMEMORYWin32 errorWindows
ippStsLSFHighIntel Ipp StatusAny
EFAULTerrnoAny
NO_USER_MODE_CONTEXTBugCheck CodeWindows
Previous Next
KERN_NAME_EXISTS KERN_INVALID_NAME

KERN_ABORTED

KERN_ABORTED indicates that a Mach operation did not complete because it was aborted. XNU's definition notes that IPC code can catch this condition and reflect it as a message error, so the original kernel return may not always be the only symptom visible at a higher API layer.

Unlike a malformed argument, this result says that an operation in progress was interrupted or cancelled before it could finish its normal transition. The next diagnostic question is therefore not merely “which parameter was wrong?”, but “which lifecycle event changed while the request was active?”

What to correlate

  • Port destruction, task termination, cancellation, timeout, or shutdown events around the failed call.
  • Whether the caller was sending, receiving, or managing a port right when the abort occurred.
  • Whether retrying would repeat a cancelled operation or is safe only after rebuilding the IPC relationship.
  • Any higher-level message error that wraps or replaces the raw Mach result.

Mach IPC is built around messages, ports, and rights. A useful error report should preserve the operation type and object lifecycle, because KERN_ABORTED alone deliberately does not identify the cancelling event.

References


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