#18930 [Opn->Bgs]: foreach() causes httpd child to segfault

From: Date: Thu, 15 Aug 2002 23:51:58 +0000
Subject: #18930 [Opn->Bgs]: foreach() causes httpd child to segfault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16958@lists.php.net to get a copy of this message
ID: 18930 Updated by: kalowsky@php.net Reported By: tolli@tol.li -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: Linux PHP Version: 4.2.2 New Comment: Unable to reproduce on OSX, or FreeBSD 4.6. Check your local install agian please. Previous Comments: ------------------------------------------------------------------------ [2002-08-15 19:30:19] tolli@tol.li Trying to assign key and value to the same variable with foreach leads to a segmentation fault of the httpd child processing the request (using apxs): foreach ($arr as $s => $s) ./configure --with-apxs=/var/apache/bin/apxs --with-pgsql=/usr/include/pgsql --without-mysql --with-gd Apache 1.3.26 compiled with loadable modules support. Apache error log shows: [Thu Aug 15 23:20:02 2002] [notice] child pid 1918 exit signal Segmentation fault (11) [Thu Aug 15 23:20:02 2002] [notice] child pid 1910 exit signal Segmentation fault (11) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18930&edit=1

« previous php.bugs (#16958) next »