Linuxexit code > 0
Segmentation fault (core dumped)
$./script: Segmentation fault (core dumped)
Analysis
The process tried to access a memory segment that it doesn't have permission to access (e.g., writing to read-only memory, dereferencing a null pointer).
Common Triggers
- ●Dereferencing a null pointer in C/C++.
- ●Stack overflow (infinite recursion).
- ●Buffer overflow.
Debug Checks
- $Debug with
gdb ./program core.
Resolution
1
Fix the bug in the code (null check, array bounds).
2
Update the software if it's a third-party tool.
Metadata
- Tool
- Linux
- Severity
- High
- Tags
- #linux#memory#crash