2 Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
3 at 0x........: free (vg_replace_malloc.c:...)
4 by 0x........: main (tc04_free_lock.c:24)
5 mutex 0x........ was first observed at:
6 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
7 by 0x........: main (tc04_free_lock.c:20)
9 Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
10 at 0x........: bar (tc04_free_lock.c:38)
11 by 0x........: main (tc04_free_lock.c:26)
12 mutex 0x........ was first observed at:
13 at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
14 by 0x........: bar (tc04_free_lock.c:38)
15 by 0x........: main (tc04_free_lock.c:26)
17 Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
18 at 0x........: foo (tc04_free_lock.c:47)
19 by 0x........: main (tc04_free_lock.c:27)
20 mutex 0x........ was first observed at:
21 at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
22 by 0x........: foo (tc04_free_lock.c:46)
23 by 0x........: main (tc04_free_lock.c:27)
25 Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
26 at 0x........: bar (tc04_free_lock.c:38)
27 by 0x........: main (tc04_free_lock.c:28)
28 mutex 0x........ was first observed at:
29 at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
30 by 0x........: bar (tc04_free_lock.c:38)
31 by 0x........: main (tc04_free_lock.c:28)
34 ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)