#18930 [NEW]: foreach() causes httpd child to segfault

From: Date: Thu, 15 Aug 2002 23:30:20 +0000
Subject: #18930 [NEW]: foreach() causes httpd child to segfault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16955@lists.php.net to get a copy of this message
From: tolli@tol.li Operating system: Linux PHP version: 4.2.2 PHP Bug Type: Reproducible crash Bug description: foreach() causes httpd child to segfault 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 bug report at http://bugs.php.net/?id=18930&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18930&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18930&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18930&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18930&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18930&r=support Expected behavior: http://bugs.php.net/fix.php?id=18930&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18930&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18930&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18930&r=globals

« previous php.bugs (#16955) next »