ENOSTRENOSTR — Not a STREAMS Device
A STREAMS-specific operation was attempted on a non-STREAMS file descriptor.
SIGSEGV (11)The process attempted to access memory that it is not allowed to access.
Dereferencing a NULL or invalid pointer, accessing freed memory, buffer overflow, stack overflow, or writing to read-only memory.
Use gdb with the core dump to find the exact line. Run with AddressSanitizer or Valgrind to detect memory errors.
# Check core dump
coredumpctl list
# Analyze with gdb
gdb ./program coreENOSTRA STREAMS-specific operation was attempted on a non-STREAMS file descriptor.
ENOSRThe system ran out of STREAMS resources needed to complete the operation.
EACCESThe requested access to a file or resource is not allowed by the file permissions.
EISDIRThe operation is not permitted on a directory, but the target path is a directory.
Exit 2A shell built-in was used incorrectly, or a command returned a usage error.
SIGTTIN (21)A background process attempted to read from its controlling terminal.