php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37218 oci_new_collection crash Apache
Submitted: 2006-04-27 07:03 UTC Modified: 2006-06-06 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: xfree at inbox dot lv Assigned: tony2001 (profile)
Status: No Feedback Package: OCI8 related
PHP Version: 5.1.2 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: xfree at inbox dot lv
New email:
PHP Version: OS:

 

 [2006-04-27 07:03 UTC] xfree at inbox dot lv
Description:
------------
Oci_new_collection crash Apache Web Server running on Windows XP. Then I calling this function - Apache just stops, with windows like error message “Apache service raise an error and will be closed.”

Configuration is following:
PHP 5.1.2. Apache 2.0.55. Oracle Database 10.1.3. 
phpinfo() shows: 
Temporary Lob support enabled  
Collections support enabled.

Collection type is very simple:
create or replace type myCollection as table of varchar2(4000);
/


Reproduce code:
---------------
// connect to ora
$lora_conn = oci_connect(_LOGIN, _PASSWD, _TNSNAME);
if ($lora_conn)
{
	$lora_coll = oci_new_collection($lora_conn, 'myCollection');

//...
}

Actual result:
--------------
Apache service crash.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-01 07:12 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip


 [2006-05-02 06:27 UTC] xfree at inbox dot lv
the same error with the latest snapshot..
 [2006-05-08 04:43 UTC] cjbj at hotmail dot com
I don't get a crash with PHP 5.1.3, but do get an error 'OCI-22303: type ""."myCollection" not found'.  

To work, the name must be in uppercase in the oci_new_collection() call:

  $lora_coll = oci_new_collection($lora_conn, 'MYCOLLECTION');
 [2006-05-29 09:19 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2006-06-06 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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC