Still "zend_mm_heap corrupted" error in PHP 5.2.6
| From: | Santi Saez | Date: | Thu, 31 Jul 2008 08:51:39 +0000 |
| Subject: | Still "zend_mm_heap corrupted" error in PHP 5.2.6 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-39494@lists.php.net to get a copy of this message | ||
Dear Srs,
We are having some "zend_mm_heap corrupted" errors followed by a
"Segmentation fault (11)" in our Apache2 + PHP 5.2.6 servers. There are few
information about this "bug" in internet:
* #40479 -> http://bugs.php.net/bug.php?id=40479
* #43295 -> http://bugs.php.net/bug.php?id=43295
I have applied all proposed patches, tested with PHP 5.2.5 and 5.2.6.. and
I still have the error :-/
Anyone has more info about this, or how to solve/prevent?
I'm also looking for a method to get more info about this crash: what
virtualhost + PHP scripts generate it and the timestamp, for example. What
can I do to get more info? Searching in the source code, I see that this
message only is printed by the zend_mm_panic() function in
"Zend/zend_alloc.c" file, anyideas to hack this function to get more info?
static void zend_mm_panic(const char *message)
{
fprintf(stderr, "%s\n", message);#if ZEND_DEBUG && defined(HAVE_KILL) && defined(HAVE_GETPID)
kill(getpid(), SIGSEGV);#endif
exit(1);} Is there any macro o similar to get the URL, virtualhost or PHP script/path? Thanks!! Regards, --Santi Saez