Date: Wed, 11 Nov 2009 19:00:43 +0200 From: Konstantinos Pachnis <konstantinos.pac@gmail.com> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Ruby Enterprise Edition 1.8.7 Apache / Passenger on FreeBSD 7.2 Message-ID: <9CADF814-A95D-4745-B461-568A4C97BF90@gmail.com> In-Reply-To: <39B2B008-DF9C-49FB-B17B-B8A3E254D9B8@gmail.com> References: <39B2B008-DF9C-49FB-B17B-B8A3E254D9B8@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. =46rom a security perspective, I don't think that this is the best = solution.=20 On Nov 10, 2009, at 8:45 PM, Konstantinos Pachnis wrote: > Hello, >=20 > 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: >=20 > 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 =3D 12) >=20 > Has anyone come across to that ? >=20 > Thanks in advance, > Konstantinos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9CADF814-A95D-4745-B461-568A4C97BF90>