ID:               9836
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Critical
 Bug Type:         Scripting Engine problem
 Operating System: linux
 PHP Version:      4.1.0
 New Comment:

I'm experiencing a similar problem on a server I use. When we upgraded
to apache 1.3.22 and php 4.1.x from 4.0.x, output sometimes(!) stops on
some pages. Not all pages, and not always! We have no idea what the
problem is, the output just stops. Any ideas?


Previous Comments:
------------------------------------------------------------------------

[2002-03-05 09:44:36] [EMAIL PROTECTED]

okay. I think I described the problem well enough but I don't  want
this bug closed just for 'lack of user feedback'. So do this:

create any long script. an easy (though somewhat slow) way to do this
is:

#!/bin/zsh
echo 'see this' >| test.php
for i in {1..100000}; do
    echo '<? echo "...and this\\n"; ?>' >>| test.php
done


now you put 'memory_limit = 50000000' to your php.ini

run
$ php test.php
you'll get a lot of output

now change memory limit to smaller value, let's say 8000000.
$ php test.php
(failed with error code 1)

no warning given although 'error_reporting=E_ALL' in php.ini

------------------------------------------------------------------------

[2002-03-02 21:59:17] [EMAIL PROTECTED]

Will you please provide a link to a website containing this sample
script?

Also will you share your php.ini file with us so we might debug this
further?  What about your config line?  

------------------------------------------------------------------------

[2001-12-14 15:05:22] [EMAIL PROTECTED]

I've verified this problem when I was taking care of other bug report.
This is critical I think.
I'll look for duplicate later.

------------------------------------------------------------------------

[2001-08-07 08:47:19] [EMAIL PROTECTED]

User feedback:
--------------
After further testing I found out it depends on memory limit.
But usually if you violate memory limit, you get a warning. The
warning
is probably not issued when parsing the script. (I am not sure about
it
as I didn't look at the sources).
---------------

User used the latest CVS snapshot.

--Jani



------------------------------------------------------------------------

[2001-08-07 05:48:20] [EMAIL PROTECTED]

And now we have already released PHP 4.0.6. But could 
you PLEASE try the latest CVS snapshot: http://snaps.php.net/

After you have tested your script with these and if 
it still fails, provide the GDB backtrace I asked a long ago.

--Jani



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/9836

-- 
Edit this bug report at http://bugs.php.net/?id=9836&edit=1

Reply via email to