US9921902B2

System and method for providing a watchdog timer to enable collection of crash data

Summary by NHIP

Watchdog Timer Crash Data System

The system uses a watchdog thread to monitor application operations and collect crash data when a predefined timeout expires. The watchdog timeout period is strictly less than the operating system timeout period, and the source thread signals completion via a semaphore message.

Claim Score by NHIP

Read claim 17, the broadest

Abstract

A system and method for providing a watchdog timer to enable collection of crash data is provided. Upon execution of certain operations, a source thread of an application initiates a watchdog thread that periodically sample state of data relating to the application. Should the operation not complete within a watchdog timeout period, the watchdog thread invokes a crash function to collect additional state data. At least a portion of the state data is stored for later analysis and debugging.

US9921902B2, drawing sheet 1
Sheet 1 of 6

Term

7.4 yearsleft in the term

Expires 1 March 2034, including 82 days of term adjustment.

  1. Priority
  2. Filed
  3. Granted
  4. Today
  5. Expires

20 claims: 3 independent, 17 dependent

  1. 1
    A system comprising:a memory storing an application and a crash data structure;a computer processor executing the application having a source thread and a watchdog thread, wherein the source thread initiates a predefined operation having an operating system timeout period, and wherein the watchdog thread enables the computer processor to: determine, prior to completion of the predefined operation and prior to expiration of the operating system timeout period, that a predefined watchdog timeout period is expired, wherein the watchdog timeout period is less than the operation system timeout period;invoke a crash function to collect state information relating to the application in response to determining that the predefined watchdog timeout period is expired;and store the state information in a crash data structure.
  2. 9
    A method comprising:initiating a source thread and a watchdog thread of an application;initiating a predefined operation of the application by the source thread, the predefined operation having an operating system timeout period;determining, by the watchdog thread executing on a computer processor, that a predefined watchdog timeout period is expired prior to expiration of the operating system timeout period, wherein the predefined watchdog timeout period is less than the operation system timeout period;invoking, by the watchdog thread executing on the computer processor, a crash function to collect state information relating to the application in response to the predefined operation not completing within the predefined watchdog timeout period;and storing the state information in a crash data structure.
  3. 17
    Broadest claimClaim Score 76, broad(NHIP)A system comprising:a computer processor;a source thread of an application configured to initiate a predefined operation having an operating system timeout period;a watchdog thread of the application and configured to execute on the computer processor to enable the computer processor to: periodically sample state information relating to the application;store at least a portion of the sampled state information;and an operating system configured to execute on the computer processor to enable the computer processor to terminate the application upon expiration of the operating system timeout period.