Bug #16149: Segmentation fault

From: Date: Mon, 18 Mar 2002 18:13:51 +0000
Subject: Bug #16149: Segmentation fault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2782@lists.php.net to get a copy of this message
From: vincent@ecbar.com Operating system: redhat 6.2 PHP version: 4.1.2 PHP Bug Type: Arrays related Bug description: Segmentation fault try the follow code, it works on 4.0.6 but "Segmentation fault (core dumped)" on CGI version and give no error message (and appear to keep executing the code few more times on other httpd child process too) on dynamic apache module version. i've memory limited to 8M, and it's fine when for lopp as "$i<8000". <?php $file = "-----"; for ($i = 0; $i<9000 ; $i++) { $result_array["one"][$i] = $file; $result_array["two"][$i] = $file; $result_array["three"][$i] = $file; $result_array["four"][$i] = $file; $result_array["five"][$i] = $file; $result_array["six"][$i] = $file; $result_array["seven"][$i] = $file; $result_array["eight"][$i] = $file; } echo "done<BR>"; ?> -- Edit bug report at http://bugs.php.net/?id=16149&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16149&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16149&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16149&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16149&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16149&r=support Expected behavior: http://bugs.php.net/fix.php?id=16149&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16149&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16149&r=submittedtwice

« previous php.bugs (#2782) next »