core dump

Jun 30, 2009 at 12:25pm
Hi
what is core dump and segmentation fault.in which condition these two are found.whats the method to solve this problem in UNIX or Linux environment. Thanks
Jun 30, 2009 at 2:24pm
segfault occurs when you attempt to access a memory address that is not mapped into your process' virtual memory space. It is a signal that is delivered by the kernel to your process. When your process receives this signal, the default action (unless you override it explicitly) is to dump core.

A core dump is a complete dump of your process' virtual address space to disk file, along with the CPU registers at the time of the fault.
Topic archived. No new replies allowed.