#31289 [NEW]: PHP randomly crashes
| From: | smartychan at hotmail dot com | Date: | Fri, 24 Dec 2004 20:10:23 +0000 |
| Subject: | #31289 [NEW]: PHP randomly crashes | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-71043@lists.php.net to get a copy of this message | ||
From: smartychan at hotmail dot com
Operating system: Windows XP Pro
PHP version: 4.3.10
PHP Bug Type: Performance problem
Bug description: PHP randomly crashes
Description:
------------
Hi,
This is actually a resubmission (I corrected something).
I have an Apache 2, PHP on windows XP pro. They're all installed
properly. When I run a php script that is big, it will crash. It will then
display The Page Cannot be Displayed (Cannot find server or DNSError). I
tried all 4.3 versions and 5.0, and all versions of apache,
and reformatted computer. For example, when I use "include" and include a
big regular html file with many words, php "flashes and refreshes",trying
to load the php + included html page. Then, it will suddenly
crash and the error will show up. This also happens in another area, in a
simple coppermine photo gallery. When the php gallery is viewed, sometimes
it will suddenly crash. Sometimes it will not. When it does
crash and the Page cannot be displyaed shows, I try to refresh it and
still cannot view the crashed page. So, it randomly crashes. The php
usually crashes when it loads "big information-like a big html page"
(not necessarily php code). Also, PHP crashes on the big page no matter
what machine I use to view it. It will crash on the server machine itself
when the php page is loaded. I do not think it is my computer
server problem, tho. This is my server:
Sony vaio
Pentium III 900mhz
512Ram
40GB hardrive NTFS
Could you help me with this problem?
Thanks,
Felix Chan
Reproduce code:
---------------
The URL to my php page that randomly crashes is:
http://chantown.com/fun/index.php?sm=facts
The included page within the php is :
http://chantown.com/fun/uselessfacts.htm
--
I also have a test page. This test php page has one include function
only. It includes games.htm.
http://chantown.com/fun/abc.php
http://chantown.com/fun/games.htm
--
this is my php info page. http://chantown.com/phpinfo.php
this server should be running between 12 pm to 11 pm Central Time.
Thanks!
Expected result:
----------------
The php pages are supposed to load correctly and include the htm files
correctly.
Actual result:
--------------
PHP page crashes, and Page Cannot be Displayed shows. However, if I click
refresh many times, the page will "eventually load".
--
Edit bug report at http://bugs.php.net/?id=31289&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31289&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31289&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31289&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31289&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31289&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31289&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31289&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31289&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31289&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31289&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31289&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31289&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31289&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31289&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31289&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31289&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31289&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31289&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31289&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31289&r=mysqlcfg