| Previous | Next |
| EMSGSIZE | ELOOP |
EIDRM
The identifier was valid only while the IPC object existed
EIDRM belongs to System V IPC-style lifetime semantics. It indicates that an operation encountered an identifier whose underlying object was removed. The important distinction is between a bad identifier supplied from the start and an identifier that became invalid because another actor destroyed the queue, semaphore set, or shared-memory object.
Do not keep retrying the same numeric identifier. Reacquire the IPC endpoint through the application’s documented discovery or creation protocol, and decide whether outstanding work must be recreated, discarded, or reported as interrupted.
Useful evidence
- IPC object type, identifier, creator or owner, and the API that reported the error.
- Removal events and shutdown order for the peer or supervisor that owns the object.
- Whether the caller can safely recreate the object without racing another instance.
References
- Apple XNU: Darwin errno definitions
- POSIX: msgrcv() error semantics
- POSIX: msgctl() and IPC object removal
Looking for a different code? Search another status or error code.