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

 ID:               51420
 Updated by:       paj...@php.net
 Reported by:      pst at telia dot com
 Summary:          Silent crash when memory usage >= 4MByte
-Status:           Open
+Status:           Feedback
 Type:             Bug
 Package:          Scripting Engine problem
 Operating System: Windows Server 2003 SP2
 PHP Version:      5.3.2

 New Comment:

It looks different, but similar location for the crash.



Please reopen when you have a script to reproduce it.


Previous Comments:
------------------------------------------------------------------------
[2010-03-29 02:50:28] pst at telia dot com

Update:



5.2.13 works fine with the exact same script that crashes every time on
5.3.0 and 5.3.2.





Also:



It looks like my problem may have some similarities to this one:

http://bugs.php.net/bug.php?id=49700

------------------------------------------------------------------------
[2010-03-29 01:55:48] pst at telia dot com

The problem is that the original script accesses a huge Oracle 11G
database and uses COM automation that in turn gets data from a different
kind of server on the network. So there is simply no way you could run
the same script I do.



But I'll try and see if I can make a simpler script to reproduce the
error.



Right now I'm installing 5.2.13 to see if it behaves the same way.

------------------------------------------------------------------------
[2010-03-29 01:40:39] paj...@php.net

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 the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.



------------------------------------------------------------------------
[2010-03-29 01:32:07] pst at telia dot com

The script is just a snippet of the entire script. Unfortunately I can't
provide the entire script and include files.



I use 5.3.2 CLI (php.exe) but I used 5.3.0 before and it crashes too.



If I call the script from inside the webserver (PHP5.3.2 & apache
2.2.15) I still get the same crash.





My wild guess is that there is some kind of problem inside the memory
allocation as the crash is just when a new block (256kB) is about to be
allocated. 



It is likely related to something else being allocated as well because I
can't reproduce that crash by just using the little code snippet above.

------------------------------------------------------------------------
[2010-03-29 01:04:01] paj...@php.net

I can't reproduce the crash, this script works just fine.



Do you use 5.3.2 or 5.3? Using CLI or inside a webserver?

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


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/bug.php?id=51420


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

Reply via email to