This is happening because in freebsd the stack protector is enabled by default.
When you build ruby enterprise edition set to the CFLAGS / CXXFLAGS the 
-fno-stack-protector parameter.

From a security perspective, I don't think that this is the best solution. 

On Nov 10, 2009, at 8:45 PM, Konstantinos Pachnis wrote:

> Hello,
> I was trying to use Apache/Passenger with Ruby Enterprise Edition 1.8.7 (both 
> versions) on a FreeBSD 7.2 (i386 and x86_64), and Apache reports the 
> following error:
> Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e DAV/2 PHP/5.2.11 with 
> Suhosin-Patch Phusion_Passenger/2.2.5 configured -- resuming normal operations
> Fatal error 'Cannot allocate red zone for initial thread' at line 384 in file 
> /usr/src/lib/libthr/thread/thr_init.c (errno = 12)
> Has anyone come across to that ?
> Thanks in advance,
> Konstantinos

_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to