Segmentation fault and var_dump()
| From: | Rob Brandt | Date: | Wed, 08 Jan 2003 21:59:45 +0000 |
| Subject: | Segmentation fault and var_dump() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-130873@lists.php.net to get a copy of this message | ||
Hello;
I'm getting a segmentation fault and I don't understand what it
means. Kind of new to php debugging.
Background: Web server is generally error free. I have some
complex php/MySQL applications installed. I'm running it under
YellowDogLinux with php v4.23.
I'm trying to install a CVS version of the Horde project. I'm
having a problem with horde in that it doesn't save configuration
values like it should. The Horde developers recommended that I do
some debugging by placing a var_dump($_POST) call at a strategic
place in the script. However, when I try to run the script with
that call active, the web browser responds back: "Connection
closed by server". Checking the apache error log shows the
following:
[Wed Jan 8 21:36:38 2003] [notice] child pid 5261 exit signal
Segmentation fault (11)
What is wrong? It only does this when the var_dump() is present;
comment it out and there is no segmentation fault (but the script
still doesn't work right). With it present, the seg faults every
time.
TIA
Rob