Bug #72020 [Opn->Dup]: PHP is crash when run DB Oracle SELECT >= 9 columns. Otherwise its works fine.

From: Date: Thu, 14 Apr 2016 03:32:54 +0000
Subject: Bug #72020 [Opn->Dup]: PHP is crash when run DB Oracle SELECT >= 9 columns. Otherwise its works fine.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200539@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72020&edit=1

 ID:                 72020
 Updated by:         sixd@php.net
 Reported by:        x_factor89 at ukr dot net
 Summary:            PHP is crash when run DB Oracle SELECT >= 9 columns.
                     Otherwise its works fine.
-Status:             Open
+Status:             Duplicate
 Type:               Bug
 Package:            OCI8 related
 Operating System:   Windows Server 2012 R2 x64
 PHP Version:        7.0.5
 Block user comment: N
 Private report:     N

 New Comment:

Dup of bug #71600.


Previous Comments:
------------------------------------------------------------------------
[2016-04-13 17:06:09] 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);

?>



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=72020&edit=1


Thread (2 messages)

« previous php.bugs (#200539) next »