Re: Bug #44872 canary mismatch on efree() - heap overflow detected
| From: | Derick Rethans | Date: | Wed, 15 Oct 2008 07:55:55 +0000 |
| Subject: | Re: Bug #44872 canary mismatch on efree() - heap overflow detected | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-41050@lists.php.net to get a copy of this message | ||
On Wed, 15 Oct 2008, Krister Karlström wrote:
> run the same sample script with PHP 5.2.6 configured with --disable-all
> --enable-debug --with-mssql on the Ubuntu Hardy machine. I did exactly the
> same things on both the Slackware server and the Ubuntu, the output and
> expected result was though different:
>
> Here's PHP:s output on Ubnuntu Hardy 8.0.4 with PHP 5.2.6:
[snip]
> It reports 10 memory leaks..? I'm also gonna run this though valgrind, need to
> install it on this machine first...
If you do, please export the following environment variable before you
run it with valgrind:
export USE_ZEND_ALLOC=0
that disables the zend memory manager, which means valgrind can see much
better what might go wrong. If it doesn't show anything then, switch it
back to "1" and try again.
regards,
Derick