Req #66354 [Opn->Nab]: Allowed memory size in Unknown on line 0

From: Date: Sun, 29 Dec 2013 09:05:55 +0000
Subject: Req #66354 [Opn->Nab]: Allowed memory size in Unknown on line 0
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183478@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66354&edit=1

 ID:                 66354
 Updated by:         krakjoe@php.net
 Reported by:        spam2 at rhsoft dot net
 Summary:            Allowed memory size in Unknown on line 0
-Status:             Open
+Status:             Not a bug
 Type:               Feature/Change Request
 Package:            Scripting Engine problem
 Operating System:   Linux
 PHP Version:        5.5.7
 Block user comment: N
 Private report:     N

 New Comment:

There is not always a script being invoked; "in unknown" means precisely that there is
_no_ script being invoked, the memory is exhausted by the initialization or some or several modules
in your setup and the engine hasn't even got the stage where it is executing user code, it
would not be useful to report that these kinds of errors happened in any particular code since that
would lead you to look places that can have no impact whatsoever on the error you are experiencing.

There is nothing that we can, or should do about this.


Previous Comments:
------------------------------------------------------------------------
[2013-12-26 14:18:38] spam2 at rhsoft dot net

Description:
------------
the whole php-error handler needs a rework

it is completly unhelpful get messages with "in unknown"
frankly there is *always* a script invoked and to debug someone needs
to know which script whatever error triggered

on machines with hundrets of vhosts and cronjobs using PHP you have no clue where to look in such
cases and since this error was created on my personal workstation and reported twice in a month i
would like to find what allocates that much memory

such errors are all over the language

[26-Dec-2013 14:47:28 Europe/Vienna] PHP Fatal error:  Allowed memory size of 335544320 bytes
exhausted (tried to allocate 140731389980584 bytes) in Unknown on line 0

Test script:
---------------
by knowing the script there would be nothing to report

Expected result:
----------------
at least the physical path of the running script

Actual result:
--------------
unhelpful error messages


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



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


Thread (6 messages)

« previous php.bugs (#183478) next »