|  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
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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: xfree at inbox dot lv
New email:
PHP Version: OS:


 [2006-04-27 07:03 UTC] xfree at inbox dot lv
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-01 07:12 UTC]
Please try using this CVS snapshot:
For Windows:

 [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]
Please try using this CVS snapshot:
For Windows:

 [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 Mar 03 13:01:28 2024 UTC