#34388 [Opn->Fbk]: oci_connect returns segmentation fault
| From: | tony2001@php.net | Date: | Tue, 06 Sep 2005 11:53:38 +0000 |
| Subject: | #34388 [Opn->Fbk]: oci_connect returns segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84578@lists.php.net to get a copy of this message | ||
ID: 34388
Updated by: tony2001@php.net
Reported By: php at edith dot net
-Status: Open
+Status: Feedback
-Bug Type: Oracle related
+Bug Type: OCI8 related
Operating System: Linux Red Hat Enterprise 4
PHP Version: 5.1.0RC1
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-09-06 12:59:48] php at edith dot net
Description:
------------
I have installed Oracle 10.1.0.3, and i've compiled php with the next
configure:
./configure --with-jpeg-dir=/usr/lib/
--with-png-dir=/usr/lib/
--with-zlib-dir=/usr/lib
--with-xpm-dir=/usr/lib/
--with-freetype-dir=/usr/lib/
--with-gd=/usr/lib/
--with-apxs2=/www/bin/apxs
--with-oracle=/opt/sw/app/oracle/product/10.1.0
--with-oci8=/opt/sw/app/oracle/product/10.1.0
--with-snmp=/usr/local
--enable-ftp
--with-ibm-db2=/opt/IBM/db2/V8.1
--enable-sigchild
--with-xmlrpc
And everythings seems ok, but when I try to connect Oracle, i have
"Segmentation Fault"
My oracle environment variables are:
ORACLE_HOME=/opt/sw/app/oracle/product/10.1.0
ORACLE_SID="DATABASE"
LD_PRELOAD=$ORACLE_HOME/lib/libclntsh.so
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/src/php-5.1.0RC1/libs:$ORACLE_HOME/l
ib
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P15
ORA_NLS10=$ORACLE_HOME/nls/data
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
Reproduce code:
---------------
<?
oci_connect(USER,PASSWORD,DATABASE);
?>
Actual result:
--------------
Segmentation Fault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34388&edit=1