Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Symbol file-based method for dumping abnormal information

A technology for exception information and symbol files, which is applied in the field of exception information dumping to simplify the viewing process

Inactive Publication Date: 2009-12-02
CASCO SIGNAL
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

After searching the documents, it was found that there is currently no method for this

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

[0021] The present invention will be further described below in conjunction with specific examples.

[0022] Below in conjunction with the present invention throws in the abnormal application software system that is divided by 0 in function testFunc, we assume that CPU type is Intel X86, and operating system is Windows Xp, specifically set forth its implementation mode, concrete steps are as follows:

[0023] (1) Catch the exception. After the system throws a divide-by-zero operation exception, it judges the cause of the exception based on the exception code, and outputs INT_DIVIDE_BY_ZERO, the stack top pointer of the current thread, the stack bottom pointer, and the registers corresponding to the memory address stored in the next CPU instruction are ESP=0013F730, EBP=0013F7F4, EIP=00409948, the value in the register EBP is the address of the stack frame of the abnormal function. Different machine types or different operating systems have different stack frame layout structu...

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 symbol file-based method for dumping abnormal information, which comprises the steps of capturing the abnormal information, determining an abnormal module, positioning the abnormality, acquiring symbol information and dumping the abnormal information. Compared with the prior art, the method has the advantages of directly reading information in process address space from a memory, directly dumping the abnormal information into a log file based on a symbol file, simplifying the view procedure of the abnormal information and allowing for customization of an output format, such as outputting XML files and Syslog files or writing the XML files and the Syslog files into a database.

Description

technical field [0001] The invention relates to a method for dumping abnormal information, in particular to a method for dumping abnormal information based on a symbol file. Background technique [0002] When the software system is running, if a serious error occurs, it may cause the system to crash. At this time, it is difficult to find the cause of the program crash without the help of auxiliary tools. [0003] Most of the current software systems first generate a DUMP file when the program crashes, which contains the memory binary data in the process address space, and then load the DUMP file with the help of the WinDbg tool, and view the required exception information by entering relevant commands. Although this technique solves the problem of locating the location where the program crashes, the process is relatively complicated. In order to view abnormal information easily and conveniently, a technology of dumping abnormal information is proposed, which realizes that ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 王建涛周公建
Owner CASCO SIGNAL
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products