Core Dumps: Difference between revisions

From mylearnings
Jump to navigationJump to search
Created page with "= What is a Core Dump ? = * A core dump is a snapshot of the programs memory mappings and state when it crashed. * A core dump can be used to analyze the reason for the crash. * A core can come from User space programs or even kernel. ::- Core get generated when the user space program receives certain signal like (For detail check **man -7 signal** * Kernel is having special mechanism for booting a secondary kernel and collect the core for primary kernal. ::- In linux th..."
 
Line 3: Line 3:
* A core dump can be used to analyze the reason for the crash.
* A core dump can be used to analyze the reason for the crash.
* A core can come from User space programs or even kernel.
* A core can come from User space programs or even kernel.
::- Core get generated when the user space program receives certain signal like (For detail check **man -7 signal**
::- Core get generated when the user space program receives certain signal like (For detail check '''''man -7 signal''''')
* Kernel is having special mechanism for booting a secondary kernel and collect the core for primary kernal.
* Kernel is having special mechanism for booting a secondary kernel and collect the core for primary kernal.
::- In linux this is done using Kdump/Kexec
::- In linux this is done using Kdump/Kexec
*
*

Revision as of 03:27, 2 July 2025

What is a Core Dump ?

  • A core dump is a snapshot of the programs memory mappings and state when it crashed.
  • A core dump can be used to analyze the reason for the crash.
  • A core can come from User space programs or even kernel.
- Core get generated when the user space program receives certain signal like (For detail check man -7 signal)
  • Kernel is having special mechanism for booting a secondary kernel and collect the core for primary kernal.
- In linux this is done using Kdump/Kexec