IP Library › Granted Patent US 12,045,124
Granted Patent B2
US 12,045,124 · App. 17/184,839 · Granted Jul 23, 2024

Machine learning technique to diagnose software crashes

Inventors: Mathew Vetticalayil Philip (Palo Alto, CA); Joseph Robb Walston (Durham, NC); Stylianos Diamantidis (Sunnyvale, CA)
Assignee: Synopsys, Inc.
G06F11/079G06F11/0751G06F11/3688G06F11/3692G06N20/20
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,045,124
App. No.
17/184,839
Granted
Jul 23, 2024
Kind
B2
Abstract

A method includes receiving a crash signature and a crash configuration. The crash signature is generated in response to a software crash in a software application caused by the crash configuration. The method also includes applying a first machine learning model to determine a reference of a plurality of references that is closest to the crash signature and the crash configuration. The reference includes a reference crash signature and a reference configuration. The reference crash signature and the reference configuration are generated by a proxy crash to the software crash. The proxy crash was generated prior to the software crash by executing a modified test case against the software application.

Claims (22)

1. A method comprising:

receiving a crash signature and a crash configuration, the crash signature generated in response to a software crash in a software application that occurred using the crash configuration; and

applying a first machine learning model to determine a reference of a plurality of references that is closest to the crash signature and the crash configuration, the reference comprising a reference crash signature and a reference crash configuration, the reference generated based on a proxy crash, wherein the proxy crash was generated prior to the software crash by executing a modified test case against the software application.

2. The method of claim 1 , further comprising ranking the plurality of references based on their distances to the crash signature and the crash configuration after applying the first machine learning model.

3. The method of claim 1 , further comprising applying a second machine learning model to the crash configuration to determine a workaround for the software crash.

4. The method of claim 3 , wherein the second machine learning model uses a reward function to determine the workaround.

5. The method of claim 1 , further comprising adjusting, by another machine learning model, a configuration of a test case to produce the modified test case.

6. The method of claim 5 , further comprising, executing, by the another machine learning model, the modified test case against the software application to generate the proxy crash.

7. The method of claim 1 , further comprising, generating, by an additional machine learning model, the reference crash signature and the reference crash configuration based on the proxy crash.

8. The method of claim 1 , wherein the crash signature comprises a crash stack or a memory dump of the software crash.

9. An apparatus comprising:

a memory; and

a hardware processor communicatively coupled to the memory, the hardware processor configured to:

receive a crash signature and a crash configuration, the crash signature generated in response to a software crash in a software application that occurred using the crash configuration; and

apply a first machine learning model to determine a reference of a plurality of references that is closest to the crash signature and the crash configuration, the reference comprising a reference crash signature and a reference crash configuration, the reference generated based on a proxy crash, wherein the proxy crash was generated prior to the software crash by executing a modified test case against the software application.

10. The apparatus of claim 9 , the hardware processor further configured to rank the plurality of references based on their distances to the crash signature and the crash configuration after applying the first machine learning model.

11. The apparatus of claim 9 , the hardware processor further configured to apply a second machine learning model to the crash configuration to determine a workaround for the software crash.

12. The apparatus of claim 11 , wherein the second machine learning model uses a reward function to determine the workaround.

13. The apparatus of claim 9 , the hardware processor further configured to adjust, by another machine learning model, a configuration of a test case to produce the modified test case.

14. The apparatus of claim 13 , the hardware processor further configured to execute, by the another machine learning model, the modified test case against the software application to generate the proxy crash.

15. The apparatus of claim 9 , the hardware processor further configured to generate, by an additional machine learning model, the reference crash signature and the reference crash configuration based on the proxy crash.

16. The apparatus of claim 9 , wherein the crash signature comprises a crash stack or a memory dump of the software crash.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 25, 2021
From: PHILIP, MATHEW VETTICALAYIL; WALSTON, JOSEPH ROBB; DIAMANTIDIS, STYLIANOS
To: SYNOPSYS INCORPORATED
Reel/Frame 055408/0386 →
Continuity (2)
Provisional Application 63150544 · Feb 17, 2021
Related Publication 20220261301A1 · Aug 18, 2022