ID:               27548
 User updated by:  maarten at servicez dot org
 Reported By:      maarten at servicez dot org
 Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: WinXP
 PHP Version:      4.3.4
 New Comment:

How is that possible when the script executes in less then 1 secs..it's
not like it's taking a long time or something


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

[2004-03-10 13:24:15] [EMAIL PROTECTED]

You run out of memory, of course it fails. (fix your script..)



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

[2004-03-10 08:49:14] maarten at servicez dot org

I am afraid that isn't possible because the script is using an database
to load it's items and it's a part of a bigger site.



Any ideas?

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

[2004-03-10 08:45:56] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.

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

[2004-03-10 08:41:37] maarten at servicez dot org

Description:
------------
I have a class making a menu List for my website.

It retrieves information out of a mysql database and then stores this
information in menuItem objects.



Then when i want to order and move with some items i have a problem
with one array. PHP sometimes shows the page, sometimes it doesn't.



It is only when the variable has the name: menu

ANY other name is allowed and the script is just working fine.



It's line 52 of the script @ servertjuh.nl



When i ran php with --enabled-debug i got this:

FATAL:  erealloc():  Unable to allocate 1685227521 bytes





Reproduce code:
---------------
http://www.servertjuh.nl/external/menuServer.class.phps

Expected result:
----------------
To put $val in $this->menu[]

Actual result:
--------------
an popup of windows with:



In PHP Script Interpreter is een fout opgetreden en moet worden
afgesloten. Onze excuses voor dit ongemak.



That means that PHP Script Interpreter has caused a fault.


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


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

Reply via email to