RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Table of Contents |
---|
Crash dumping system facilitates service providers or developers to collect crashes upload component helps in uploading the crashes (coredump or minidump files) that 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 to the crash portal server(which can be configured). Crash portal collects crash dumps and 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. and provide a meaningful backtrace.
Crash Portal server processes 2 types of crash dump files
Minidump or core files are tarred and uploaded by crashUpload component:
https://code.rdkcentral.com/r/rdk/components/generic/crashupload
dump-backup.service invokes /lib/rdk/core_shell.sh which is responsible for calling uploadDumps.sh script to upload the crash dump to crash portal server.
echo "|$RDK_PATH/core_shell.sh %e %s %t" >/proc/sys/kernel/core_pattern
uploadDumps.sh script collects the following and compresses it to create a .tgz format
...