ID:               16820
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: linux
 PHP Version:      4.2.0
 New Comment:

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




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

[2002-06-16 00:11:29] [EMAIL PROTECTED]

reclassified

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

[2002-04-25 06:24:51] [EMAIL PROTECTED]

If you have bad luck and get termination signal (after exceding
max_execution_time limit) in some critical section
locks won't be released !!! (because of usage of longjmp function in
zend_bailout)

eg. when signal come when process is executing malloc in ealloc
(Zend/zend_alloc.c) function it won't release internal
lock, and shutdown functions that free memory will hang as well as
other threads.

You probably can prevent it with HANDLE_BLOCK_INTERRUPTIONS macro, but
it isn't good solution.
I suggest that zend_timeout function should set EG(timed_out) flag, as
it is done in windows environment. Flag should be checked in execute
function (Zend/zend_execute.c) in main loop.

waiting for your patch (my is working, but is ugly coded;-)),
Wojtek


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


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

Reply via email to