php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72020 PHP is crash when run DB Oracle SELECT >= 9 columns. Otherwise its works fine.
Submitted: 2016-04-13 17:06 UTC Modified: 2016-04-14 03:32 UTC
From: x_factor89 at ukr dot net Assigned:
Status: Duplicate Package: OCI8 related
PHP Version: 7.0.5 OS: Windows Server 2012 R2 x64
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: x_factor89 at ukr dot net
New email:
PHP Version: OS:

 

 [2016-04-13 17:06 UTC] x_factor89 at ukr dot net
Description:
------------
It's bug happens only with PHP 7.0.5 (7.0.3) x64! x86 version - works normaly.

Windows Application log:

Faulting application name: php.exe, version: 7.0.5.0, time stamp: 0x56fc0778
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18264, time stamp: 0x56e1bd71
Exception code: 0xc0000005
Fault offset: 0x0000000000008a5c
Faulting process id: 0x193c
Faulting application start time: 0x01d1958ddc43bb8c
Faulting application path: D:\WebServer\php7.0.5\php.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 1a592ab2-0181-11e6-80d0-005056b516f5
Faulting package full name: 
Faulting package-relative application ID:

Test script:
---------------
<?php

$conn = oci_connect('schema', '***', 'MY_TNS');

//php crash (even when you are running through the cmd)
$sql = "select t.column1, t.column2, t.column3, t.column4, t.column5, t.column6, t.column7, t.column8, t.column9 from MY_TABLE t";

//with this query - works normaly
$sql2 = "select t.column1, t.column2, t.column3, t.column4, t.column5, t.column6, t.column7, t.column8 from MY_TABLE t";

$stmt = oci_parse($conn, $sql);

oci_execute($stmt);

$count = oci_fetch_all($stmt, $res);

echo $count;

oci_close($conn);

?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-04-14 03:32 UTC] sixd@php.net
-Status: Open +Status: Duplicate
 [2016-04-14 03:32 UTC] sixd@php.net
Dup of bug #71600.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 01:01:28 2024 UTC