Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to gather more info on this error situation
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 1 Feb 2017 08:17:36 +0000 (09:17 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 1 Feb 2017 08:17:36 +0000 (09:17 +0100)
src/simix/smx_context.cpp

index 0238f90..b947a6b 100644 (file)
@@ -184,9 +184,8 @@ void *SIMIX_context_stack_new()
 
 #ifndef _WIN32
     if (mprotect(stack, smx_context_guard_size, PROT_NONE) == -1) {
-      xbt_die("Failed to protect stack: %s", strerror(errno));
-      /* This is fatal. We are going to fail at some point when
-         we tryi reusing this. */
+      xbt_die("Failed to protect stack %p: %s", stack, strerror(errno));
+      /* This is fatal. We are going to fail at some point when we try reusing this. */
     }
 #endif
     stack = (char *)stack + smx_context_guard_size;