#34802 [Asn->Csd]: new PDORow crashes Apache
| From: | iliaa@php.net | Date: | Mon, 10 Oct 2005 14:31:33 +0000 |
| Subject: | #34802 [Asn->Csd]: new PDORow crashes Apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86349@lists.php.net to get a copy of this message | ||
ID: 34802
Updated by: iliaa@php.net
Reported By: stochnagara at hotmail dot com
-Status: Assigned
+Status: Closed
Bug Type: PDO related
Operating System: windows xp
PHP Version: 5CVS-2005-10-10 (snap)
Assigned To: wez
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-10-10 11:35:16] sniper@php.net
Assigned to maintainer.
------------------------------------------------------------------------
[2005-10-10 09:43:23] stochnagara at hotmail dot com
Still present in latest version.
------------------------------------------------------------------------
[2005-10-10 08:54:19] 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-10-10 07:57:01] stochnagara at hotmail dot com
Description:
------------
Creating a new PDORow object crashes my Apache. The error log contains
the correct error message for this case:
PHP Fatal error: PDORow::__construct() [<a
href='function.--construct'>function.--construct</a>]: You should not
create a PDOStatement manually in ...\pdo.php on line 2
But crashing Apache is not the correct behaviour.
Reproduce code:
---------------
<?
$q= new PDORow();
?>
Expected result:
----------------
PHP Fatal error: PDORow::__construct() [<a
href='function.--construct'>function.--construct</a>]: You should not
create a PDOStatement manually in ...\pdo.php on line 2
Actual result:
--------------
Apache crashes.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34802&edit=1