Application crash resist method and apparatus
First Claim
1. An article of manufacture comprising:
- a non-transitory tangible computer-readable storage medium; and
a plurality of programming instructions stored in the storage medium, configured to enable an apparatus, in response to execution of the instructions by the apparatus, to perform operations comprising;
instantiating a plurality of instances of an exception handler, wherein each of the exception handler instances corresponds to a different one of a plurality of applications executing on the apparatus, wherein each of the exception handler instances is configured to stall an abnormal termination of the corresponding application upon receiving a non-stop stalling message from a message queue of the corresponding application, and to translate the received message and post the translated message back to the message queue of the corresponding application; and
instantiating an abnormal application termination service configured to enable a user to control the instances of the exception handler in stalling or permitting abnormal terminations of the corresponding applications;
wherein said instantiating of the plurality of instances of the exception handler is performed responsive to an instruction received from the abnormal application termination service.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of an application crash resist method and apparatus including an abnormal application termination service and an exception handler are disclosed herein. The service is configured to broadcast messages to cause the exception handler to be loaded by applications, and the exception handler is configured to stall abnormal termination of an application having loaded an instance of the exception handler. In various embodiments, the exception handler instances further report abnormal terminations to the service, and to receive instructions on how long to stall from the service. In various embodiments, the method and apparatus further includes a tray application through which the service obtains user inputs on how long to stall an abnormal termination from a user.
-
Citations
15 Claims
-
1. An article of manufacture comprising:
-
a non-transitory tangible computer-readable storage medium; and a plurality of programming instructions stored in the storage medium, configured to enable an apparatus, in response to execution of the instructions by the apparatus, to perform operations comprising; instantiating a plurality of instances of an exception handler, wherein each of the exception handler instances corresponds to a different one of a plurality of applications executing on the apparatus, wherein each of the exception handler instances is configured to stall an abnormal termination of the corresponding application upon receiving a non-stop stalling message from a message queue of the corresponding application, and to translate the received message and post the translated message back to the message queue of the corresponding application; and instantiating an abnormal application termination service configured to enable a user to control the instances of the exception handler in stalling or permitting abnormal terminations of the corresponding applications; wherein said instantiating of the plurality of instances of the exception handler is performed responsive to an instruction received from the abnormal application termination service. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method, comprising:
-
instantiating, by an apparatus, a plurality of instances of an exception handler, wherein each of the exception handler instances corresponds to an application executing on the apparatus; and instantiating, by the apparatus, an abnormal application termination service configured to enable a user to control the exception handler instances in stalling or permitting abnormal terminations of the corresponding applications; wherein each of the exception handler instances is configured to perform; receiving a message from a message queue of the corresponding application, after the exception handler instance having been given control in response to an abnormal termination of the corresponding application; determining whether the received message is a stop stalling message from the abnormal application termination service or an indication of an amount of stall time has expired; and if the received message is not a stop stalling message from the abnormal application termination service, translating the received message and posting the translated message back into the message queue to stall the abnormal termination of the corresponding application; wherein said instantiating of the plurality of the instances of the exception handler is responsive to an instruction received from the abnormal application termination service. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. An apparatus comprising:
-
a non-transitory tangible machine-readable storage medium having stored therein a plurality of programming instructions; and a processor coupled to the storage medium, and configured to execute the programming instructions; wherein the programming instructions are configured to enable an apparatus, in response to execution of the instructions by the processor, to; instantiate a plurality of instances of an exception handler, wherein each of the exception handler instances corresponds to a different one of a plurality of applications executing on the apparatus, wherein each of the exception handler instances is configured to stall an abnormal termination of the corresponding application upon receiving a non-stop stalling message from a message queue of the corresponding application, and to translate the received message and post the translated message back to the message queue of the corresponding application; and instantiating an abnormal application termination service configured to enable a user to control the exception handler instances in stalling or permitting of abnormal terminations of the corresponding applications; wherein said instantiating of the plurality of instances of the exception handler is performed responsive to an instruction received from the abnormal application termination service. - View Dependent Claims (15)
-
Specification