JeffKilpatrick
04-02-2009, 06:49 AM
We've been struggling with random crashes on malloc_consolidate in our software, and have been working on this issue for a few weeks now. We are using memscape, as well as other tools, in order to help diagnose the issue.
When I run our application through Memscape, I pause, and check for corrupted blocks every hour or so. However, when we finally did see the corruption, it has confused us.
Our Pre-Guard block is 8 bytes, filled with 0x77777777.
Our Post-Guard block is 8 bytes, filled with 0x99999999.
This is our preceeding block, which appears to be de-allocated:
http://img517.imageshack.us/img517/9162/preceedingblock.png
Our Corrupted Block is:
http://img4.imageshack.us/img4/1401/corruptedblock.png
It appears that our Pre-Guard block has been corrupted by the preeceeding block, which has been de-allocated, including our first 4 byes of our pre-guard.
Are we misinterepting these results? Or can anyone shed some light on what else we can be looking for? With this crash, we are getting crashes at random times, with 4 or 5 similar back traces.
When I run our application through Memscape, I pause, and check for corrupted blocks every hour or so. However, when we finally did see the corruption, it has confused us.
Our Pre-Guard block is 8 bytes, filled with 0x77777777.
Our Post-Guard block is 8 bytes, filled with 0x99999999.
This is our preceeding block, which appears to be de-allocated:
http://img517.imageshack.us/img517/9162/preceedingblock.png
Our Corrupted Block is:
http://img4.imageshack.us/img4/1401/corruptedblock.png
It appears that our Pre-Guard block has been corrupted by the preeceeding block, which has been de-allocated, including our first 4 byes of our pre-guard.
Are we misinterepting these results? Or can anyone shed some light on what else we can be looking for? With this crash, we are getting crashes at random times, with 4 or 5 similar back traces.