Site icon EfmSoft

What does errno 35 (EDEADLK) mean?

 
Could be also:
ConstantTypeOS
KERN_INVALID_SECURITYKern returnMac
ippStsDoubleSizeIntel Ipp StatusAny
EAGAINerrnoMac
ENOMSGerrnoSolaris
FAT_FILE_SYSTEMBugCheck CodeWindows
Previous Next
ERANGE EAGAIN

EDEADLK

A deadlock warning from the lock subsystem

EDEADLK means that the locking subsystem detected a request that would create a deadlock cycle. It can arise from blocking POSIX record-lock operations, and related lock APIs may use it when a thread tries to acquire a non-recursive mutex it already owns. The result is valuable because the caller is still running; it can release resources, report the lock graph, and choose a recovery path instead of waiting forever.

Detection is not universal. A program can still deadlock through locks in different processes, library layers, RPC calls, or resources that the kernel cannot relate. Treat this errno as evidence of a lock-order design problem, not as a condition to suppress with an immediate retry.

How to investigate

References


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

Exit mobile version