ID: 16820
User updated by: wmeler at wp-sa dot pl
Reported By: wmeler at wp-sa dot pl
-Status: Feedback
+Status: Open
Bug Type: Scripting Engine problem
Operating System: linux
PHP Version: 4.3.0-dev
New Comment:
script like:
<?
set_time_limit(1);
while (TRUE) {
$a.='a';
}
?>
should hang server in ZTS mode on linux after few reloads.
You can download my patch from
http://strony.wp.pl/wp/wmeler/execution-timeout.patch
It is for erlier version, but it applies with offsets.
Previous Comments:
------------------------------------------------------------------------
[2003-07-10 19:54:27] [EMAIL PROTECTED]
Can you please provide either a testcase for this so we can actually
reproduce this or a patch to fix it?
------------------------------------------------------------------------
[2002-10-21 11:19:40] [EMAIL PROTECTED]
Updated version info. (assuming the last comment was based on the
snapshot)
------------------------------------------------------------------------
[2002-10-21 00:18:54] wmeler at wp-sa dot pl
Well, it seems that nothing has changed - on timeout it still does
longjmp without care of semaphores. Locks won't be freed so it will
hang.
As I wrote few months ago, signal handler should only set EG(timeout)
flag.
------------------------------------------------------------------------
[2002-10-20 01:00:03] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-10-03 22:43:06] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16820
--
Edit this bug report at http://bugs.php.net/?id=16820&edit=1