#35457 [NEW]: mysqli_report crashes apache

From: Date: Mon, 28 Nov 2005 17:45:31 +0000
Subject: #35457 [NEW]: mysqli_report crashes apache
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-89283@lists.php.net to get a copy of this message
From: David_Canos at ono dot com Operating system: Windows 2000 PHP version: 5.1.1 PHP Bug Type: MySQLi related Bug description: mysqli_report crashes apache Description: ------------ using: apache 2.0.49, mysql 5.0.16, php 5.1.1 When using mysqli->report() with the flags MYSQLI_REPORT_ALL or MYSQLI_REPORT_ERROR Apache crashes if ocurres an error in the query. It seems to be very close to that bug http://bugs.php.net/bug.php?id=35388 Reproduce code: --------------- <?php mysqli_report(MYSQLI_REPORT_ALL); $mysqli = new mysqli("correctHost", "correctUsername", "correctPasswd", "correctSchema"); /* apache crashes if a query is not right, ie:*/ $result=$mysqli->query("SELECT * FROM IncorrectTable"); $result->close(); $mysqli->close(); ?> Expected result: ---------------- some error message. Actual result: -------------- Windows shows an error message and shutdown Apache. And order you to restart Apache. -- Edit bug report at http://bugs.php.net/?id=35457&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35457&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35457&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35457&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35457&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35457&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35457&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35457&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35457&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35457&r=support Expected behavior: http://bugs.php.net/fix.php?id=35457&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35457&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35457&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35457&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35457&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35457&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35457&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35457&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35457&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35457&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35457&r=mysqlcfg

« previous php.bugs (#89283) next »