RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Table of Contents |
---|
Crash upload component helps in uploading the crashes (coredump or minidump files) that dumping system facilitates service providers or developers to collect crashes happened in the set-top boxes to the crash portal server(which can be configured). Crash portal collects crash dumps and 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 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.
...
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.
...
Breakpad is a library that records crashes in compact "minidump" files. It produce C and C++ stack traces from minidumps. Breakpad can also write minidumps on request for programs that have not crashed.
...
draw.io Diagram | ||||
---|---|---|---|---|
|
How to Integrate Google Breakpad library?
...
Panel |
---|
After you get inside the gdb-prompt, (on execution of the above command), type; (gdb) bt full |
To know more about SoC/Application level APIs details use in RDK, refer the link Crashupload API Documentation