[Mon Aug 21 12:58:01 2006] [notice] Graceful restart requested, doing restart Fatal error 'Cannot allocate red zone for initial thread' at line 343 in file /usr/src/lib/libpthread/thread/thr_init.c (errno = 12) [Mon Aug 21 12:58:02 2006] [notice] seg fault or similar nasty error detected in the parent process
/*
* Set up the thread stack.
*
* Create a red zone below the main stack. All other stacks
* are constrained to a maximum size by the parameters
* passed to mmap(), but this stack is only limited by
* resource limits, so this stack needs an explicitly mapped
* red zone to protect the thread stack that is just beyond.
*/
if (mmap(_usrstack - _thr_stack_initial -
_thr_guard_default, _thr_guard_default, 0, MAP_ANON,
-1, 0) == MAP_FAILED)
PANIC("Cannot allocate red zone for initial thread");
Advertisement