Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11050 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77568 invoked by uid 1010); 9 Jul 2004 23:00:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 77544 invoked by uid 1007); 9 Jul 2004 23:00:44 -0000 Message-ID: <20040709230044.77543.qmail@pb1.pair.com> To: internals@lists.php.net Date: Sat, 10 Jul 2004 01:00:43 +0200 User-Agent: Mozilla Thunderbird 0.7a (Windows/20040614) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <031EFFB2-D1CA-11D8-855A-000A9588808C@greyhound-data.com> In-Reply-To: <031EFFB2-D1CA-11D8-855A-000A9588808C@greyhound-data.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 80.126.112.196 Subject: Re: PHP 5.0 crash on long php script with over 1000 lines From: bert@procurios.nl (Bert Slagter) 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
"; > $i++ > print "$i
"; > ...[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