ID:               32304
 User updated by:  peter at letford dot co dot uk
 Reported By:      peter at letford dot co dot uk
-Status:           No Feedback
+Status:           Open
 Bug Type:         Zend Engine 2 problem
 Operating System: Windows XP Professional
 PHP Version:      5CVS-2005-03-15
 New Comment:

Hi there,

I have now installed the latest PHP 5 and Apache 1.3.33 on a clean
machine. Whilst the initial problem seems to have gone away the Apache
web server now crashes but I believe it's still a problem of PHP
because debug log mentions php5ts.dll saying the following:

szAppName: Apache.exe
szAppVer: 0.0.0.0
szModName: php5ts.dll
szModVer: 5.1.0.0
offset: 00007c9e

An interesting fact that the offset is _allways_ the same. Although it
doesn't crash every time you run the example code (from original bug
report) holding refresh for a few seconds causes the problem
consistantly.

I have saved the memory dump of the program if you need it.


Previous Comments:
------------------------------------------------------------------------

[2005-03-25 01:54:35] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2005-03-19 12:37:26] [EMAIL PROTECTED]

Can't reproduce.
Please provide more info about your system & try the latest snapshots
from snaps.php.net

------------------------------------------------------------------------

[2005-03-15 01:21:32] peter at letford dot co dot uk

Hi,

This bug exists on 5.1.0-dev

------------------------------------------------------------------------

[2005-03-14 21:24:11] peter at letford dot co dot uk

Description:
------------
If you throw an exception that doesn't use a number for the error code,
a "Fatal Error" message box pops up saying:

Wrong parameter count for exception([string $exception [,long $code]])


This hangs the current server thread until the message box is selected
which could be used to lock all of the available threads on the server
and effectively take the server offline.


Reproduce code:
---------------
<?php

throw new Exception("Invalid Error Code -->", "ERRO_ASDASD");

?>

Expected result:
----------------
Throw an exception as normal.

Actual result:
--------------
The thread will hang and the page won't load until you close the
message popup. It will then display this:


"Fatal error: Wrong parameter count for exception([string $exception [,
long $code ]]) in Unknown on line 0"


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32304&edit=1

Reply via email to