PHP Causes random segfault.
| From: | Michael Wulff Nielsen | Date: | Fri, 06 Feb 2004 08:49:06 +0000 |
| Subject: | PHP Causes random segfault. | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12726@lists.php.net to get a copy of this message | ||
Hi everyone, I hope this On-topic here, if not bear with me.
I have a production web server that seems randomly generate segfault. This
is a small excerpt from apache error log file:
[Fri Feb 6 09:25:05 2004] [notice] child pid 22388 exit signal Segmentation
fault (11)
[Fri Feb 6 09:31:50 2004] [notice] child pid 22398 exit signal Segmentation
fault (11)
[Fri Feb 6 09:32:03 2004] [notice] child pid 22413 exit signal Segmentation
fault (11)
[Fri Feb 6 09:32:04 2004] [notice] child pid 22417 exit signal Segmentation
fault (11)
Also php produces weird errors in it's error log file:
[06-Feb-2004 08:33:24] PHP Warning: main(HTTP_USER_AGENT): failed to open
stream: No such file or directory in /home/web/web-www/modules/fsArticle
header.php on line 5
[06-Feb-2004 08:33:24] PHP Fatal error: main(): Failed opening required
'HTTP_USER_AGENT' (include_path='.:/usr/share/php') in /home/web/web-www
modules/fsArticle/header.php on line 5
And I can garantee that we are not trying to include HTTP_USER_AGENT in our
header files.
It almost looks as if php is randomly writing to the wrong memory.
System config:
gcc 2.95.4
libc 2.3.2
Any ideas anyone??
Michael