IP Library › Granted Patent US 12,346,237
Granted Patent B2
US 12,346,237 · App. 18/178,618 · Granted Jul 1, 2025

Crash bug component prediction system to identify components as potential bug sources

Inventors: Yang Xu (Xi'an, CN); Yong Li (Xi'an, CN); Hyun Deok Choi (Seoul, KR); Qiao-Luan Xie (Xi'an, CN); Chao Liu (Xi'an, CN)
Assignee: SAP SE
G06F11/3636G06F8/77G06F11/3692G06N5/022
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,346,237
App. No.
18/178,618
Granted
Jul 1, 2025
Kind
B2
Abstract

Methods, systems, and computer-readable storage media for receiving a crash report provided as a computer-readable file, providing a stack trace from the crash report, adding component information to the stack trace, for each component identified in the stack trace, determining a set of features, processing sets of features through a ML model to provide a prediction identifying a component as a bug component, and assigning the bug component for resolution through a crash management system.

Claims (37)

1. A computer-implemented method for identifying components in crash reports generated in response to crashes of software systems, the method being executed by one or more processors and comprising:

receiving a crash report provided as a computer-readable file;

providing a stack trace from the crash report;

adding component information to the stack trace to provide a stack trace and component table comprising a component column populated with a set of the components, a component position column populated with a set of component positions, each component in the set of components being associated with a respective component position in the set of component positions, a function name column populated with a set of function names, each component in the set of the components being associated with a sub-set of function names, and a function value column populated with a set of function values, each component being associated with a sub-set of function values;

for each component identified in the stack trace, determining a set of features;

processing sets of features through a machine learning (ML) model to provide a prediction identifying a component of the set of the components as a bug component, the ML model having been trained using training data comprising, for each stack trace in a set of historical stack traces, a set of historical features and a label, the set of historical features corresponding to a bug component for the respective stack trace; and

assigning the bug component for resolution through a crash management system.

2. The method of claim 1 , wherein the prediction comprises a component position within the stack trace.

3. The method of claim 1 , wherein the set of features of a respective component comprises at least one feature determined based on the sub-set of function values of the respective component.

4. The method of claim 1 , wherein each function value in the set of function values comprises an inverse document frequency (IDF) value determined for a respective function, the IDF value indicating a relative commonality of the respective function within a set of crash reports.

5. The method of claim 1 , wherein the component information comprises, for each component, component name and location, and the component information is added using a component map stored in computer-readable memory.

6. The method of claim 1 , wherein providing the stack trace from the crash report comprises generating a stack trace table comprising functional serial numbers and function names listed in the stack trace of the crash report.

7. A non-transitory computer-readable storage medium coupled to one or more processors and having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations for identifying components in crash reports generated in response to crashes of software systems, the operations comprising:

receiving a crash report provided as a computer-readable file;

providing a stack trace from the crash report;

adding component information to the stack trace to provide a stack trace and component table comprising a component column populated with a set of the components, a component position column populated with a set of component positions, each component in the set of components being associated with a respective component position in the set of component positions, a function name column populated with a set of function names, each component in the set of the components being associated with a sub-set of function names, and a function value column populated with a set of function values, each component being associated with a sub-set of function values;

for each component identified in the stack trace, determining a set of features;

processing sets of features through a machine learning (ML) model to provide a prediction identifying a component of the set of the components as a bug component, the ML model having been trained using training data comprising, for each stack trace in a set of historical stack traces, a set of historical features and a label, the set of historical features corresponding to a bug component for the respective stack trace; and

assigning the bug component for resolution through a crash management system.

8. The non-transitory computer-readable storage medium of claim 7 , wherein the prediction comprises a component position within the stack trace.

9. The non-transitory computer-readable storage medium of claim 7 , wherein the set of features of a respective component comprises at least one feature determined based on the sub-set of function values of the respective component.

10. The non-transitory computer-readable storage medium of claim 9 , wherein each function value in the set of function values comprises an inverse document frequency (IDF) value determined for a respective function, the IDF value indicating a relative commonality of the respective function within a set of crash reports.

11. The non-transitory computer-readable storage medium of claim 7 , wherein the component information comprises, for each component, component name and location, and the component information is added using a component map stored in computer-readable memory.

12. The non-transitory computer-readable storage medium of claim 7 , wherein providing the stack trace from the crash report comprises generating a stack trace table comprising functional serial numbers and function names listed in the stack trace of the crash report.

13. A system, comprising:

a computing device; and

a computer-readable storage device coupled to the computing device and having instructions stored thereon which, when executed by the computing device, cause the computing device to perform operations for identifying components in crash reports generated in response to crashes of software systems, the operations comprising:

receiving a crash report provided as a computer-readable file;

providing a stack trace from the crash report;

adding component information to the stack trace to provide a stack trace and component table comprising a component column populated with a set of the components, a component position column populated with a set of component positions, each component in the set of components being associated with a respective component position in the set of component positions, a function name column populated with a set of function names, each component in the set of the components being associated with a sub-set of function names, and a function value column populated with a set of function values, each component being associated with a sub-set of function values;

for each component identified in the stack trace, determining a set of features;

processing sets of features through a machine learning (ML) model to provide a prediction identifying a component of the set of the components as a bug component, the ML model having been trained using training data comprising, for each stack trace in a set of historical stack traces, a set of historical features and a label, the set of historical features corresponding to a bug component for the respective stack trace; and

assigning the bug component for resolution through a crash management system.

14. The system of claim 13 , wherein the prediction comprises a component position within the stack trace.

15. The system of claim 13 , wherein the set of features of a respective component comprises at least one feature determined based on the sub-set of function values of the respective component.

16. The system of claim 15 , wherein each function value in the set of function values comprises an inverse document frequency (IDF) value determined for a respective function, the IDF value indicating a relative commonality of the respective function within a set of crash reports.

17. The system of claim 13 , wherein the component information comprises, for each component, component name and location, and the component information is added using a component map stored in computer-readable memory.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 6, 2023
From: XU, YANG; LI, YONG; CHOI, HYUN DEOK; XIE, QIAO-LUAN; LIU, CHAO
To: SAP SE
Reel/Frame 062887/0895 →
Continuity (1)
Related Publication 20240303179A1 · Sep 12, 2024
References Cited (6)
US 11734156B2 · Bansal · 2023 [cited by examiner]
US 20210248457A1 · Odibat · 2021 [cited by examiner]
US 20220108191A1 · Yang et al. · 2022 [cited by applicant]
US 20230016199A1 · Jividen · 2023 [cited by examiner]
US 20230033084A1 · A · 2023 [cited by examiner]
U.S. Appl. No. 17/985,995, filed Nov. 14, 2022, Liu et al. [cited by applicant]