Bug #9836 Updated: php unexpectedly ends on too long scripts
| From: | sniper@php.net | Date: | Tue, 07 Aug 2001 12:47:19 +0000 |
| Subject: | Bug #9836 Updated: php unexpectedly ends on too long scripts | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-62403@lists.php.net to get a copy of this message | ||
ID: 9836
Updated by: sniper
Reported By: jack@mobil.cz
Old Status: Feedback
Status: Open
Bug Type: Scripting Engine problem
Operating System: linux
Old PHP Version: 4.0.5
PHP Version: 4.0.7-dev
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2001-08-07 05:48:20] sniper@php.net
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
------------------------------------------------------------------------
[2001-08-07 05:28:09] jack@mobil.cz
so it has happened again.
I again offer to provide the script so that you can see where the problem is. I won't paste it
here because it has 730K.
The script cannot really run because it is supposed to have many includes and it itself should be
included by other script -- but it should fail with some reason (like unknown function).
Instead it just dies with return code 1.
------------------------------------------------------------------------
[2001-05-10 05:57:58] sniper@php.net
No feedback. If problem exists with PHP 4.0.5, reopen.
------------------------------------------------------------------------
[2001-04-19 09:35:10] sniper@php.net
Does this happen with latest CVS from http://snaps.php.net/ ?
--Jani
------------------------------------------------------------------------
[2001-03-19 13:57:54] sniper@php.net
With that limited information you gave in the first
comments I couldn't know that.
Ok, so it doesn't crash? Just stops?
Computer generated scripts? How big?
And what do they do?
Could you check that it doesn't crash, ie. run the php
script which 'ends' within gdb:
# gdb php
(gdb) run -f thisscriptendstoosoon.php
--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/?id=9836
Edit this bug report at http://bugs.php.net/?id=9836&edit=1