> 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 using ?

I'm using gcc-4.3.3-5ubuntu4 with libstdc++6(v3)

> The
> std::string implementation in libstdc++ uses reference counting (via
> the atomic variable _M_refcount). There might be a data race in the
> reference counting implementation in libstdc++.

Ooops :(

-- 
Best regards, Pavel

------------------------------------------------------------------------------
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