From owner-freebsd-questions@FreeBSD.ORG Tue Feb 27 10:43:29 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CFA2216A400 for ; Tue, 27 Feb 2007 10:43:29 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id 6742513C471 for ; Tue, 27 Feb 2007 10:43:29 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so123166nfc for ; Tue, 27 Feb 2007 02:43:28 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=AhOMAfP1laFJhYWq4/ATYOxCoqBocQV+mVs+7VYdzVCT8VdNQl7OCLWHIWoWRoyKFlTjNe9enn8PhCPleUuMqfQTMNYFquBrAaYG+nj7WswReb3PwgKOfOEHyOlGahDkssZhtKnQVb7sPQqIPgryKRdz6bMwkYmKpJR6T/q7hec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=V7sXJkt/vojmO09FTFZUBr7iyozTEPvkmqiq0jhaWRIYNG6KobYK09KGHAmrJjuCN4+UeoNgjgRyJWCP9zKaVbG+cJ/4G4oAjx3vg89gvlq5Ibp5CVWmWUzNOoga8UkTK6cbv8DQCutc77psC8T7+yF7kaqK6jI4NNJGKoH3dqc= Received: by 10.49.10.3 with SMTP id n3mr773813nfi.1172571404977; Tue, 27 Feb 2007 02:16:44 -0800 (PST) Received: by 10.48.211.7 with HTTP; Tue, 27 Feb 2007 02:16:44 -0800 (PST) Message-ID: Date: Tue, 27 Feb 2007 12:16:44 +0200 From: "Dan Cojocar" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: freebsd 6.2 oracle php php-oci8 core dump 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: Tue, 27 Feb 2007 10:43:29 -0000 Hello all, I have oracle-xe, lang/php5, databases/linux-oracle-instantclient-basic, databases/linux-oracle-instantclient-sdk, databases/oracle8-client and databases/php5-oci8 following this howto: http://mrtenente.infosys.lt/blog/?p=22 all are installed without errors. But when I connect to oracle from php i get a core dump that i cannot access. I mention that I have compiled php with debug enabled. Can somebody suggest another setup? Or how to investigate this? Thank you, Dan gdb php php.core 12:07:12 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `php'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libcrypt.so.3...done. Loaded symbols for /lib/libcrypt.so.3 Reading symbols from /lib/libm.so.4...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /usr/local/lib/libxml2.so.5...done. Loaded symbols for /usr/local/lib/libxml2.so.5 Reading symbols from /lib/libz.so.3...done. Loaded symbols for /lib/libz.so.3 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/local/lib/php/20060613-debug/oci8.so...done. Loaded symbols for /usr/local/lib/php/20060613-debug/oci8.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x48b2116c in ?? () from /usr/local/lib/php/20060613-debug/oci8.so [New LWP 100042] (gdb) bt #0 0x48b2116c in ?? () from /usr/local/lib/php/20060613-debug/oci8.so Cannot access memory at address 0x196 (gdb)