On Thu, Aug 6, 2009 at 1:09 AM, Dan Kegel<[email protected]> wrote:
> On Wed, Aug 5, 2009 at 7:14 AM, Tom Hughes<[email protected]> wrote:
>>> (How can you have an invalid address in the middle of a big block?)
>>
>> It's perfectly possible if you've done VALGRIND_MAKE_MEM_NOACCESS() on that
>> piece of memory. Most commonly that would be because that big piece of
>> memory is really food for some sort of allocator that is marking it all as
>> NOACCESS until it hands out particular pieces.
>
> This is a bitmapped frame buffer, so the app probably didn't do that.
> I'm having heap corruption problems (sorry, I should have mentioned
> that), so that's still my favorite explanation.

It could also happen if you munmap'd the middle of a heap block, but
that seems unlikely (not to mention a terrible idea as it would likely
crash the allocator).

N

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to