Native layer crash tracing method and apparatus for Android system, storage medium and terminal

A java layer and java-like technology, applied in the field of software maintenance, can solve problems such as Native layer crashes, and achieve the effect of improving performance stability

Pending Publication Date: 2018-11-06
GUANGZHOU HUADUO NETWORK TECH
View PDF4 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to overcome the above technical problems, especially the reason why the Native layer collapses in the Android system that cannot be well traced by the prior art, the following technical solutions are proposed:

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
  • Native layer crash tracing method and apparatus for Android system, storage medium and terminal
  • Native layer crash tracing method and apparatus for Android system, storage medium and terminal
  • Native layer crash tracing method and apparatus for Android system, storage medium and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0033] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the existence of the stated features, integers, steps, and operations, but does not exclude the existence or addition of one or more other features, integers, steps, and operations.

[0034] Those skilled in the art can understand that, unless otherwise def...

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 the field of software maintenance, in particular to a Native layer crash tracing method and apparatus for an Android system, a storage medium and a terminal. The method comprises the steps of capturing a signal event of Native layer crash of an application, and detecting whether the signal event is registered by the application or not; if the signal event is registered bythe application, calling a processing function corresponding to the signal event and preset by an application process, and executing the processing function: calling a function interface of a Java layer in a Native layer, and obtaining a JNIEnv variable of a thread receiving the signal event; calling a FindClass function through the JNIEnv variable to obtain Java classes; reflectively calling a getStackTrace function to obtain call stack information of the Java classes, thereby obtaining all information of a call stack of the whole Java layer; and according to all the information of the call stack of the whole Java layer, tracing reasons for the Native layer crash. The problem that the reasons for the Native layer crash in the Android system cannot be traced well at present is solved.

Description

technical field [0001] The invention relates to the field of software maintenance, in particular to a method, device, storage medium and terminal for tracing the source of Native layer crashes in an Android system. Background technique [0002] Due to the many brands of Android devices and the variety of system versions, in the Android system, various crashes (Crash) of the application will be caused due to compatibility issues, and among these Crashes, the crash of the Native layer (Native Crash) has always been in the Crash. The big head, Native Crash has the characteristics of incomplete context, ambiguous error information, and difficult to capture. It is more difficult to repair than Java Crash. When the application crash occurs in the Native layer, most of them are difficult to locate specific problems. , because in many cases, in these crash information, only some limited information of the current crash point can be seen, many of which crash in the system library, 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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3636G06F11/366
Inventor 卢雄涛
Owner GUANGZHOU HUADUO NETWORK 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