fix: no core file on linux
This commit is contained in:
parent
6a6d53b896
commit
a0d2da630e
|
@ -420,7 +420,11 @@ _return:
|
||||||
|
|
||||||
taosLogCrashInfo("taos", pMsg, msgLen, signum, sigInfo);
|
taosLogCrashInfo("taos", pMsg, msgLen, signum, sigInfo);
|
||||||
|
|
||||||
|
#ifdef _TD_DARWIN_64
|
||||||
exit(signum);
|
exit(signum);
|
||||||
|
#elif defined(WINDOWS)
|
||||||
|
exit(signum);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void crashReportThreadFuncUnexpectedStopped(void) { atomic_store_32(&clientStop, -1); }
|
void crashReportThreadFuncUnexpectedStopped(void) { atomic_store_32(&clientStop, -1); }
|
||||||
|
|
|
@ -100,7 +100,11 @@ _return:
|
||||||
|
|
||||||
taosLogCrashInfo("taosd", pMsg, msgLen, signum, sigInfo);
|
taosLogCrashInfo("taosd", pMsg, msgLen, signum, sigInfo);
|
||||||
|
|
||||||
|
#ifdef _TD_DARWIN_64
|
||||||
exit(signum);
|
exit(signum);
|
||||||
|
#elif defined(WINDOWS)
|
||||||
|
exit(signum);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dmSetSignalHandle() {
|
static void dmSetSignalHandle() {
|
||||||
|
|
Loading…
Reference in New Issue