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

From: Date: Wed, 13 Apr 2016 17:06:13 +0000
Subject: Bug #72020 [NEW]: PHP is crash when run DB Oracle SELECT >= 9 columns. Otherwise its works fine.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200532@lists.php.net to get a copy of this message
From:             x_factor89 at ukr dot net
Operating system: Windows Server 2012 R2 x64
PHP version:      7.0.5
Package:          OCI8 related
Bug Type:         Bug
Bug description:PHP is crash when run DB Oracle SELECT >= 9 columns. Otherwise its works fine. 

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 bug report at https://bugs.php.net/bug.php?id=72020&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=72020&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=72020&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=72020&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=72020&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=72020&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=72020&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=72020&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=72020&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=72020&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=72020&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=72020&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=72020&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=72020&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72020&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=72020&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=72020&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=72020&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72020&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=72020&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=72020&r=mysqlcfg



Thread (2 messages)

« previous php.bugs (#200532) next »