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


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to