Bug #16149 Updated: Segmentation fault
| From: | sander@php.net | Date: | Tue, 19 Mar 2002 09:22:36 +0000 |
| Subject: | Bug #16149 Updated: Segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-2845@lists.php.net to get a copy of this message | ||
ID: 16149
Updated by: sander@php.net
Reported By: vincent@ecbar.com
-Status: Open
+Status: Feedback
Bug Type: Arrays related
Operating System: redhat 6.2
PHP Version: 4.1.2
New Comment:
To properly diagnose this bug, we need a backtrace to see what is
happening behind the scenes. To find out how to generate a backtrace,
please read http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-03-18 13:13:50] vincent@ecbar.com
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 this bug report at http://bugs.php.net/?id=16149&edit=1