Merge pull request #1095 from fengzeroz/main

chore(main): handle SIGSEGV signal
This commit is contained in:
fengzeroz
2023-03-07 13:24:51 +08:00
committed by GitHub
+1
View File
@@ -59,6 +59,7 @@ static int neuron_run(const neu_cli_args_t *args)
signal(SIGINT, sig_handler);
signal(SIGTERM, sig_handler);
signal(SIGABRT, sig_handler);
signal(SIGSEGV, sig_handler);
// try to enable core dump
rl.rlim_cur = rl.rlim_max = RLIM_INFINITY;