php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31011 Segmentation fault while connecting to Oracle 9.2
Submitted: 2004-12-07 16:37 UTC Modified: 2004-12-15 01:00 UTC
From: erzhan at att dot net Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: Irrelevant OS: Solaris 8
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-12-07 16:37 UTC] erzhan at att dot net
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-07 16:40 UTC] tony2001@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 [2004-12-07 17:16 UTC] erzhan at att dot net
For tony2001@php.net :
Please provide a solution for this issue instead just
changing status to 'bogus'.
Any patch, latest version of PHP you can recommend?
 [2004-12-07 17:16 UTC] erzhan at att dot net
For tony2001@php.net :
Please provide a solution for this issue instead just
changing status to 'bogus'.
Any patch, latest version of PHP you can recommend?
 [2004-12-07 17:37 UTC] tony2001@php.net
Please, try latest stable version (4.3.9 or 5.0.2).
 [2004-12-07 17:56 UTC] _erzhan at att dot net_
For tony2001@php.net:

My apologies - I didn't noticed your [7 Dec 4:40pm CET] comment.
 [2004-12-15 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Aug 10 14:05:44 2022 UTC