From owner-freebsd-questions@FreeBSD.ORG Wed Nov 11 17:00:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B82071065670 for ; Wed, 11 Nov 2009 17:00:45 +0000 (UTC) (envelope-from konstantinos.pac@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 474728FC14 for ; Wed, 11 Nov 2009 17:00:45 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so461129fga.13 for ; Wed, 11 Nov 2009 09:00:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=TjuwbmGuafcnF0U61sGIGcxID5eeBEaq3DK6CPvTc2g=; b=nG+dqwWv4IpVrwHOVp9ciE2KHucc5EgWvS01aLT1u36CCxEOhG1akJPn/9n6AIMVC0 VTKLdxRpEPGxMxQOV/XVrNRp/xHLDo3j3xclktun2y0NpC9rQcndU0XtHsDKEA9wxtIA XSJNYW1FwzCpNhTpaeMITs3NORovEKvttAm30= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=ene9GEAD8U78MhiFIoQq76vD8wLmDmn9QmaROahSMGWQFq3mg3xU3dB8kBlsAL/kBF LtwLmOxzr+0AiYRqYO9/oPqPVK/Xxbb0jPt1HdtwpKB/Rp7fQOO6+WEBZJkBraQkZDG5 LONfr+dRQl1of7r6x1vwtz5zkJD7aqf0i1Vko= Received: by 10.87.40.9 with SMTP id s9mr1313435fgj.11.1257958844127; Wed, 11 Nov 2009 09:00:44 -0800 (PST) Received: from ?192.168.2.5? (cust-132-30.on4.ontelecoms.gr [92.118.132.30]) by mx.google.com with ESMTPS id l12sm4981975fgb.7.2009.11.11.09.00.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 11 Nov 2009 09:00:43 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) From: Konstantinos Pachnis In-Reply-To: <39B2B008-DF9C-49FB-B17B-B8A3E254D9B8@gmail.com> Date: Wed, 11 Nov 2009 19:00:43 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <9CADF814-A95D-4745-B461-568A4C97BF90@gmail.com> References: <39B2B008-DF9C-49FB-B17B-B8A3E254D9B8@gmail.com> To: freebsd-questions X-Mailer: Apple Mail (2.1077) Subject: Re: Ruby Enterprise Edition 1.8.7 Apache / Passenger on FreeBSD 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2009 17:00:45 -0000 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