From: jw at jwscripts dot com Operating system: Windows XP PHP version: 5.0.0b4 (beta4) PHP Bug Type: Apache2 related Bug description: Exception handling crashes Apache 2 after a couple of reloads
Description: ------------ The Exception implementation appears buggy under Win XP with Apache 2. When the reproduce code is run a couple of time by refreshing the browser (IE 6 SP2), Apache 2 crashes. Log book entries: Crashed application: Apache.exe, version: 2.0.48.0, Crashed module: php5ts.dll, version: 5.0.0.0, Crashed upon: 0x0003d0ba. Reproduce code: --------------- <? class UserException extends Exception { public $message; public function __construct ($message) { $this->message = $message; } } try { throw new UserException("Unknown error"); } catch (UserException $ue) { echo "Error: $ue->message, at line: ", $ue->getLine(), " in file: ", $ue->getFile(); } ?> Expected result: ---------------- Error: Unknown error, at line: [...] in file: [...] Actual result: -------------- Crash of Apache 2 after a couple of reloads -- Edit bug report at http://bugs.php.net/?id=27252&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27252&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27252&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27252&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27252&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27252&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27252&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27252&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27252&r=support Expected behavior: http://bugs.php.net/fix.php?id=27252&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27252&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27252&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27252&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27252&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27252&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27252&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27252&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27252&r=float