- if (!stack || mprotect(stack, smx_context_guard_size, PROT_NONE) == -1)
- xbt_die("Failed to allocate stack: %s", strerror(errno));
+ if (mprotect(stack, smx_context_guard_size, PROT_NONE) == -1) {
+ XBT_WARN("Failed to protect stack: %s", strerror(errno));
+ /* That's not fatal, pursue anyway. */
+ }