From:             xfree at inbox dot lv
Operating system: Windows
PHP version:      5.1.2
PHP Bug Type:     OCI8 related
Bug description:  oci_new_collection crash Apache

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.

-- 
Edit bug report at http://bugs.php.net/?id=37218&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37218&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37218&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37218&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37218&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37218&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37218&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37218&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37218&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37218&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37218&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37218&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37218&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37218&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37218&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37218&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37218&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37218&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37218&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37218&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37218&r=mysqlcfg

Reply via email to