ID:               40701
 Updated by:       [EMAIL PROTECTED]
 Reported By:      michaeldaly at magma dot ca
-Status:           Open
+Status:           Feedback
-Bug Type:         Reproducible crash
+Bug Type:         Unknown/Other Function
 Operating System: Win XP Pro
 PHP Version:      5.2.1
 New Comment:

Make sure you didn't set the memory limit in any other way (windows
registry, httpd.conf, htaccess etc.).
If PHP says your limit is set to 8Mb, I see no reason why I shouldn't
trust PHP.


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

[2007-03-04 20:21:23] michaeldaly at magma dot ca

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.

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

[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.

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

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

Reply via email to