Method for automatically analyzing crash cause of computer software system

A software system and automatic analysis technology, applied in software testing/debugging, hardware monitoring, etc., can solve the problem of not providing the analysis function of kernel mode crash dump file

Inactive Publication Date: 2010-06-02
ZHUHAI JUNTIAN ELECTRONICS TECH
View PDF0 Cites 66 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, most of the known crash analysis only realize the collection of crash files and the statistics of abnormal points (using the exception point

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The principle of the method of the present invention is based on the Windows debugging technology and its corresponding debugging API. The Windows debugging technology is built into the operating system kernel and provides a series of Windows APIs and component packages to the outside world. The present invention utilizes the Windows debugging engine provided in the component package Debugging Tools for Windows (hereinafter referred to as WinDBG) provided by the Windows debugging technology to automatically analyze the crash dump file. The object of the method of the present invention is a crash dump file. The methods for generating crash dump files mainly include the following:

[0021] ●Windows error reporting mechanism

[0022] ●MiniDumpWriteDumpWindows API

[0023] ● Read the memory of the crashed process

[0024] ●Application debugger

[0025] After using the above method to generate the crash dump file, you can use the method described below to analyze the cr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method for automatically analyzing the crash cause of a computer software system. The method for automatically analyzing the crash cause of the computer software system comprises the following steps of: a. opening a crash dump file; b. respectively searching stack information of each thread of each processor, searching a user-mode abnormal error triggering function for a user-mode crash dump file, and searching a kernel-mode abnormal error triggering function for a kernel-mode crash dump file; c. checking a previous calling function at the abnormal error occurrence time according to the searched abnormal error triggering functions, temporarily setting the calling function to be a crash function if the calling function is an effective function name, and temporarily setting a module attached to the calling function to be a crash module; and d. acquiring crash information according to the acquired crash function and the acquired crash module, and storing the crash information into a database. The invention has the advantage that the automatic analysis to the crash cause of the software system can be realized.

Description

technical field [0001] The invention relates to the field of computer software system maintenance, in particular to a method for automatically analyzing the cause of computer software system crashes. Background technique [0002] During the operation of the computer software system, there will be abnormalities due to various unknown factors, which will eventually cause the application program to crash or the operating system to blue screen. The crash analysis technology refers to the crash dump file (dump) generated after the software system runs incorrectly. Carry out analysis and statistics, and find out the address and related code lines when the crash occurs, so as to provide a credible basis for solving software system failures. At present, most of the known crash analysis only realize the collection of crash files and the statistics of abnormal points (using the exception pointer when the software system crashes), and none of them provide the dump file for the kernel s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/34G06F11/36
Inventor 张康宗张强郑有胜罗勇
Owner ZHUHAI JUNTIAN ELECTRONICS TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products