Forum Moderators: coopster
I am running PHP 5.0.3 on an Apache VPS.
I have added a new component to a Mambo site (Community Builder) and am getting only partial use out of it. No help on the forums over there.
Error logs are filled with "child pid exit signal Segmentation fault" errors. A bit of investigation suggests that this could be a problem with either Apache or PHP, though I am not finding any solutions in my surfing. What I have inferred is that there are (or have been) known issues with certain PHP scripts generating these errors.
My symptoms are identical to what I have read. IE gives a "Page can not be found" error while Firefox and Opera simply display the same page you were already on.
I can drop back to a previous version of PHP in an effort to fix this, but I am reluctant to do so unless I have some faith that it will fix the problem.
Of course, it could be the script, although many are full of praise for its abilities...so it seems to work fine for a lot of folks.
Anyone here have experience with similar problems? Any good fixes?
WBF
Well, I don't. :(
But Google has some info [google.com], and you might want to ask over in the PHP or Website Technology forums as well, since more folks hang out in those forums, and this discussion may go beyond the scope of Apache server. Sorry for the delay -- It's pretty quiet back here today.
Jim
There are quite a few references to the error in regards to PHP in various incarnations of 4.0.x and 5.0.x. Some use words like "random". I came across one that suggested the problem lies in the interaction between PHP and My SQL.
Whatever it is, it appears to be crashing Apache before the script ends, and it is happening in scripts unrelated to the one I am running.
Looks like it was reported as a PHP bug at least once, but was not followed up on due to lack of information. Yet others have stated that they are able to replicate the error across different installations of Linux.
Quite baffling all in all.
Perhaps you could move this thread over to the PHP forum?
WBF
It appears that this is a known problem and has been reported as a bug, but the bug report was dismissed since not enough info was provided. The best lead I could find was that it was related to a PHP/MySQL transaction gone awry that crashes Apache before completion of the script, but tracking that is beyond my knowledge base.
I will leave it to someone with more time and skill than I have..
It should not be counted on that 4.x PHP will solve the problem since I did find reference to the same behavior in earlier versions of PHP.
WBF
php-Dev
Bug #14529 Updated: script doesn't always finish output
[issues.apache.org...]
Google for "child pid exit signal Segmentation fault"+"php"
I could not find the reference I came across before which was to a bug that was closed due to lack of information. It is out there, but now this thread is taking over the search. (Gotta' love ww:))
WBF
[bugs.php.net...]
Key in "child pid exit signal Segmentation fault" and you'll find some threads. Seems one in particular has a CVS snapshot that solved the problem.
[bugs.php.net...]