Ask a Question related to PHP Development, Design and Development.
-
php dot bug at stre dot it #1
#26275 [Opn]: Server Crash when throw exception
ID: 26275
User updated by: php dot bug at stre dot it
Reported By: php dot bug at stre dot it
Status: Open
Bug Type: Zend Engine 2 problem
Operating System: win32 nt5.1
PHP Version: 5CVS-2003-11-16 (dev)
New Comment:
shorter version
<?PHP
function badfunc() {
throw new Exception('Some Exception from bad clas');
}
function badcall($aaa, $bbb, $ccc) {}
function test() {
badfunc();
badcall(1,1,badfunc());
echo 'server ok';
}
test();
?>
Previous Comments:
------------------------------------------------------------------------
[2003-11-16 12:20:32] php dot bug at stre dot it
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 this bug report at [url]http://bugs.php.net/?id=26275&edit=1[/url]
php dot bug at stre dot it Guest
-
15 sec delay on Exception throw on 1 server not another.
I have a ASP.NET web service using an ASMX. On my Staging server when the web service throws an exception it's no problem - round trip in the 1... -
Is there any way to throw an exception in a finalizer?
I'm trying to do write test code that involves a mock object throwing an exception on object destruction if a certain condition isn't met. (In... -
#26275 [Opn->Ver]: Server Crash when throw exception
ID: 26275 Updated by: sniper@php.net Reported By: php dot bug at stre dot it -Status: Open +Status: ... -
#26275 [NEW]: Server Crash when throw exception
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... -
Javascript error: exception throw...
Hi! I'm running Dreamweaver MX on a Dell LATITUDE C840, using Windows 2000. I've been using MX successfully for 6 months. Recently, I've been... -
php dot bug at stre dot it #2
#26275 [Opn]: Server Crash when throw exception
ID: 26275
User updated by: php dot bug at stre dot it
Reported By: php dot bug at stre dot it
Status: Open
Bug Type: Zend Engine 2 problem
Operating System: win32 nt5.1
PHP Version: 5CVS-2003-11-16 (dev)
New Comment:
sorry short version work, because there is first a standalone badfunc
call, this version dont work
<?PHP
function badfunc() {
throw new Exception('Some Exception from bad clas');
}
function badcall($aaa, $bbb, $ccc) {}
function test() {
badcall(1,1,badfunc());
echo 'server ok';
}
test();
?>
i think is a failure by building stack trace
Previous Comments:
------------------------------------------------------------------------
[2003-11-16 13:17:41] php dot bug at stre dot it
shorter version
<?PHP
function badfunc() {
throw new Exception('Some Exception from bad clas');
}
function badcall($aaa, $bbb, $ccc) {}
function test() {
badfunc();
badcall(1,1,badfunc());
echo 'server ok';
}
test();
?>
------------------------------------------------------------------------
[2003-11-16 12:20:32] php dot bug at stre dot it
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 this bug report at [url]http://bugs.php.net/?id=26275&edit=1[/url]
php dot bug at stre dot it Guest



Reply With Quote

