×

Method to Isolate Crash of an Embedded Multi-Threaded Application to a Shared Library Call Without Core Dump Files or Debugger

  • US 20100107017A1
  • Filed: 10/23/2008
  • Published: 04/29/2010
  • Est. Priority Date: 10/23/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method for isolating errors in an embedded information handling system including a multi-threaded application having a signal handler, a shared library having at least one function, and a library encapsulation module having a function clone associated with up to each function of the shared library, the method comprising:

  • (a) a first calling thread of the multi-threaded application calling a first function clone associated with a first function of the shared library;

    (b) the called first function clone determining a process ID associated with the first calling thread and a function ID associated with the called first function;

    (c) the called first function clone storing the process ID associated with the first calling thread and a function ID associated with the called first function to a library encapsulation table protected by a mutex;

    (d) the called first function clone calling the called first function;

    (e) the called first function generating an error;

    (f) the signal handler catching the error;

    (g) the signal handler determining the function ID and process ID associated with the error using the library encapsulation table; and

    (h) the signal handler writing the process ID and function ID associated with the error to a log file.

View all claims
  • 14 Assignments
Timeline View
Assignment View
    ×
    ×