#26275 [NEW]: Server Crash when throw exception

From: Date: Sun, 16 Nov 2003 17:20:32 +0000
Subject: #26275 [NEW]: Server Crash when throw exception
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-50440@lists.php.net to get a copy of this message
From: php dot bug at stre dot it Operating system: win32 nt5.1 PHP version: 5CVS-2003-11-16 (dev) PHP Bug Type: Zend Engine 2 problem Bug description: Server Crash when throw exception Description: ------------ this code below bring my server to crash Reproduce code: --------------- <?PHP class Bad { public static function badfunc() { throw new Exception('Some Exception from bad class'); return 'hello'; } public static function badcall($obj1, $key1, $val1) { return 'hello'; } } try { function test() { Bad::badcall('test','bad',Bad::badfunc()); echo 'server ok'; } test(); } catch(Exception $err) { echo $err->getMessage(); } ?> Expected result: ---------------- no response from server, must restart service -- Edit bug report at http://bugs.php.net/?id=26275&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26275&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26275&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26275&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26275&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26275&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26275&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26275&r=support Expected behavior: http://bugs.php.net/fix.php?id=26275&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26275&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26275&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26275&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26275&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26275&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26275&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26275&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26275&r=float

« previous php.bugs (#50440) next »