#31011 [NEW]: Segmentation fault while connecting to Oracle 9.2
| From: | erzhan at att dot net | Date: | Tue, 07 Dec 2004 15:37:58 +0000 |
| Subject: | #31011 [NEW]: Segmentation fault while connecting to Oracle 9.2 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-69887@lists.php.net to get a copy of this message | ||
From: erzhan at att dot net
Operating system: Solaris 8
PHP version: Irrelevant
PHP Bug Type: OCI8 related
Bug description: Segmentation fault while connecting to Oracle 9.2
Description:
------------
This bug report is related to bug # 23733.
Fix for bug #23733 is not working.
PHP4 change log states that this Bug fix is added to PHP 4.3.3.
We currently have PHP 4.3.4 (PHP 4.3.4 (cli) (built: Feb 10 2004
14:50:30)) but still have the same issue:
when connecting to Oracle 9.2.0.5.0 using oracle client 9.2.0.5.0 php
produces core dump with segmentation fault.
Reproduce code:
---------------
ORACLE_HOME=/usr/oracle/product/9.2.0
Script:
#!/opt/apache/php/bin/php -q
<?php
// connect to data warehouse (Oracle)
$ora_db = "DB";
$ora_conn = ocilogon("user","passwd",$ora_db) or die ("Couldn't
connect to
oracle.\n");
.....
?>
Expected result:
----------------
Successful connection.
Actual result:
--------------
Segmentation fault, core dump.
--
Edit bug report at http://bugs.php.net/?id=31011&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31011&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31011&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31011&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31011&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31011&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31011&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31011&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31011&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31011&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31011&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31011&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31011&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31011&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31011&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31011&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31011&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31011&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31011&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31011&r=mysqlcfg