Bug #17268 Updated: unset() hangs in infinite loop with Apache 1.3.24

From: Date: Fri, 17 May 2002 13:04:24 +0000
Subject: Bug #17268 Updated: unset() hangs in infinite loop with Apache 1.3.24
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7927@lists.php.net to get a copy of this message
ID: 17268 Updated by: mrobinso@php.net Reported By: stefan@fostam.franken.de Status: Feedback Bug Type: Scripting Engine problem Operating System: Linux 2.4 PHP Version: 4.2.1 New Comment: Can you provide more details on your setup please? I'm not able to reproduce this on my 2.4 box running Apache-1.3.24. In fact, I used unset in almost every conceivable way without a problem. Previous Comments: ------------------------------------------------------------------------ [2002-05-16 06:14:42] stefan@fostam.franken.de No special script is required; even simple unset() calls fail: <?php $test = "test"; print "start"; unset($test); // hangs and finally fails due to timeout in this line ?> ------------------------------------------------------------------------ [2002-05-16 05:34:12] derick@php.net Please provide a short reproducing script. Derick ------------------------------------------------------------------------ [2002-05-16 05:20:59] stefan@fostam.franken.de My PHP 4.2.1 with Apache 1.3.24 has the following problem: unset() hangs in most cases in an infinite loop. It's independent from the type of the variable, or if the variable does exist at all. I experienced this problem only with the Apache-compiled-in version; the same PHP version as standalone CGI with the same compile options and php.ini doesn't have this problem. The apache process executing a script which came to an unset() call uses >90% of the CPU time until it gets stopped by the maximum execution time limit. register_globals is set to "On". ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17268&edit=1

« previous php.bugs (#7927) next »