|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-05-12 09:53 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 19:00:01 2025 UTC |
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"