From 63e0a45c7f73028d960efe678a4d63d4fb80a072 Mon Sep 17 00:00:00 2001 From: degomme Date: Wed, 22 Feb 2017 20:05:47 +0100 Subject: [PATCH] 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. --- src/simix/smx_global.cpp | 4 ---- 1 file changed, 4 deletions(-) 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 -- 2.20.1