Still "zend_mm_heap corrupted" error in PHP 5.2.6




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





.



Relevant Pages

  • Re: HTML "scrape" causes loss of query string in URL
    ... in PHP with several PHP scripts interacting with one Java servlet, ... which interacted with several Java classes. ... so now I have to translate all of the PHP scripts into ... PHP to JSP, figuring that while not very "Java guru cool" to do so, ...
    (comp.lang.java.help)
  • Re: OT Favour
    ... same cart software on the same host is fine, and it's only the root page which shows this error on my site. ... I've just tried creating an account and doing a search on your site, both of which trigger your php scripts and both of which ran successfully. ... recognises Maria's pc and that it then objects because it thinks she's trying to manipulate her scripts through .htaccess. ...
    (uk.politics.misc)
  • Re: hitting the limits
    ... I dont believe you have to "close" PHP scripts or even database connections. ... error log, or they send PHP's errors into Apache's error log. ...
    (comp.lang.php)
  • Re: security question
    ... Hi, I use SMTP AUTH via php, it works fine and it is more safer, you ... emails. ... I tend to assume that all PHP scripts are vulnerable, ...
    (freebsd-isp)
  • Re: How to protect data in other directories
    ... members only. ... or even php scripts) he can access them easily. ... I'm assuming these are not PHP files. ... If that's impossible, then second best is to protect the directory with ..htaccess so the files can't be accessed by anyone. ...
    (alt.php)