Re: PHP 5.0 crash on long php script with over 1000 lines
| From: | Bert Slagter | Date: | Fri, 09 Jul 2004 23:00:43 +0000 |
| Subject: | Re: PHP 5.0 crash on long php script with over 1000 lines | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11050@lists.php.net to get a copy of this message | ||
Gunnar Von Boehn wrote:
Normally this PHP and Apache build runs fine. I noticed that all long scripts (over 1000 lines) will kill the Apache/PHP build. I verified this with a very simple test script <? $i++ print "$i<br>"; $i++ print "$i<br>"; ...[1000 more lines like the above].. ?> Script with 1000 or less lines run fine in less than a second as soon as I add a few hundred more lines PHP will die.Trying to reproduce.. The same problem exists here, though on a significant higher linecount. Tried it on WinXP, Apache 1.3.29 with PHP 5.0.0-dev (built: Jul-2-2004). With 17.000 lines everything is fine. With 18.000 of the above lines apache crashes. Verified it by adding and deleting 1.000 lines a few times. Tried it on Linux, CLI PHP 5.0.0-dev (build: Jul-8-2004). Here it segfaults exactly on 34517 lines. One line less, no problem. Reproducable. Running under the Zend Debugger Apache doesn't crash. Bert