Re: [Valgrind-users] Code Coverage with Valgrind

2009-07-29 Thread He fei
Thanks. Regarding exp-vcov, I've checkout the lastest code with rev:10644. It still abort saying “no such line” during bootstrap. I'll take a look. Regarding Covergrind, it seems to work fine with detection of the if-else branch (below). Input 3 is given at prompt. Note that line 14 is not taken i

Re: [Valgrind-users] Strange helgrind dataraces reports involving std::string

2009-07-29 Thread Pavel Shevaev
> Can you post a small standalone program that allows to reproduce this > behavior ? I'm afraid it can not be easily done :( I'm inspecting a large application with helgrind and this piece of code with a posible datarace is quite hard to extract. >And which gcc and libstdc++ versions are you usin

Re: [Valgrind-users] Strange helgrind dataraces reports involving std::string

2009-07-29 Thread Bart Van Assche
On Wed, Jul 29, 2009 at 12:15 PM, Pavel Shevaev wrote: > Folks, helgrind reports possible dataraces for std::string instances > which, I believe, are not dataraces. > > For example, I have the following lines in the log: > > ==21259== Possible data race during read of size 4 at 0x5ac5ef0 by thread

[Valgrind-users] Strange helgrind dataraces reports involving std::string

2009-07-29 Thread Pavel Shevaev
Folks, helgrind reports possible dataraces for std::string instances which, I believe, are not dataraces. For example, I have the following lines in the log: ==21259== Possible data race during read of size 4 at 0x5ac5ef0 by thread #6 ==21259==at 0x5A70662: std::string::_Rep::_M_is_leaked() c