#35135 [Opn->Fbk]: Constructing PDOStatment succeeds but accessing its members crashes apache

From: Date: Mon, 07 Nov 2005 14:28:57 +0000
Subject: #35135 [Opn->Fbk]: Constructing PDOStatment succeeds but accessing its members crashes apache
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-87759@lists.php.net to get a copy of this message
ID: 35135 Updated by: sniper@php.net Reported By: phpbug20051107 at spam dot dusty dot org -Status: Open +Status: Feedback Bug Type: PDO related Operating System: windows xp PHP Version: 5.1.0RC4 -Assigned To: +Assigned To: wez 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-11-07 08:00:15] phpbug20051107 at spam dot dusty dot org Description: ------------ If a PDOStatement is directly constructed (new PDOStatment()) and then any member of that instance accessed, Apache2 will crash. Reproduce code: --------------- <?php $s = new PDOStatement(); $s->errorInfo(); // <-- apache crashes ?> Expected result: ---------------- An error, warning, or notice generated when PDOStatment is constructed directly. Actual result: -------------- Apache crashes: Faulting application Apache.exe, version 2.0.54.0, faulting module php_pdo.dll, version 5.1.0.0, fault address 0x00005508. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35135&edit=1

« previous php.bugs (#87759) next »