ID:               30907
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sandell at winwap dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         InterBase related
 Operating System: WinXP Pro (SP2)
 PHP Version:      5.0.2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2005-02-24 10:20:36] sandell at winwap dot com

Compiling stuff is out of scope for me, sorry. The compiling must be
done by someone else who knows how to do it.

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

[2005-02-24 10:12:23] [EMAIL PROTECTED]

Please try if the error can be reproduced with a php_interbase.dll
built from source using the ibase.h header file that comes with
Interbase 7.1



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

[2005-02-24 09:10:57] sandell at slobtrot dot com

The PHP installation was not altered. It's the original PHP 5.0.2
installation (binary only).

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

[2005-02-23 21:28:52] [EMAIL PROTECTED]

Did you build php_interbase.dll from source, or did you use the
pre-built one from php.net?

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

[2004-11-26 14:24:25] sandell at winwap dot com

Description:
------------
When inserting a -1 into a TIMESTAMP field in an interbase 7 database
Apache crashes. When looking at the "More info" in the WinXP crash
dialog it shows that it was mod "php_interbase.dll" that caused the
crash.

System setup:
 Windows XP Pro, SP2
 Apache/2.0.50 (Win32) (Win32 bin files downloaded)
 PHP/5.0.2, extension INTERBASE used in php.ini
 Interbase 7 (WI-V7.1.0.131), TCP/IP connection (Localhost)
 No Zend optimizer

Note:
 If a value of 0 (zero) is given in the statement, then all works as
expected.

Reproduce code:
---------------
1) Create the table "testtable" in a database with one field named
"DTField" of type TIMESTAMP.

2) Execute the following code:
   // Crash Code
   $db = ibase_connect('','','','None',0,3);
   $sql = "INSERT INTO TestTable (DTField) VALUES (?)";
   $sth = ibase_query($db_intra, $sql, -1);
   ibase_commit($db);


Expected result:
----------------
The table should have a new entry

Actual result:
--------------
Apache crashes (php_interbase.dll)


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


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

Reply via email to