PHP 4.0 Bug #7784 Updated: Crush Dump with OCIExecute
| From: | thies@php.net | Date: | Mon, 13 Nov 2000 17:31:29 +0000 |
| Subject: | PHP 4.0 Bug #7784 Updated: Crush Dump with OCIExecute | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37943@lists.php.net to get a copy of this message | ||
ID: 7784
Updated by: thies
Reported By: vvtk@stealthcomp.com
Status: Closed
Bug Type: Oracle related
Assigned To:
Comments:
fixed in CVS.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-13 10:56:53] vvtk@stealthcomp.com
$query =
"select sum(decode(NAME, 'consistent gets',VALUE, 0)),
sum(decode(NAME, 'db block gets',VALUE, 0)),
sum(decode(NAME, 'physical reads',VALUE, 0)),
round((sum(decode(name, 'consistent gets',value, 0)) +
sum(decode(name, 'db block gets',value, 0)) -
sum(decode(name, 'physical reads',value, 0))) /
(sum(decode(name, 'consistent gets',value, 0)) +
sum(decode(name, 'db block gets',value, 0))) * 100,2) ".'from
sys.v_$sysstat';
$stmt = OCIParse($conn,$query);
OCIExecute($stmt);
$nrows = OCIFetchStatement($stmt,$results);
=======bt==========
Program received signal SIGSEGV, Segmentation fault.
0x40272fc8 in php_if_ocifetchstatement (ht=1162094669, return_value=0x45444f43, this_ptr=0x4d414e28,
return_value_used=1126640709)
at oci8.c:3492
3492$$RETURN_LONG(rows);
(gdb) bt
#0 0x40272fc8 in php_if_ocifetchstatement (ht=1162094669, return_value=0x45444f43,
this_ptr=0x4d414e28,
return_value_used=1126640709) at oci8.c:3492
#1 0x5553282f in ?? ()
Cannot access memory at address 0x29292930.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7784