#35135 [NEW]: Constructing PDOStatment succeeds but accessing its members crashes apache

From: Date: Mon, 07 Nov 2005 07:00:16 +0000
Subject: #35135 [NEW]: Constructing PDOStatment succeeds but accessing its members crashes apache
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-87738@lists.php.net to get a copy of this message
From: phpbug20051107 at spam dot dusty dot org Operating system: windows xp PHP version: 5.1.0RC4 PHP Bug Type: PDO related Bug description: Constructing PDOStatment succeeds but accessing its members crashes apache 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 bug report at http://bugs.php.net/?id=35135&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35135&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35135&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35135&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35135&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35135&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35135&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35135&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35135&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35135&r=support Expected behavior: http://bugs.php.net/fix.php?id=35135&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35135&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35135&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35135&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35135&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35135&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35135&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35135&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35135&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35135&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35135&r=mysqlcfg

« previous php.bugs (#87738) next »