ID: 40701
User updated by: michaeldaly at magma dot ca
Reported By: michaeldaly at magma dot ca
Status: Open
Bug Type: Reproducible crash
Operating System: Win XP Pro
PHP Version: 5.2.1
New Comment:
Additional thought - may be unrelated.
On my old server (Apache 1.6.3, PHP 5.0) I never saw this problem but
had another, possibly related.
There was a frequent bug that I fixed with Win32DisableAcceptEx in
httpd.conf. This then introduced a memory allocation bug in Apache.
Apparently, that situation was relatively common on Windows machines
with not a lot of RAM - mine was 512MB.
With current server, I have 2GB Ram and the Apache allocation bug
hasn't shown up. However, now PHP has allocation errors. Is it
possible one was "hiding" the other? Is it possible the two situations
are related?
I only mention this in the hope it might twig one of you PHP wizards.
Previous Comments:
------------------------------------------------------------------------
[2007-03-04 17:40:36] michaeldaly at magma dot ca
phpinfo shows memory_limit 512M.
BTW this coincides with an Apache error of:
Parent: child process exited with status 3221225477 -- Restarting.
And -access violation (hex of 3221225477 is 0xC0000005) according to a
post on a web site I found.
This error with php apparently has a long history and comes and goes by
mixing and matching different versions of Apache and PHP. I don't know
if this adds any useful information, but it sounds like one of those
nasty problems that is hard to debug and fix.
------------------------------------------------------------------------
[2007-03-04 17:23:43] [EMAIL PROTECTED]
What memory limit value phpinfo() show?
------------------------------------------------------------------------
[2007-03-04 01:31:59] michaeldaly at magma dot ca
Further note on memory allocations: here are the three latest failures
and the programs in which they occured; the top one being the most
recent and the bottom the oldest.
(allocated 1835008) (tried to allocate 98304 bytes) Parser.php
(allocated 2883584) (tried to allocate 24576 bytes) Language.php
(allocated 7340032) (tried to allocate 1572864 bytes) MessagesEn.php
------------------------------------------------------------------------
[2007-03-03 17:18:56] michaeldaly at magma dot ca
PHP responds to other parameters in the PHP.ini file (e.g.
display_errors = Off/On) so it is being found and used.
As I stated in my report "The amount of memory allocated or attempted
to allocate varies.". I wasn't clear - I have seen this bug occur with
allocated reported at just over 1MB to just over 8MB and more often at
lower levels - the specific, most recent, error message I showed is one
of the larger values I've seen.
Please reconsider this bug.
------------------------------------------------------------------------
[2007-03-03 15:50:08] [EMAIL PROTECTED]
Based on the error it would seem that the limit is 8 megs not 512 as
your config suggests. I suspect your configuration file is being
ignored.
------------------------------------------------------------------------
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/40701
--
Edit this bug report at http://bugs.php.net/?id=40701&edit=1