Re: [Valgrind-users] Hard to interpret the race

2012-03-13 Thread Bart Van Assche
On 03/13/12 14:47, Panagiotis Foteinos wrote: > Hello grinders. > > So, I find it difficult to see the race. Below, the valgrind DRD output > follows: > > ** > Conflicting load by thread 1 at 0x1221c91c size 4 > ==4907==at 0x5B7028: P

Re: [Valgrind-users] Hard to interpret the race

2012-03-13 Thread WAROQUIERS Philippe
> The variable "thread_id" in Thread 9 is local to its stack. > It has nothing to do with either "v->thread_id" or > "thread_id" of Thread 1. > Is this a false positive, or the drd message says something else? Can't too much comment about the above, but you could compare with the helgrind outp

Re: [Valgrind-users] Hard to interpret the race

2012-03-13 Thread Panagiotis Foteinos
Thank you for the reply. No, helgrind does not confirm it. I guess there is nothing wrong at these lines. Regards, Panagiotis On Tue, Mar 13, 2012 at 11:06 AM, WAROQUIERS Philippe wrote: > >> The variable "thread_id" in Thread 9 is local to its stack. >> It has nothing to do with either "v->th

[Valgrind-users] Hard to interpret the race

2012-03-13 Thread Panagiotis Foteinos
Hello grinders. So, I find it difficult to see the race. Below, the valgrind DRD output follows: ** Conflicting load by thread 1 at 0x1221c91c size 4 ==4907==at 0x5B7028: Parallel_Mesh_Generation::try_lock(Vertex*, int) (Parallel_Mes