From owner-freebsd-ruby@FreeBSD.ORG Fri Sep 17 23:41:26 2010 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77D02106566C for ; Fri, 17 Sep 2010 23:41:26 +0000 (UTC) (envelope-from astounding@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 120FC8FC19 for ; Fri, 17 Sep 2010 23:41:25 +0000 (UTC) Received: by wyb33 with SMTP id 33so3885467wyb.13 for ; Fri, 17 Sep 2010 16:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=iMf135Xzc+c4jC4lMJcZx+RXLJy4ap9OH2bqDvp/b2Q=; b=nGs787NSI4FX7LDyNPR1bLxs1qFP3tzZPZVt1ZCJKfyib+gjZLVY7B6T/xyBGjFaNn wQLrgi5i4e69ofRZ7Kks1J0WBcQbqIwXt5VemliIDwwfER5jrYjUDItkAIsjd+D9t9rn 7QZFb8dfOq7kll4MVcaDVhoGri2HYaQ9Kkhq4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nvi6hQVjnqrBGPvoWjr6oM1wZnS/KY7ne/jViqu78O8zeQsxTnzCfhixecMSps7N7V Qe50RUh63f9jrSlhvyrFVlxStF3DsMYFkNHHYyrTdNS+CLaJrgNBON5PsG7lweAqG3r7 4HqQPeQPYPhIpWrta51ciu5W2hHKj8kN5oPXM= MIME-Version: 1.0 Received: by 10.216.6.133 with SMTP id 5mr1392004wen.32.1284765281444; Fri, 17 Sep 2010 16:14:41 -0700 (PDT) Received: by 10.216.18.137 with HTTP; Fri, 17 Sep 2010 16:14:41 -0700 (PDT) Date: Fri, 17 Sep 2010 17:14:41 -0600 Message-ID: From: "Aaron D. Gifford" To: ruby@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Phusion Passenger under FreeBSD's Ruby 1.9.2 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2010 23:41:26 -0000 Hi, I'm trying out Phusion Passenger 3.0.0.pre2 on a FreeBSD 8.1-RELEASE system running Apache 2.2.16 and Ruby 1.9.2 from FreeBSD's ports collection. Sadly, the instant I attempt to access or start an app (a simple Rack app), the Passenger helper agent core dumps. I'd had success running Passenger 3.0.0.pre1 on a different FreeBSD 8.1 system under Ruby 1.9.1. It is possible this could be a FreeBSD Ruby 1.9.2 issue? Info about my install: # uname -a FreeBSD example.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Fri Aug 6 01:59:16 MDT 2010 root@example.com:/usr/obj/usr/src/sys/MYKERNEL amd64 # pkg_info apache-2.2.16_1 Version 2.2.x of Apache web server with prefork MPM. apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_2 Apache Portability Library bash-4.1.7_2 The GNU Project's Bourne Again SHell ca_root_nss-3.12.6 The root certificate bundle from the Mozilla Project curl-7.21.1 Non-interactive tool to get files from FTP, GOPHER, HTTP(S) db42-4.2.52_5 The Berkeley DB package, revision 4.2 expat-2.0.1_1 XML 1.0 parser written in C gdbm-1.8.3_3 The GNU database manager gettext-0.18.1.1 GNU gettext package libiconv-1.13.1_1 A character set conversion library libssh2-1.2.7,2 A library implementing the SSH2 protocol mysql-client-5.1.50_1 Multithreaded SQL database (client) pcre-8.10 Perl Compatible Regular Expressions library perl-5.12.2_2 Practical Extraction and Report Language ruby-1.9.2,1 An object-oriented interpreted scripting language ruby19-mysql-2.8.2 Ruby module for accessing MySQL databases with a C API like # gem list *** LOCAL GEMS *** abstract (1.0.0) daemon_controller (0.2.5) erubis (2.6.6) fastthread (1.0.7) ffi (0.6.3) file-tail (1.0.5) passenger (3.0.0.pre2) rack (1.2.1) rake (0.8.7) rubygems-update (1.3.7) sequel (3.15.0) sinatra (1.0) spruz (0.1.5) sqlite3 (0.1.1) >From my Passenger log file, I do get this: [ pid=36501 thr=0x8016041c0 file=ext/apache2/Hooks.cpp:1319 time=2010-09-17 16:56:24.446 ]: Initializing Phusion Passenger... [ pid=36505 thr=0x8016041c0 file=ext/common/LoggingAgent/LoggingServer.h:824 time=2010-09-17 16:56:39.533 ]: Flushing all sinks (periodic action) [ pid=36506 thr=0x8016041c0 file=ext/apache2/Hooks.cpp:859 time=2010-09-17 16:56:39.712 ]: Unexpected error in mod_passenger: The ApplicationPool server closed the connection before sending a version identifier. Backtrace: in 'Passenger::ApplicationPool::Client* Passenger::ApplicationPool::Client::connect(const std::string&, const std::string&, const Passenger::StaticString&)' (Client.h:451) in 'Passenger::ApplicationPool::Client* Hooks::getApplicationPool()' (Hooks.cpp:270) in 'Passenger::SessionPtr Hooks::getSession(const Passenger::PoolOptions&)' (Hooks.cpp:296) in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:565) [ pid=36502 thr=0x80105a1c0 file=ext/common/Watchdog.cpp:170 time=2010-09-17 16:56:39.712 ]: Phusion Passenger helper agent crashed with signal SIGSEGV, restarting it... I'm looking for any ideas at this point... I will try to downgrade to Ruby 1.9.1 and see if I can get it working. Thanks for any tips/pointers/suggestions. Aaron out.