linux
Segmentation Fault (Core Dumped)
Segmentation fault|segfault|SIGSEGV|core dumped
Fixes
- 1.Enable core dumps (`ulimit -c unlimited`) and analyze with `gdb ./program core` to find the crash location
- 2.Run with AddressSanitizer: compile with `-fsanitize=address` to detect memory errors
- 3.Check for null pointer dereference, buffer overflow, or use-after-free — common in C/C++ extensions
crashmemorydebugging
Related Errors
linux3 fixes
Permission Denied
Permission denied|EACCES|Operation not permitted
- •Check file permissions with `ls -la` — fix with `chmod 644 file` or `chmod 755 dir`
- •Run with `sudo` if root access is required, or change file ownership with `chown user:group file`
linux3 fixes
Command Not Found
command not found|not recognized as.*command
- •Install the missing package: `apt install <package>` or `yum install <package>`
- •Check if the binary is in your PATH: `echo $PATH` — add it with `export PATH=$PATH:/new/path`
linux3 fixes
No Space Left on Device
No space left on device|ENOSPC|disk full
- •Find large files: `du -sh /* | sort -rh | head -20` and clean up logs, temp files, or old Docker images
- •Clear package cache: `apt clean` or `docker system prune -a` to reclaim space