How to Enable/Generate/Debug Core Dump In Linux?
Today while browsing i came across to something interesting so thought to share with you all. Thanks to Gordon . What is Core Dump? If the running programs were terminated abnormal or crashed, the memory status of the program will be recorded by OS and saved in a file, this file is called “Core Dump” . We also can think of core dump as “memory snapshots”, but in fact, in addition to the memory core dump information, some crucial state of program will also be dump down, such as register information (including the program pointer, the stack pointer etc.), memory management information, other processor state. Core dump is very helpful for programmers to diagnose and debug the program, since some bugs are difficult to reproduce, such as pointer exception, and we can analyze the core dump file to reproduce that program bugs. How to generate Core Dump? Under what circumstances the program terminates abnormally or crashes would happen, if we use the command ...