From owner-freebsd-database@FreeBSD.ORG Sat Jul 28 14:46:46 2007 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2D3416A418 for ; Sat, 28 Jul 2007 14:46:46 +0000 (UTC) (envelope-from numisemis@yahoo.com) Received: from web36614.mail.mud.yahoo.com (web36614.mail.mud.yahoo.com [209.191.85.31]) by mx1.freebsd.org (Postfix) with SMTP id B927913C465 for ; Sat, 28 Jul 2007 14:46:46 +0000 (UTC) (envelope-from numisemis@yahoo.com) Received: (qmail 11414 invoked by uid 60001); 28 Jul 2007 14:20:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=gUhNJg+U3gJyTkNao2Hv+yY2gZ1S5IE8M/JSODLOclBJEdE3dCsl2PyD1KbHpIFP8hU0VevPWvAqkxZ1BadUBgKcNQZO0sa/58dMP7rrMx+wIRpsAV8uU89eduBAL2R2ZmPFg5J59hFSLI7XRV1EwXiuN3Wo/QlWSAD2dcMGs2E=; X-YMail-OSG: 98pXahsVM1nLT_U0kY9.qdxpk.AZX7Ah9A7IuxaPG8CuSspZEzROeHYj5DI38Q5FzQ-- Received: from [85.10.60.235] by web36614.mail.mud.yahoo.com via HTTP; Sat, 28 Jul 2007 07:20:04 PDT Date: Sat, 28 Jul 2007 07:20:04 -0700 (PDT) From: Simun Mikecin To: tsr2600@gmail.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <876507.10863.qm@web36614.mail.mud.yahoo.com> Cc: freebsd-database@freebsd.org Subject: Re: PHP5 + oci8 consistently segfaults on script exit X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2007 14:46:47 -0000 >I'm running FreeBSD 6.2-RELEASE-p1 and PHP 5.2.2 built with the oci8 >extension which is built against the oracle8-client port version >0.1.1_1. >Connecting to and working with an Oracle database works well so far, but >PHP segfaults whenever any script that uses the oci8 extension is run >and exits (regardless of success or failure). The segfault _only_ >occurs when PHP is tearing everything down after the script runs. >Therefore scripts run successfully, but my kernel logs look like this: >Jul 25 16:59:17 kernel: pid 89667 (php), uid 1003: exited on signal 11 >Jul 25 17:00:11 kernel: pid 89725 (php), uid 1003: exited on signal 11 >Jul 25 17:01:38 kernel: pid 89729 (php), uid 1003: exited on signal 11 >Jul 25 17:02:58 kernel: pid 89732 (php), uid 1003: exited on signal 11 Could you please try these and send feedback: 1) Try the same using PDO_OCI instead of oci8 extension 2) Try with this combination: apache 2.0 (port compiled with WITH_THREADS) + php + oci8 extension 3) Try with this combination: apache 2.0 (port compiled with WITH_THREADS) + php + PDO_OCI 2) and 3) should be triggered by HTTP request. ____________________________________________________________________________________Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/