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

From: Date: Mon, 27 May 2002 20:57:57 +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-8693@lists.php.net to get a copy of this message
ID: 17268 Updated by: derick@php.net Reported By: stefan@fostam.franken.de -Status: Feedback +Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux 2.4 PHP Version: 4.2.1 New Comment: Not a bug In PHP -> bugs Previous Comments: ------------------------------------------------------------------------ [2002-05-27 16:52:35] stefan@fostam.franken.de Sorry, the problem was related to ZendOptimizer 1.3.0. It works fine by just replacing 1.3.0 by 1.3.1. ------------------------------------------------------------------------ [2002-05-17 09:04:23] mrobinso@php.net 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. ------------------------------------------------------------------------ [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 (#8693) next »