Skip to content

Commit 67595b7

Browse files
authored
fix: catch sigsegv and abort (#1056)
1 parent 1ed3371 commit 67595b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/ten_runtime/global/signal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ static void ten_global_sigsegv_handler(TEN_UNUSED int signo, siginfo_t *info,
121121
// Wait for a short period to allow backtrace to be written.
122122
ten_sleep_ms(200);
123123

124-
_exit(EXIT_FAILURE);
124+
abort();
125125
}
126126

127127
/**

0 commit comments

Comments
 (0)