Bug #10379: ns-httpd crashes on php content.
| From: | ptierney at iss dot net | Date: | Wed, 18 Apr 2001 13:54:20 +0000 |
| Subject: | Bug #10379: ns-httpd crashes on php content. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51874@lists.php.net to get a copy of this message | ||
From: ptierney@iss.net
Operating system: Solaris 7
PHP version: 4.0.4pl1
PHP Bug Type: iPlanet related
Bug description: ns-httpd crashes on php content.
The configure line:
./configure --with-nsapi=/opt/NetScape/server4 --with-oci8=/oracle/OraHome1 --prefix=/usr/local/php
--mandir=/usr/man --srcdir=/usr/src/php-4.0.4pl1 --with-exec
-dir --enable-track-vars --enable-force-cgi-redirect --enable-discard-path
--with-config-file-path=/opt/NetScape/server4
Using Iplanet 4.1sp6 on Sun 420R, single proc, 1GB ram
We were seeing large numbers of watchdog restarts, whenever php was enabled, as many as 100 in 5
minutes. After much testing, we started to realize larger php files appeared to be causing the
problem. We have been able to create a php file that is 3812 lines long, that will crash the
ns-httpd service _every_ time. It is too long to attach here, but I can email it, once I have an
address. It simply consists of the following:
===========
<?php
<HTML><HEAD><TITLE>bombs.php</TITLE></HEAD>";
print "<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\"
LINK=\"#0000FF\"";
print "VLINK=\"#840084\" ALINK=\"#0000FF\">";
print "There is a file in this directory called BigBigGame.php";
<*REPEAT ABOVE LINE 3805 TIMES*>
print "</BODY></HTML>";
?>
============
I am unable to obtain a backtrace, as netscape won't start with debug version.
--
Edit Bug report at: http://bugs.php.net/?id=10379&edit=1