#30114 [NEW]: crash php-cli after "CREATE TABLE " and "DROP TABLE"
From: max at webscript dot ru
Operating system: Win XP Pro
PHP version: 5CVS-2004-09-16 (dev)
PHP Bug Type: InterBase related
Bug description: crash php-cli after "CREATE TABLE " and "DROP TABLE"
Description:
------------
when i try to create table via ibase_query() and then drop table it crash
php (cli and mod_php)
Table droped successfully but WinXP show window with error in php.exe (or
apache.exe if i test it with mod_php)
Reproduce code:
---------------
$host = 'localhost:C:\BASE\MY.GDB';
$conn = ibase_connect($host, 'SYSDBA', 'masterkey');
$sql = "CREATE TABLE test_charset(ch varchar(200))";
ibase_query($conn, $sql) or die(ibase_errmsg());
$sql = "DROP TABLE test_charset";
ibase_query($conn, $sql) or die(ibase_errmsg());
Expected result:
----------------
it must create table and then drop it without any errors and warnings
Actual result:
--------------
i got window whihc inform me, that error happened in php.exe.
-------
AppName: php.exe AppVer: 5.0.2.2 ModName: msvcrt.dll
ModVer: 7.0.2600.0 Offset: 0002f548
----
--
Edit bug report at http://bugs.php.net/?id=30114&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30114&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30114&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30114&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30114&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30114&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30114&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30114&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30114&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30114&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30114&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30114&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30114&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30114&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30114&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30114&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30114&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30114&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30114&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30114&r=mysqlcfg
Thread (6 messages)
- max at webscript dot ru