1
2
3initialise a barrier with zero count
4pthread_barrier_init: 'count' argument is zero: barrier 0x........
5   at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
6   by 0x........: main (bar_bad.c:?)
7
8
9initialise a barrier twice
10Barrier reinitialization: barrier 0x........
11   at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
12   by 0x........: main (bar_bad.c:?)
13barrier 0x........ was first observed at:
14   at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
15   by 0x........: main (bar_bad.c:?)
16
17
18initialise a barrier which has threads waiting on it
19Barrier reinitialization: barrier 0x........
20   at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
21   by 0x........: main (bar_bad.c:?)
22barrier 0x........ was first observed at:
23   at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
24   by 0x........: main (bar_bad.c:?)
25
26
27destroy a barrier that has waiting threads
28Destruction of a barrier with active waiters: barrier 0x........
29   at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
30   by 0x........: main (bar_bad.c:?)
31barrier 0x........ was first observed at:
32   at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
33   by 0x........: main (bar_bad.c:?)
34
35
36destroy a barrier that was never initialised
37Not a barrier
38   at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
39   by 0x........: main (bar_bad.c:?)
40
41
42ERROR SUMMARY: 6 errors from 5 contexts (suppressed: 0 from 0)
43