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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 14:01:32 2025 UTC