ID:               37417
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ignacio at esviza dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         OCI8 related
 Operating System: WinXP
 PHP Version:      5.1.4
 New Comment:

Duplicate of #37292.


Previous Comments:
------------------------------------------------------------------------

[2006-05-12 09:43:35] ignacio at esviza dot com

Description:
------------
PHP crashes giving "PHP has encountered an Access Violation at
015994A9" when trying to load() or read() an OCI8 CLOB column.

Using:
- OS: Windows XP Professional w/SP2
- PHP: 5.1.4. (ISAPI Server API)
- Server software: Microsoft-IIS/5.1 (bundled with WinXP)
- Data Server: Oracle 8i w/10g instant client


Reproduce code:
---------------
/* assume a table with a CLOBCOLUMN with data */

$con  = ociplogon("user","pass","etc");
$sql  = 'SELECT * FROM tablewithclob WHERE id=1';
$stmt = ociparse($con,$sql);

ociexecute($stmt);
ocifetchinto($stmt, $row, OCI_ASSOC+OCI_RETURN_NULLS );

echo $row['CLOBCOLUMN']->load();

// also crashes with...
echo $row['CLOBCOLUMN']->read(100);


Expected result:
----------------
=> Hello World

Actual result:
--------------
PHP crashes giving "PHP has encountered an Access Violation at
015994A9"


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37417&edit=1

Reply via email to