Segmentation Fault
In short: A program accessed an illegal memory area (exit code 139).
In more detail: Typical in C and C++.
In Depth
Possible causes
- Null pointer or freed memory.
- Buffer overflow.
- Faulty library.
Solutions
- Find the spot with a debugger (
gdb) and core dump. - Recompile with AddressSanitizer.
- Check pointers and array bounds.