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

 ID:                 61698
 User updated by:    mick at deafzone dot ch
 Reported by:        mick at deafzone dot ch
 Summary:            Memory exhausted - unable to investigate
 Status:             Not a bug
 Type:               Feature/Change Request
 Package:            *General Issues
 Operating System:   Linux
 PHP Version:        5.3.10
 Block user comment: N
 Private report:     N

 New Comment:

Sure, I have thought of a debugger. But the error happens random. I could debug 
for an enternity and won't find it.

It happens rarely and I need a backtrace when it does.


Previous Comments:
------------------------------------------------------------------------
[2012-04-12 03:43:55] ahar...@php.net

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Install a debugger; hit up a support channel; go from there.

------------------------------------------------------------------------
[2012-04-12 03:41:07] mick at deafzone dot ch

Correction, I'm specifying the path to the error log file already in the 
htaccess file like that:
php_value error_log [PATH TO LOG FILE]

I can I force it to generate a backtrace as well with another parameter?

------------------------------------------------------------------------
[2012-04-12 03:34:45] mick at deafzone dot ch

Description:
------------
Hello there

I'm Michael from www.binarykitchen.com - for one of my websites I see very 
strange PHP Fatal Errors in the log file I have specified in 
ini_set('error_log', $logFile);

It always contains entries like these:
[11-Apr-2012 20:18:11 UTC] PHP Fatal error:  Allowed memory size of 201326592 
bytes exhausted (tried to allocate 523800 bytes) in /var/www/[...]/File.php on 
line 424

Line is not always 424, it's mostly random. I know somewhere an error is thrown 
and the code is somewhat in an endless loop. Must be a bug in my code but I 
can't find it. There are over 2000 classes heh.

I really need a backtrace. Or more debugging information. Hence I wonder if 
error_log could produce more information for me?

Any ideas or suggestions are welcome. Sorry to post this issue at the wrong 
place but I don't know where else to ask but to address to the PHP Core Devs 
directly.

Thanks heaps for your advice.

Cheers
Michael



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



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

Reply via email to