#34802 [Opn->Asn]: new PDORow crashes Apache
| From: | sniper@php.net | Date: | Mon, 10 Oct 2005 09:35:18 +0000 |
| Subject: | #34802 [Opn->Asn]: new PDORow crashes Apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86321@lists.php.net to get a copy of this message | ||
ID: 34802
Updated by: sniper@php.net
Reported By: stochnagara at hotmail dot com
-Status: Open
+Status: Assigned
Bug Type: PDO related
Operating System: windows xp
-PHP Version: 5.1.0RC1
+PHP Version: 5CVS-2005-10-10 (snap)
-Assigned To:
+Assigned To: wez
New Comment:
Assigned to maintainer.
Previous Comments:
------------------------------------------------------------------------
[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