RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Breakpad wrapper acts as a wrapper to integrate Google Breakpad with RDK components.
draw.io Diagram | ||||
---|---|---|---|---|
|
Purpose of this component is to avoid static linking of the library (libbreakpad_client.a) across different modules. Includes the static library (libbreakpad_client.a) so that we can use dynamic library (libbreakpadwrapper.so) along with the native code.
https://code.rdkcentral.com/r/rdk/components/generic/breakpad_wrapper
Breakpad exception handler writes minidump to disk at exception time.
Code Block |
---|
void breakpad_ExceptionHandler() { printf("\t\t\t\t ********ENTER breakpad_ExceptionHandler****************** \n"); static google_breakpad::ExceptionHandler* excHandler = NULL; excHandler = new google_breakpad::ExceptionHandler(google_breakpad::MinidumpDescriptor("/opt/minidumps"), NULL, breakpadDumpCallback, NULL, true, -1); printf("\t\t\t\t ******** breakpad_ExceptionHandler EXIT****************** \n"); } |
Breakpad-wrapper component compiles to create libbreakpadwrapper.so which needs to be linked with the RDK component for Breakpad integration.
See the page Integrating Breakpad to RDK-V Component to know about its usage
Info | ||
---|---|---|
| ||
Breakpad wrapper now supports writing minidump content to a specific file descriptor provided by an environment variable named BREAKPAD_FD |