Skip to content

Commit

Permalink
fix xCrash 2.5.6's bug for causing normal SIGSEGV and SIGABORT not co…
Browse files Browse the repository at this point in the history
…rrectly handled
  • Loading branch information
xuqingqing committed Jul 22, 2020
1 parent b2a4975 commit e8a4bb9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/java/xcrash/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ext {

POM_GROUP_ID = "com.iqiyi.xcrash"
POM_ARTIFACT_ID = "xcrash-android-lib"
POM_VERSION_NAME = "2.5.6"
POM_VERSION_NAME = "2.5.7"

POM_NAME = "xCrash Android Lib"
POM_DESCRIPTION = "xCrash provides the Android app with the ability to capture java crash, native crash and ANR."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ class Version {
private Version() {
}

static final String version = "2.5.6";
static final String version = "2.5.7";
static final String fullVersion = "xCrash " + version;
}
2 changes: 1 addition & 1 deletion src/native/common/xcc_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
#ifndef XCC_VERSION_H
#define XCC_VERSION_H 1

#define XCC_VERSION_STR "xCrash 2.5.6"
#define XCC_VERSION_STR "xCrash 2.5.7"

#endif
2 changes: 1 addition & 1 deletion src/native/libxcrash/jni/xc_crash.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ static void xc_crash_signal_handler(int sig, siginfo_t *si, void *uc)

if(6 == sig || 11 == sig) //SIGABRT(6), SIGSEGV(11)
{
if(XC_TRACE_DUMP_NOT_START == xc_trace_dump_status)
if(XC_TRACE_DUMP_ON_GOING == xc_trace_dump_status)
{
xc_trace_dump_status = XC_TRACE_DUMP_ART_CRASH;
XCD_LOG_WARN("meet error sig(%d) while calling ART dump trace\n", sig);
Expand Down

0 comments on commit e8a4bb9

Please sign in to comment.