A core dump is a file containing a dump of the state and memory of a program during its breaking. Since base dumps can accept non-trivial amounts of disk space, there is a configurable limit on how large they are. You can see it with ulimit -c
.
Now that you get a segmentation error, the default action is to terminate the process and the core dump. Your shell reports what happened if the process terminated with a segmentation failure signal, it will print a Segmentation fault
, and if this process additionally resets the kernel (if the ulimit
parameter and permissions are in the directory where the core dump will be generated), this will tell you about it.
source share