|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2000-07-26 02:04 UTC] waldschrott@php.net
  [2000-08-07 08:00 UTC] thies@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 13:00:01 2025 UTC | 
<? $conn = OCIPLogon("xxt","xx","xx"); $stmt = OCIParse($conn,"select lob_support.get_xml_long('ojs_de','docnum ',docnum) as htmldoc from ojs_de where docnum=2000000146"); OCIExecute($stmt); $nrows = OCIFetchInto($stmt,$results,OCI_ASSOC); echo "Treffer: $nrows\n"; while(list($k,$v) = each($results)) { echo "Key: $k\n"; echo "Val: $v\n".strlen($v); $data = $v->load(); echo $data; } OCILogOff($conn); ?> <b>Warning</b>: OCILobRead: OCI_NEED_DATA in <b>test.php</b> on line <b>15</b>< br> Program received signal SIGSEGV, Segmentation fault. 0xfea36dec in strlen () from /usr/lib/libc.so.1 Program received signal SIGSEGV, Segmentation fault. 0xfea36dec in strlen () from /usr/lib/libc.so.1 (gdb) bt #0 0xfea36dec in strlen () from /usr/lib/libc.so.1 #1 0x57568 in php_message_handler_for_zend (message=7, data=0x0) at main.c:637 #2 0x6d10c in zend_message_dispatcher (message=7, data=0x0) at zend.c:485 #3 0x60204 in _mem_block_check (ptr=0xffbef2f8, silent=0, __zend_filename=0xeaa70 "oci8.c", __zend_lineno=1602, __zend_orig_filename=0x0, __zend_orig_lineno=0) at zend_alloc.c:496 #4 0x5f6b8 in _efree (ptr=0xffbef2f8, __zend_filename=0xeaa70 "oci8.c", __zend_lineno=1602, __zend_orig_filename=0x0, __zend_orig_lineno=0) at zend_alloc.c:170 #5 0x8fd28 in oci_loadlob (connection=0x129878, mydescr=0x19a618, buffer=0xffbef2f8) at oci8.c:1613 #6 0x91c60 in php_if_ociloadlob (ht=0, return_value=0x19a8e8, this_ptr=0x129878, return_value_used=1) at oci8.c:2752 #7 0xba790 in execute () #8 0x58430 in php_execute_script (primary_file=0xffbefab8) at main.c:1200 #9 0x24844 in main (argc=2, argv=0xffbefb44) at cgi_main.c:641