From: pascal dot fellerich at ses-engineering dot com Operating system: Win XP Pro SP3 PHP version: 5.2.8 PHP Bug Type: Reproducible crash Bug description: Crash when executing a PDO/MYSQL query
Description: ------------ PHP crashes when executing a query using PDO/Mysql. PHP is running as an Apache 2.0 handler. In the Apache error log, this line appears: [notice] Parent: child process exited with status 3221225477 -- Restarting. Sometimes, even the new PDO() call crashes already, but to reproduce the bug easily, just do a SELECT * FROM mysql.user - voila. Set up: XAMPP 1.7.0 with Apache 2.2.11, PHP 5.2.8, MySQL 5.1.30. The same crash could be reproduced in a 'bastardized' XAMPP setup with MySQL 5.0.67. Conversely, the setup Apache 2.2.11, PHP 5.2.6, MySQL 5.1.30 was OK. No crashes here. Reproduce code: --------------- $pdo = new PDO("mysql:host=localhost; dbname=mysql", 'root', $mypassword); $pdo->exec("SET NAMES 'utf8'"); $result = $pdo->query($sql, PDO::FETCH_NUM); //...bye bye! Expected result: ---------------- Obvious. Actual result: -------------- Apache Error Log: [notice] Parent: child process exited with status 3221225477 -- Restarting. Nothing more available. -- Edit bug report at http://bugs.php.net/?id=47491&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47491&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47491&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47491&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47491&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47491&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47491&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47491&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47491&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47491&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47491&r=support Expected behavior: http://bugs.php.net/fix.php?id=47491&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47491&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47491&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47491&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47491&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47491&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47491&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47491&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47491&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47491&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47491&r=mysqlcfg