What Does "Zend_Mm_Heap Corrupted" Mean

What does zend_mm_heap corrupted mean

After much trial and error, I found that if I increase the output_buffering value in the php.ini file, this error goes away

What does zend_mm_heap corrupted mean

After much trial and error, I found that if I increase the output_buffering value in the php.ini file, this error goes away

What does zend_mm_heap corrupted mean

After much trial and error, I found that if I increase the output_buffering value in the php.ini file, this error goes away

Apache error log: zend_mm_heap corrupted, child process exited with status 1 -- Restarting

There is a problem with APC (I use version 1.3.1) that cause this error, corrupt memory for some reason. I believe it has something do with session data because the problems only occur when logged in. My PHP class uses only a session when it is required to be logged in to be able to view the page. I have also checked my code but there is nothing abnormal or incomplete.

When I turn off the Windows extension php_apc.dll in the php.ini file everthing is working fine. No memory corruption and no delays. Also tried other cache extensions like xCache, eAccelerator, memcache and loads normally.

So I qualify this as a bug.

PHPUnit code coverage gives zend_mm_heap corrupted or segmentation fault 11

The problem seems to be that the folder containing the unit tests are a part of the bundle, and therefore were included in the code coverage report. I don't know the specifics of what goes wrong in PHPUnit, but if your unit tests are located in your bundle you need to make sure that they are specifically filtered from the code coverage.

Here is my new phpunit.xml configuration file (relevant parts). No zend_mm_heap and no segmentation fault.

    <testsuites>
<testsuite name="My Suite">
<directory>./src/Company/*Bundle/Tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory suffix=".php">./src/Company/*Bundle/</directory>
<exclude>
<directory>./src/*/*Bundle/Tests</directory>
</exclude>
</whitelist>
</filter>


Related Topics



Leave a reply



Submit