Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Crash log is a log file automatically created on Set top boxes when a crash occurs. This information is useful for offline debugging. 

Core Dump and Minidump

What is Coredump?

Core dump files generated after an uncaught signal in a process (as a SIGSEGV or SIGQUIT), are generated in the base directory where the program was executed, and the core dumps starts with the name  as “core” or “core.PID”.

...

By default, core will be generated in the current directory with the file name "core". We can change the core generating directory from current directory to another by editing the kernel configuration file core pattern(/proc/sys/kernel/core_pattern)  in the kernel.

  • echo "newpattern" > /proc/sys/kernel/core_pattern

Core pattern is helpful in the case if there are couple of core dumps files in one directory and we don't know which program caused it.

...