#16820 [Fbk->Opn]: hangs in multithreded environment (ZTS)
From: wmeler at wp-sa dot pl Date: Fri, 11 Jul 2003 07:40:48 +0000 Subject: #16820 [Fbk->Opn]: hangs in multithreded environment (ZTS) References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-43736@lists.php.net to get a copy of this message
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] sniper@php.net
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] sniper@php.net
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] iliaa@php.net
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
Thread (39 messages)
- Bug #16820 Updated: hangs in multithreded environment (ZTS)
- #16820 [Opn->Fbk]: hangs in multithreded environment (ZTS)
- #16820 [Fbk->NoF]: hangs in multithreded environment (ZTS)
- #16820 [NoF->Opn]: hangs in multithreded environment (ZTS)
- #16820 [Opn]: hangs in multithreded environment (ZTS)
- #16820 [Opn->Fbk]: hangs in multithreded environment (ZTS)
- #16820 [Fbk->Opn]: hangs in multithreded environment (ZTS)
- #16820 [Opn->Fbk]: hangs in multithreded environment (ZTS)
- #16820 [Fbk->Opn]: hangs in multithreded environment (ZTS)
- #16820 [Opn->Fbk]: hangs in multithreded environment (ZTS)
- #16820 [Fbk]: hangs in multithreded environment (ZTS)
- #16820 [Fbk->Opn]: hangs in multithreded environment (ZTS)
- #16820 [Opn]: hangs in multithreded environment (ZTS)
- #16820 [Opn->Fbk]: hangs in multithreded environment (ZTS)
- #16820 [Fbk->Opn]: hangs in multithreded environment (ZTS)
- #16820 [Opn->Csd]: hangs in multithreded environment (ZTS)
- #16820 [Csd]: hangs in multithreded environment (ZTS)
- #16820 [Csd->Opn]: hangs in multithreded environment (ZTS)
- #16820 [Opn->Fbk]: hangs in multithreded environment (ZTS)
- #16820 [Fbk->Opn]: hangs in multithreded environment (ZTS)
- #16820 [Opn->Ver]: hangs in multithreded environment (ZTS)
- #16820 [Ver]: hangs in multithreded environment (ZTS)
- #16820 [Ver->Fbk]: hangs in multithreded environment (ZTS)
- #16820 [Fbk->Opn]: hangs in multithreded environment (ZTS)
- #16820 [Opn->Asn]: hangs in multithreded environment (ZTS)
- #16820 [Asn->Fbk]: hangs in multithreded environment (ZTS)
- #16820 [Fbk->NoF]: hangs in multithreded environment (ZTS)
- #16820 [Com]: hangs in multithreded environment (ZTS)
- #16820 [Com]: hangs in multithreded environment (ZTS)
- #16820 [NoF->Opn]: hangs in multithreded environment (ZTS)
- #16820 [Opn->Fbk]: hangs in multithreaded environment (ZTS)
- #16820 [Fbk->Opn]: hangs in multithreaded environment (ZTS)
- #16820 [Opn]: hangs in multithreaded environment (ZTS)
- #16820 [Opn->Asn]: [PATCH] hangs in multithreaded environment (ZTS)
- Bug #16820 [Asn]: [PATCH] hangs in multithreaded environment (ZTS)
- Bug #16820 [Asn->Fbk]: [PATCH] hangs in multithreaded environment (ZTS)
- Bug #16820 [Fbk]: [PATCH] hangs in multithreaded environment (ZTS)
- Bug #16820 [Fbk->NoF]: [PATCH] hangs in multithreaded environment (ZTS)
| « previous | php.bugs (#43736) | next » |
|---|