|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-02-14 10:50 UTC] sniper@php.net
[2004-02-15 04:19 UTC] jw at jwscripts dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
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