Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > #30907 : Apache crashes when inserting a -1 into a Interbase TIMESTAMP field
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 12th March 17:43
External User
 
Posts: 1
Default #30907 : Apache crashes when inserting a -1 into a Interbase TIMESTAMP field



ID: 30907
Updated by: abies@php.net
Reported By: sandell at slobtrot dot com
Status: Open
Bug Type: InterBase related
Operating System: WinXP Pro (SP2)
PHP Version: 5.0.2
New Comment:

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


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

[2004-11-26 14:24:25] sandell at slobtrot 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 With Quote


  sponsored links


2 12th March 17:43
External User
 
Posts: 1
Default #30907 : Apache crashes when inserting a -1 into a Interbase TIMESTAMP field



ID: 30907
Updated by: abies@php.net
Reported By: sandell at slobtrot dot com
-Status: Open
+Status: Feedback
Bug Type: InterBase related
Operating System: WinXP Pro (SP2)
PHP Version: 5.0.2


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

[2005-02-23 21:28:52] abies@php.net

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 slobtrot 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 With Quote
3 12th March 21:54
php-bugs
External User
 
Posts: 1
Default #30907 : Apache crashes when inserting a -1 into a Interbase TIMESTAMP field


ID: 30907
User updated by: sandell at slobtrot dot com
Reported By: sandell at slobtrot dot com
-Status: Feedback
+Status: Open
Bug Type: InterBase related
Operating System: WinXP Pro (SP2)
PHP Version: 5.0.2
New Comment:

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


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

[2005-02-23 21:28:52] abies@php.net

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 slobtrot 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 With Quote
4 12th March 21:54
External User
 
Posts: 1
Default #30907 : Apache crashes when inserting a -1 into a Interbase TIMESTAMP field


ID: 30907
Updated by: abies@php.net
Reported By: sandell at slobtrot dot com
-Status: Open
+Status: Feedback
Bug Type: InterBase related
Operating System: WinXP Pro (SP2)
PHP Version: 5.0.2
New Comment:

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


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

[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] abies@php.net

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 slobtrot 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 With Quote
5 12th March 21:54
php-bugs
External User
 
Posts: 1
Default #30907 : Apache crashes when inserting a -1 into a Interbase TIMESTAMP field


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

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


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

[2005-02-24 10:12:23] abies@php.net

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] abies@php.net

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 With Quote
6 13th March 14:27
php-bugs
External User
 
Posts: 1
Default #30907 : Apache crashes when inserting a -1 into a Interbase TIMESTAMP field


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

The new Snapshot (downloaded 1.3.2005) still causes Apache to crash.

Tested with:
- Interbase Server v7.1 (WI-V7.1.0.192).
- Apache 2.0.50
- PHP 5.1.0-DEV


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

[2005-02-28 21:22:17] sniper@php.net

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

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

[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] abies@php.net

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] abies@php.net

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

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/30907

--
Edit this bug report at http://bugs.php.net/?id=30907&edit=1
  Reply With Quote
7 22nd March 05:16
External User
 
Posts: 1
Default #30907 : Apache crashes when inserting a -1 into a Interbase TIMESTAMP field


ID: 30907
Updated by: sniper@php.net
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] abies@php.net

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] abies@php.net

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 With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666