Versions Compared

Key

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

Crash dumping system facilitates service providers or developers to collect crashes happened in the set-top boxes and do the debugging in offline. Crash dumping system is a debug supporting system, which consists of Crash dumping server(s) with user interfaces.  Crash dumping server collect crash logs which happened in the connected STBs, process these logs and store for future reference.

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 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 named as “core” or “core.PID”.

How to generate a core file?

By default size of the core will be zero, To generate the core, we need to set the size of the core to unlimited. 


Info
ulimit -c unlimited

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.



Code Block
echo "newpattern" > /proc/sys/kernel/core_pattern