php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7784 Crush Dump with OCIExecute
Submitted: 2000-11-13 10:56 UTC Modified: 2006-07-17 08:33 UTC
From: vvtk at stealthcomp dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.3pl1 OS: RedHat6.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vvtk at stealthcomp dot com
New email:
PHP Version: OS:

 

 [2000-11-13 10:56 UTC] vvtk at stealthcomp dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-13 12:31 UTC] thies@php.net
fixed in CVS.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Sep 27 15:05:53 2022 UTC