#33942 [Opn->Asn]: the patch to #33156 crash cygwin except cli
ID: 33942
Updated by: sniper@php.net
Reported By: xuefer at 21cn dot com
-Status: Open
+Status: Assigned
Bug Type: Scripting Engine problem
Operating System: cygwin only
PHP Version: 5CVS-2005-08-01 (dev)
-Assigned To:
+Assigned To: dmitry
New Comment:
Dmitry, check your patch please. :)
Previous Comments:
------------------------------------------------------------------------
[2005-08-01 06:47:30] xuefer at 21cn dot com
Description:
------------
in reply to: http://bugs.php.net/bug.php?id=33156
(can't open the bug)
for CYGWIN
in zend_set_timeout()
ITIMER_REAL is set
in zend_unset_timeout()
ITIMER_REAL is NOT unset, but unset ITIMER_PROF instead
it has no problem with "make test" as the test won't last long. but
with any SAPI other than cli. ITIMER_REAL is triggered after php
request is shutdown, result a crash
Reproduce code:
---------------
set timeout to 5
./sapi/php -b 1026
request it with an empty php script
wait for 5 second countdown
crash
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33942&edit=1
Thread (8 messages)