File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 99
1010class SISLConan (ConanFile ):
1111 name = "sisl"
12- version = "12.4.3 "
12+ version = "12.4.4 "
1313
1414 homepage = "https://github.com/eBay/sisl"
1515 description = "Library for fast data structures, utilities"
Original file line number Diff line number Diff line change @@ -81,9 +81,14 @@ static void exit_with_default_sighandler(const SignalType fatal_signal_id) {
8181 << std::flush;
8282 }
8383
84- // ::kill(::getpid(), fatal_signal_id);
85- if (fatal_signal_id == SIGABRT) {
86- std::_Exit (fatal_signal_id);
84+ // raise the fatal signal to generate core dump files if needed
85+ if (fatal_signal_id == SIGABRT || fatal_signal_id == SIGFPE || fatal_signal_id == SIGSEGV ||
86+ fatal_signal_id == SIGILL) {
87+ std::cerr << " \n "
88+ << __FUNCTION__ << " :" << __LINE__ << " . Raising signal "
89+ << fatal_signal_id << " \n\n "
90+ << std::flush;
91+ std::raise (fatal_signal_id);
8792 } else {
8893 std::exit (fatal_signal_id);
8994 }
You can’t perform that action at this time.
0 commit comments