Skip to content

Commit e8a4bb9

Browse files
author
xuqingqing
committed
fix xCrash 2.5.6's bug for causing normal SIGSEGV and SIGABORT not correctly handled
1 parent b2a4975 commit e8a4bb9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/java/xcrash/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ext {
3030

3131
POM_GROUP_ID = "com.iqiyi.xcrash"
3232
POM_ARTIFACT_ID = "xcrash-android-lib"
33-
POM_VERSION_NAME = "2.5.6"
33+
POM_VERSION_NAME = "2.5.7"
3434

3535
POM_NAME = "xCrash Android Lib"
3636
POM_DESCRIPTION = "xCrash provides the Android app with the ability to capture java crash, native crash and ANR."

src/java/xcrash/xcrash_lib/src/main/java/xcrash/Version.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ class Version {
2727
private Version() {
2828
}
2929

30-
static final String version = "2.5.6";
30+
static final String version = "2.5.7";
3131
static final String fullVersion = "xCrash " + version;
3232
}

src/native/common/xcc_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
#ifndef XCC_VERSION_H
2525
#define XCC_VERSION_H 1
2626

27-
#define XCC_VERSION_STR "xCrash 2.5.6"
27+
#define XCC_VERSION_STR "xCrash 2.5.7"
2828

2929
#endif

src/native/libxcrash/jni/xc_crash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ static void xc_crash_signal_handler(int sig, siginfo_t *si, void *uc)
416416

417417
if(6 == sig || 11 == sig) //SIGABRT(6), SIGSEGV(11)
418418
{
419-
if(XC_TRACE_DUMP_NOT_START == xc_trace_dump_status)
419+
if(XC_TRACE_DUMP_ON_GOING == xc_trace_dump_status)
420420
{
421421
xc_trace_dump_status = XC_TRACE_DUMP_ART_CRASH;
422422
XCD_LOG_WARN("meet error sig(%d) while calling ART dump trace\n", sig);

0 commit comments

Comments
 (0)