ID: 27252 User updated by: jw at jwscripts dot com Reported By: jw at jwscripts dot com -Status: Feedback +Status: Closed Bug Type: Apache2 related Operating System: Windows XP PHP Version: 5.0.0b4 (beta4) New Comment:
The problem seems to be related to the installation; I upgraded from one of the latest developer branches to beta 4, without rebooting Windows. This probably left the previous version of php5ts.dll resident in memory. This morning, after booting Windows, I was unable to reproduce the bug. Previous Comments: ------------------------------------------------------------------------ [2004-02-14 10:50:21] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip And remove all PHP related dlls first! (especially php5ts.dll) ------------------------------------------------------------------------ [2004-02-14 06:11:03] jw at jwscripts dot com 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 this bug report at http://bugs.php.net/?id=27252&edit=1