From: degomme Date: Wed, 22 Feb 2017 19:05:47 +0000 (+0100) Subject: At this point of the program simgrid values are not to be trusted as we had a segfault. X-Git-Tag: v3_15~313 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/63e0a45c7f73028d960efe678a4d63d4fb80a072 At this point of the program simgrid values are not to be trusted as we had a segfault. This broke some tests, sometimes, as this was wrongly evaluated to true. --- diff --git a/src/simix/smx_global.cpp b/src/simix/smx_global.cpp index 00e38660e7..e94f3cbaea 100644 --- a/src/simix/smx_global.cpp +++ b/src/simix/smx_global.cpp @@ -92,10 +92,6 @@ static void segvhandler(int signum, siginfo_t *siginfo, void *context) "Minimal Working Example (MWE) reproducing your problem and a full backtrace\n" "of the fault captured with gdb or valgrind.\n", smx_context_stack_size / 1024); - if (XBT_LOG_ISENABLED(simix_kernel, xbt_log_priority_debug)) { - fprintf(stderr, "siginfo = {si_signo = %d, si_errno = %d, si_code = %d, si_addr = %p}\n", - siginfo->si_signo, siginfo->si_errno, siginfo->si_code, siginfo->si_addr); - } } else if (siginfo->si_signo == SIGSEGV) { fprintf(stderr, "Segmentation fault.\n"); #if HAVE_SMPI