Re: [Valgrind-users] Can we know more about condition variable being destroyed?

2012-12-18 Thread ISHIKAWA,chiaki
(2012/12/18 8:07), Philippe Waroquiers wrote: Destruction of unknown cond var is probably/maybe bug https://bugs.kde.org/show_bug.cgi?id=307082 I have produced a patch to take care of the issue. But before that, I have a question. Q1: Why does valgrind not complain if I compile link Marc's

Re: [Valgrind-users] Can we know more about condition variable being destroyed?

2012-12-18 Thread John Reiser
cc -o /tmp/a.out marc.c (Note that there is no -lpthread parameter) and then run valgrind --tool=helgrind /tmp/a.out There is no warning or error at all. (under linux, that is). I wonder WHICH library is used for pthread_cond_init() and friends. The utility

Re: [Valgrind-users] Can we know more about condition variable being destroyed?

2012-12-18 Thread Philippe Waroquiers
On Tue, 2012-12-18 at 21:00 +0900, ISHIKAWA,chiaki wrote: (2012/12/18 8:07), Philippe Waroquiers wrote: Destruction of unknown cond var is probably/maybe bug https://bugs.kde.org/show_bug.cgi?id=307082 I have produced a patch to take care of the issue. But before that, I have a question.