#33942 [Opn->Asn]: the patch to #33156 crash cygwin except cli

From: Date: Mon, 01 Aug 2005 10:07:42 +0000
Subject: #33942 [Opn->Asn]: the patch to #33156 crash cygwin except cli
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-82757@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#82757) next »