Site icon EfmSoft

What does macOS kernel return 41 (KERN_LOCK_OWNED_SELF) mean?

 
Could be also:
ConstantTypeOS
ippStsI18nMsgCatalogInvalidIntel Ipp StatusAny
EWOULDBLOCKerrnoLinux
EPROTOTYPEerrnoMac
ELNRNGerrnoSolaris
ENOTEMPTYerrnoWindows
SECURITY_SYSTEMBugCheck CodeWindows
Previous Next
KERN_LOCK_OWNED KERN_SEMAPHORE_DESTROYED

KERN_LOCK_OWNED_SELF

Self-ownership exposes a reentrancy problem

KERN_LOCK_OWNED_SELF means the caller already owns the lock. This is different from contention with another thread: a simple wait cannot resolve it because the same thread must first unwind, release, or avoid the second incompatible lock operation.

The result identifies recursion or reentrancy in code that assumes a non-recursive lock contract, often through a callback, notification, error path, or helper that silently reaches the same guarded resource.

What to inspect

References


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

Exit mobile version