On Tue, Jun 8, 2010 at 4:06 AM, Jorge Moraleda <jorge.moral...@gmail.com> wrote:
> [ ... ]
> I recompiled boost from source using:
> bjam variant=debug define=BOOST_LOG_USE_CHAR install
>
> and all the above warnings are gone. When I run the program, half of
> the time I get a clean output, the other 10% of the time I get the
> following:
>
> ==14837== drd, a thread error detector
> ==14837== Copyright (C) 2006-2010, and GNU GPL'd, by Bart Van Assche.
> ==14837== Using Valgrind-3.6.0.SVN and LibVEX; rerun with -h for copyright 
> info
> ==14837== Command: ./a.out
> ==14837==
> ==14837== Thread 3:
> ==14837== Conflicting load by thread 3 at 0x05d8a288 size 8
> ==14837==    at 0x5B78ECE: __nptl_deallocate_tsd (pthread_create.c:153)
> [ ... ]

I had a look at the implementation in glibc of the function
__nptl_deallocate_tsd(). The function itself looks fine. So this kind
of race report is probably caused by reuse of the memory for
thread-local storage from a terminated thread by a newly created
thread. I have added a suppression pattern for the above report.

Bart.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to