malloc() failure - single function document
| From: | Joe Lewis | Date: | Thu, 24 Jun 2004 16:58:28 +0000 |
| Subject: | malloc() failure - single function document | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-188981@lists.php.net to get a copy of this message | ||
Hello, all.
I've got a problem, and this is the best place I know of to find the solution.
I have three PHP programs I'm trying to run. One functions just fine (located in the home directory, this is a simple mileage tracker for a couple of my automobiles). One is a feedback form (SMTP), and the other is a test file only has :
<?php phpInfo(); ?>
Here's the results :
mileage.php - works perfectly
phpinfo.php - results in :
httpd in malloc(): error: allocation failed
[Thu Jun 24 10:18:29 2004] [notice] child pid 19655 exit signal Abort (6)
feedback.php - results in :
[Thu Jun 24 10:19:23 2004] [notice] child pid 19652 exit signal Bus error (10)
Those log messages are not what I call good. On the phpinfo.php script, the memory usage on the server goes through the roof before the messages get printed to the log file. I'm using FreeBSD5.2-RELEASE, and PHP 4.3.6 running under Apache 2.0.49. I've compiled both apache and mod_php from ports (similar to "rpm -i"), and also directly from the source code, to no avail. Does anyone have any ideas as to what is actually occuring?
Joe