Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > #35135 : Constructing PDOStatment succeeds but accessing its members crashes apache
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 21st April 05:33
php-bugs
External User
 
Posts: 1
Default #35135 : Constructing PDOStatment succeeds but accessing its members crashes apache



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


  sponsored links


Reply


Thread Tools
Display Modes




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