From owner-freebsd-database@FreeBSD.ORG Sat Jul 28 18:59:20 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 517FB16A418 for ; Sat, 28 Jul 2007 18:59:20 +0000 (UTC) (envelope-from tsr2600@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id D0CC413C457 for ; Sat, 28 Jul 2007 18:59:19 +0000 (UTC) (envelope-from tsr2600@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so965544uge for ; Sat, 28 Jul 2007 11:59:18 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IcGS0B851hEBS/dMqR2b4LLaRwZ5eN+HJtctVBpEJf4P9Vrl6IEMwk3ene77GXOvNQvCnkDZAOkwKgDA5qWqby4Wg2h8TF9auqlifmESyfK3v5ab3ymoX7Zjprn/EDNoEE7V6W6JRu0WbUJNIHzu2yYCkMwtKsh0CIxY8Td1Qgw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=i8PceU+BLFbENJmbqZkqsNq8md6xUd5CSyMMFSPn/GdAHEyYFVWs3P9IEoXTgTNSjZEV14h5ZfbD2kfxkZrtpqEe4LgaaT/HNdwH74B7lZacnhEVEbnQJu9EMosT+E3wWPZFCpCZjsdB6mUQFu6auCASV6sIUk7UutTv3iaHJMk= Received: by 10.78.150.7 with SMTP id x7mr1067867hud.1185649158568; Sat, 28 Jul 2007 11:59:18 -0700 (PDT) Received: by 10.78.143.19 with HTTP; Sat, 28 Jul 2007 11:59:18 -0700 (PDT) Message-ID: <679088c80707281159q2c906b4bn31ca7fcfdd2483a9@mail.gmail.com> Date: Sat, 28 Jul 2007 11:59:18 -0700 From: "Gordon Stratton" To: "Simun Mikecin" , freebsd-database@freebsd.org In-Reply-To: <876507.10863.qm@web36614.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <876507.10863.qm@web36614.mail.mud.yahoo.com> Cc: 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 18:59:20 -0000 On 7/28/07, Simun Mikecin wrote: > 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. Hey Simun, 1) Segfaults on exit, same as oci8. 2) Does not segfault. 3) Does not segfault. In my situation, everything works like a charm up until the module is unloaded via dlclose(3). My guess is that since mod_php doesn't unload/reload PHP modules across requests that this is the reason it is not segfaulting with httpd, but segfaulting with CLI PHP. Thanks, Gordon