ID: 40479
Comment by: rz at lightwerk dot com
Reported By: rrossi at maggioli dot it
Status: No Feedback
Bug Type: Reproducible crash
Operating System: Suse Linux 9.0
PHP Version: 5.2.1
New Comment:
I have the same error message in my apache logs with PHP 5.2.3
zend_mm_heap corupted. I tried to track it down to a specific code but
it seems to be a problem with included files (classes) which exceeds a
specific size. No matter which lines I delete in my script as long as
they don´t excess about 700 lines they work. As soon as the overall
lines exceed about 700 lines the error occurs again. Hope this will help
you to fix the problem.
Previous Comments:
------------------------------------------------------------------------
[2007-07-03 23:32:55] giampaolo at tomassoni dot biz
I'm experiencing the very same problem reported by rocker_pr.
It seems to me that this problem is triggered by using PHP5 classes,
but I can't provide a small testcase: no small code seems affected.
------------------------------------------------------------------------
[2007-04-26 14:11:47] christian dot kaps at imaxx21 dot com
Hi
I get the same message in my logs. I can reproduce the error in our
system, but it is impossible to locate it. Sometimes I can reproduce the
error by editing a comment. I add a character and the error occurs. I
remove the character and the script runs perfectly. Each time I try to
isolate the error I can reproduce it with an other action.
That what i could isolate is:
-load xml file with simplexml
-add a node
-clone the object
-process xpath query
-print the object with print_r
-serialize the object
-include a file (the error occurs)
When I edit the included file. E.g. remove methods or properties the
script runs without errors. That is funny(o;
Version: 5.2.1
Os: ubuntu
------------------------------------------------------------------------
[2007-04-17 14:04:58] [EMAIL PROTECTED]
We still don't have zero info on how to reproduce it.
------------------------------------------------------------------------
[2007-04-17 13:48:09] mrfree at infinito dot it
Same problem here.
I'm trying to use horde-imp but "zend_mm_heap corrupted" problem occurs
when I open admin/setup/config.php?app=imp to configure the app and the
browser offers to download config.php file.
Please devs give us a working patch :)
------------------------------------------------------------------------
[2007-03-16 16:16:31] rocker_pr at hotmail dot com
I have the same problem with zend_mm_heap corrupted on the error logs,
when I tried to open one of the pages I programmed it show me some
internal server error and that error message was in the log.
Same version php 5.2.1
I migrated my classes from php 5 to work with php 4, all worked fine
again, but then for experimenting purpose I switched back from php 4 to
php 5, but this time not using the keywords: private, public, constuctor
and destructor. I keep the php 4 compatibility, but running the scripts
on php 5.2.1 and it worked fine.
So i think that maybe there is a problem with the memory management on
the classes or objects, I´m not sure, but that was producing the problem
in my case.
------------------------------------------------------------------------
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/40479
--
Edit this bug report at http://bugs.php.net/?id=40479&edit=1