From: php at edith dot net
Operating system: Linux Red Hat Enterprise 4
PHP version: 5.1.0RC1
PHP Bug Type: Oracle related
Bug description: oci_connect returns segmentation fault
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 bug report at http://bugs.php.net/?id=34388&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34388&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=34388&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=34388&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34388&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34388&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34388&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34388&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34388&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34388&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34388&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=34388&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=34388&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34388&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34388&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34388&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34388&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34388&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34388&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34388&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34388&r=mysqlcfg