# US 2017/0371731 A1 · Culprit module detection and signature back trace generation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0371731 A1
- Document ID: US20170371731A1
- Status: Published application
- Kind: A1
- Application number: 15/415,089
- Filed: 2017-01-25
- Published: 2017-12-28
- Earliest claimed: 2016-06-23
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Ayoob KHAN; Sowgandh Sunil GADI
- Web page: https://patentgrep.com/patent/US20170371731A1

## CPC

- G06F 11/079: {Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36)}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/0769: {Readable error formats, e.g. cross-platform generic formats, human understandable formats}
- G06F 11/0778: {Dumping, i.e. gathering error/state information after a fault for later diagnosis}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/36: Prevention of errors by analysis, debugging or testing of software
- G06F 11/366: {using diagnostics (G06F11/0703 takes precedence)}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In a crash analysis system, a method for analyzing a core dump corresponding to a crash of a computer system is disclosed. A core dump is received wherein the core dump corresponds to a crash of a computer system. A culprit module responsible for the crash of the computer system is determined. A signature back trace, which pertains to a symptom of the crash of the computer system is generated.

## Claims

### Claim 1

A computer-implemented method for identifying a culprit module and for generating a signature back trace corresponding to a symptom of a crash of a computer system, said method comprising:
receiving a core dump at a crash analyzer, wherein said core dump corresponds to said crash of said computer system;
generating, at said crash analyzer, an essential stack of functions corresponding to said crash of said computer system;
determining a tag sequence and a tag depth corresponding to said essential stack of functions, at said crash analyzer;
deriving a list of permissible tag permutations corresponding to said computer system;
utilizing said tag sequence and said tag depth in combination with said list of permissible tag permutations, by said crash analyzer, to identify a culprit module responsible for said computer crash; and
generating a signature back trace from said essential stack of functions including at least one function corresponding to said culprit module, and providing said signature back trace as an output from said crash analyzer, wherein said signature back trace pertains to a symptom of said crash of said computer system.

### Claim 2 (depends on 1)

The computer-implemented method as recited in claim 1, wherein said generating, at said crash analyzer, an essential stack of functions corresponding to said symptom of said crash of said computer system comprises:
generating a list of functions and corresponding tags pertaining to a culprit thread determined to be responsible for said crash of said computer system; and
redacting said list of functions to generate said essential stack of functions, wherein said essential stack of functions contains functions pertaining to said symptom of said crash of said computer system.

### Claim 3 (depends on 1)

The computer-implemented method as recited in claim 1, wherein said deriving a list of permissible tag permutations corresponding to said computer system comprises:
analyzing said computer system to determine said permissible tag permutations associated with said computer system.

### Claim 4 (depends on 1)

The computer-implemented method as recited in claim 1, wherein said generating a signature back trace from said essential stack of functions including said at least one function corresponding to said culprit module comprises:
compiling a list of functions selected from said essential stack to comprise said signature back trace, said list of functions including said at least one function corresponding to said culprit module, and at least one function not corresponding to said culprit module.

### Claim 5 (depends on 1)

The computer-implemented method as recited in claim 1, wherein said generating a signature back trace from said essential stack of functions including said at least one function corresponding to said culprit module comprises:
including an offset of said at least one function corresponding to said culprit module in said signature back trace.

### Claim 6 (depends on 1)

The computer-implemented method as recited in claim 1, wherein said generating a signature back trace from said essential stack of functions including said at least one function corresponding to said culprit module comprises:
including a size of said at least one function corresponding to said culprit module in said signature back trace.

### Claim 7 (depends on 1)

The computer-implemented method as recited in claim 1, further comprising:
outputting the identity of said culprit module and said signature back trace, from said crash analyzer, to a repository accessible to support personnel.

### Claim 8

In a crash analysis system which includes a crash report collector, a core dump generator, and a crash analyzer, a method for analyzing, at said crash analyzer, a core dump corresponding to a crash of a computer system, said method comprising:
receiving said core dump, wherein said core dump corresponds to said crash of said computer system;
determining a culprit module responsible for said crash of said computer system; and
generating a signature back trace, wherein said signature back trace pertains to a symptom of said crash of said computer system.

### Claim 9 (depends on 8)

The method of claim 8, wherein said determining said culprit module responsible for said crash of said computer system further comprises:
generating, at said crash analyzer, an essential stack of functions corresponding to said crash of said computer system;
determining a tag sequence and a tag depth corresponding to said essential stack of functions, at said crash analyzer;
deriving a list of permissible tag permutations corresponding to said computer system; and
utilizing said tag sequence and said tag depth in combination with said list of permissible tag permutations, by said crash analyzer, to identify a culprit module responsible for said computer crash.

### Claim 10 (depends on 8)

The method of claim 8, wherein said generating said signature back trace further comprises:
accessing an essential stack of functions corresponding to said crash of said computer system;
including at least one function corresponding to said culprit module as part of said signature back trace; and
providing said signature back trace as an output from said crash analyzer, wherein said signature back trace pertains to said symptom of said crash of said computer system.

### Claim 11 (depends on 9)

The method of claim 9, wherein said generating, at said crash analyzer, an essential stack of functions corresponding to said symptom of said crash of said computer system comprises:
generating a list of functions and corresponding tags pertaining to a culprit thread determined to be responsible for said crash of said computer system; and
redacting said list of functions to generate said essential stack of functions, wherein said essential stack of functions contains functions pertaining to said symptom of said crash of said computer system.

### Claim 12 (depends on 9)

The method of claim 9, wherein said deriving said list of permissible tag permutations corresponding to said computer system comprises:
analyzing said computer system to determine said permissible tag permutations associated with said computer system.

### Claim 13 (depends on 10)

The method of claim 10, wherein said generating a signature back trace comprises:
compiling a list of functions selected from said essential stack of functions to comprise said signature back trace, said list of functions including said at least one function corresponding to said culprit module, and at least one function not corresponding to said culprit module.

### Claim 14 (depends on 10)

The method of claim 10, wherein said generating a signature back trace comprises:
including an offset of said at least one function corresponding to said culprit module in said signature back trace.

### Claim 15 (depends on 10)

The method of claim 10, wherein said generating a signature back trace comprises:
including a size of said at least one function corresponding to said culprit module in said signature back trace.

### Claim 16 (depends on 8)

The method of claim 8, further comprising:
outputting the identity of said culprit module and said signature back trace, from said crash analyzer, to a repository accessible to support personnel.

### Claim 17

A system for analyzing a computer crash report and automatically identifying a culprit module and automatically generating a signature back trace pertaining to a symptom of a computer crash corresponding to said computer crash report, said system comprising:
a crash report collector;
a core dump generator communicatively coupled to said crash report collector; and
a crash analyzer communicatively coupled to said core dump generator, said crash analyzer further comprising:
a signature back trace generator; and
a culprit module identifier, said culprit module identifier includes;
an essential stack generator;
a tag sequence and tag depth determinor; and
a permissible tag permutation derivor.

### Claim 18 (depends on 17)

The system of claim 17 further comprising:
a graphic user interface (GUI) generator communicatively coupled with said crash analyzer.

### Claim 19 (depends on 17)

The system of claim 17, wherein said crash report collector is further configured for automatically accessing a crash report repository.

### Claim 20 (depends on 18)

The system of claim 18, wherein said crash analyzer is configured for automatically accessing graphic user interface (GUI) generator.
