From:             alexdow__ at hotmail dot com
Operating system: Windows XP SP2
PHP version:      5.1.0RC5
PHP Bug Type:     PDO related
Bug description:  PDO->prepare() (mysql) causes apache 1.3 to crash

Description:
------------
Preparing a query on MySQL 5.0 using PDO results in Apache crashing.

Reproduce code:
---------------
$pdo = new
PDO('mysql:host=localhost;dbname=somedb','user','pass',array(PDO::ATTR_PERSISTENT
=> true));                              
                
$statement = $pdo->prepare($argQuery);

Expected result:
----------------
I expect $statement to be a proper PDOStatement object.

Actual result:
--------------
Actual result is Apache crashing. I'm not sure how to generate backtraces
in windows other than debugging through VS.NET, if you want that.

-- 
Edit bug report at http://bugs.php.net/?id=35272&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35272&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35272&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35272&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35272&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35272&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35272&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35272&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35272&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35272&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35272&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35272&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35272&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35272&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35272&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35272&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35272&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35272&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35272&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35272&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35272&r=mysqlcfg

Reply via email to