On 06/06/12 07:56, Christoph Bartoschek wrote:

> Am 05.06.2012 20:12, schrieb Christoph Bartoschek:
>>>>
>>>> How can this happen?
>>>
>>>
>>> Was that output produced by Valgrind 3.7.0 ? If so, do you get the same
>>> output if you build Valgrind from the SVN trunk ?
>>
>>
>> Yes it was from 3.7.0. I start a run with SVN trunk. It takes about 20
>> hours.
> 
> The first errors show up and I see the same problem. A race is reported
> for memory that has just been allocated and is now filled.

It would help if you could have a look at the assembly code generated by
the compiler to see if the compiler really calls malloc at that point -
maybe some header file has redefined malloc such that it allocates
memory from a memory pool that has not been instrumented for Valgrind.
Also, which memory allocator are you using ? The one in glibc, tcmalloc
or even another one ?

Bart.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to