Bug #74946 [Opn->Fbk]: Adding BOOLEAN field to table crashes php on select

From: Date: Tue, 18 Jul 2017 20:18:06 +0000
Subject: Bug #74946 [Opn->Fbk]: Adding BOOLEAN field to table crashes php on select
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210115@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74946&edit=1 ID: 74946 Updated by: requinix@php.net Reported by: rudi dot feijo at multidadosti dot com dot br Summary: Adding BOOLEAN field to table crashes php on select -Status: Open +Status: Feedback Type: Bug Package: InterBase related Operating System: win2012 R2 PHP Version: 7.1.7 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2017-07-18 20:16:22] rudi dot feijo at multidadosti dot com dot br Firebird version 3.0.2 64bit windows PHP version is also 64bit Crash happens on any environment, command line php or webserver ------------------------------------------------------------------------ [2017-07-18 20:13:54] rudi dot feijo at multidadosti dot com dot br Description: ------------ Adding a BOOLEAN field to a table, then trying any SELECT from that table crashes the server Test script: --------------- <?php /* sql for db : CREATE DATABASE 'c:\test.fdb' USER 'SYSDBA' PASSWORD 'masterkey' PAGE_SIZE 16384 DEFAULT CHARACTER SET WIN1252 COLLATION WIN1252; CREATE TABLE ASD ( AA INTEGER ); ALTER TABLE ASD ADD NEW_FIELD BOOLEAN; */ $c = ibase_connect('localhost:C:\\test.fdb','SYSDBA','masterkey'); $q = ibase_query('select * from asd'); $r = ibase_fetch_assoc($q); echo ibase_errmsg(); echo array_keys($r)[0]; Actual result: -------------- php crash (error 500) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74946&edit=1

« previous php.bugs (#210115) next »