FYI: http://etbe.coker.com.au/2009/06/22/valgrindhelgrind-and-stl-string/
There's also a link to a related bug on gcc.gnu.org there: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40518 In short, some of the reports may be connected to accessing the shared _Rep object when working with empty strings. On Thu, Jul 30, 2009 at 3:54 PM, Pavel Shevaev<[email protected]> wrote: > Sorry folks, I'm replying to myself. Here are the suppressions I > created in order to avoid datarace error messages because they made it > almost impossible to discover actual dataraces in my application which > caused seg.faults: > > { > helgrind std::string 1 > Helgrind:Race > fun:_ZNSs4_*_M_set_*sharable* > } > > { > helgrind std::string 2 > Helgrind:Race > fun:_ZNKSs4_Rep12_M_is_leakedEv* > } > > { > helgrind std::string 3 > Helgrind:Race > fun:_ZNKSs4sizeEv* > } > > { > helgrind std::string 4 > Helgrind:Race > fun:_ZNSs4_Rep8_M_cloneERKSaIcEj* > } > > { > helgrind std::string 5 > Helgrind:Race > fun:_ZNKSs4_Rep12_M_is_sharedEv* > } > > -- > 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 > -- WBR, Alexander Potapenko Software Engineer Google Moscow ------------------------------------------------------------------------------ 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
