ELOCKUNMAPPED
Obsolete robust-lock compatibility code
On Solaris, ELOCKUNMAPPED is errno value 72. The base message is locked lock was unmapped
, but the useful diagnostic context is narrower than the short message: solaris keeps this obsolete robust-lock value for compatibility; modern recovery uses EOWNERDEAD.
Use the Solaris-specific errno table first, then compare with POSIX only for portable behavior. Some Solaris values share names with other UNIX systems but have different numbers or more specific historical meanings.
What to check
- If old binaries report it, examine robust mutex lifecycle and mappings that disappeared while a lock was held.
- For new code, handle EOWNERDEAD and ENOTRECOVERABLE explicitly.
- Do not build new logic that depends on ELOCKUNMAPPED being produced by modern interfaces.
References
Looking for a different code? Search another status or error code.