Method and device for obtaining process crash information, medium and electronic equipment

A process and parameter information technology, which is applied in the fields of electrical digital data processing, instruments, hardware monitoring, etc., can solve the problem that the Android system does not have a core dump mechanism debugging tool, etc., and achieve the effect of conveniently locating the crash problem and solving the system crash

Active Publication Date: 2020-01-24
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF10 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, there is no core dump mechanism and similar debugging tools fo

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for obtaining process crash information, medium and electronic equipment
  • Method and device for obtaining process crash information, medium and electronic equipment
  • Method and device for obtaining process crash information, medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0032] The first embodiment provided by the present disclosure is an embodiment of a method for acquiring process crash information.

[0033] Combine below figure 1 , figure 2 and image 3 The embodiments of the present disclosure are described in detail, wherein, figure 1 A flow chart showing a method for acquiring process crash information according to an embodiment of the present disclosure; figure 2 It shows a call relationship diagram with the first process according to the embodiment of the present disclosure; image 3 A structure diagram of an ELF format file according to an embodiment of the present disclosure is shown.

[0034] See figure 1 As mentioned above, step S101 is to obtain the first process parameter information sent by the first process after the crash.

[0035] The crash refers to a process crash. Due to a design error in the program of the process, when the process is running, the error accumulates to a certain extent, which will cause the process...

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 provides a method and device for obtaining process crash information, a medium and electronic equipment. The method comprises the steps of obtaining first process parameter information sent by a first process after crash; generating a first process injection instruction based on the first process parameter information; and obtaining crash information of the first process according tothe first process injection instruction. According to the method, instruction injection is carried out on the first process through the dump process, and the crash information is obtained, and information before and after process operation when the first process crashes can be obtained from the crash information, and the crash problem is conveniently positioned. By comprehensively analyzing the crash information of the first process, the crash reason of the crash of the first process can be obtained. The problem that process crash cannot be analyzed due to the fact that a core dump mechanismdoes not exist is solved, and the problem of system crash is further solved.

Description

technical field [0001] The present disclosure relates to the field of system debugging, in particular, to a method, device, medium and electronic equipment for obtaining process crash information. Background technique [0002] System crashes are symptoms of computer malfunctions and frequent crashes due to system operation problems, software design problems, or malicious virus intrusions. [0003] Core dump (CoreDump) is a mechanism in the Linux system to deal with system crashes. When the process receives certain signals and terminates, the operating system writes the contents of the process address space and other information about the process state to a disk file. By using the disk file and the GDB debugging tool in the Linux system, the crash process can be analyzed comprehensively, so that the problem of system crash can be solved. [0004] However, there is no core dump mechanism and similar debugging tools for the Android system, so there is no effective means to an...

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/30
CPCG06F11/3476G06F11/3065G06F11/3051Y02D10/00
Inventor 朴英敏
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
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