5 <protocolversion>4</protocolversion>
6 <protocoltool>helgrind
</protocoltool>
9 <line>Helgrind, a thread error detector
</line>
10 <line>Copyright (C) XXXX-YYYY, and GNU GPL'd, by OpenWorks LLP et al.
</line>
11 <line>Using Valgrind-X.Y.X and LibVEX; rerun with -h for copyright info
</line>
12 <line>Command: ./tc06_two_races
</line>
22 <arg>--command-line-only=yes
</arg>
23 <arg>--memcheck:leak-check=no
</arg>
24 <arg>--tool=helgrind
</arg>
25 <arg>--read-var-info=yes
</arg>
28 <arg>--log-file=/dev/null
</arg>
36 <state>RUNNING
</state>
41 <hthreadid>1</hthreadid>
42 <isrootthread></isrootthread>
46 <hthreadid>2</hthreadid>
52 <fn>pthread_create
</fn>
54 <file>hg_intercepts.c
</file>
62 <file>tc06_two_races.c
</file>
73 <text>Possible data race during read of size
4 at
0x........ by thread #x
</text>
74 <hthreadid>1</hthreadid>
82 <file>tc06_two_races.c
</file>
87 <text>This conflicts with a previous write of size
4 by thread #x
</text>
88 <hthreadid>2</hthreadid>
96 <file>tc06_two_races.c
</file>
102 <fn>mythread_wrapper
</fn>
104 <file>hg_intercepts.c
</file>
109 <auxwhat>Location
0x........ is
0 bytes inside global var
"unprot1"</auxwhat>
110 <xauxwhat><text>declared at tc06_two_races.c:
9</text> <file>tc06_two_races.c
</file> <line>9</line> </xauxwhat>
118 <text>Possible data race during write of size
4 at
0x........ by thread #x
</text>
119 <hthreadid>1</hthreadid>
127 <file>tc06_two_races.c
</file>
132 <text>This conflicts with a previous write of size
4 by thread #x
</text>
133 <hthreadid>2</hthreadid>
141 <file>tc06_two_races.c
</file>
147 <fn>mythread_wrapper
</fn>
149 <file>hg_intercepts.c
</file>
154 <auxwhat>Location
0x........ is
0 bytes inside global var
"unprot1"</auxwhat>
155 <xauxwhat><text>declared at tc06_two_races.c:
9</text> <file>tc06_two_races.c
</file> <line>9</line> </xauxwhat>
163 <text>Possible data race during read of size
4 at
0x........ by thread #x
</text>
164 <hthreadid>1</hthreadid>
172 <file>tc06_two_races.c
</file>
177 <text>This conflicts with a previous write of size
4 by thread #x
</text>
178 <hthreadid>2</hthreadid>
186 <file>tc06_two_races.c
</file>
192 <fn>mythread_wrapper
</fn>
194 <file>hg_intercepts.c
</file>
199 <auxwhat>Location
0x........ is
0 bytes inside global var
"unprot2"</auxwhat>
200 <xauxwhat><text>declared at tc06_two_races.c:
9</text> <file>tc06_two_races.c
</file> <line>9</line> </xauxwhat>
208 <text>Possible data race during write of size
4 at
0x........ by thread #x
</text>
209 <hthreadid>1</hthreadid>
217 <file>tc06_two_races.c
</file>
222 <text>This conflicts with a previous write of size
4 by thread #x
</text>
223 <hthreadid>2</hthreadid>
231 <file>tc06_two_races.c
</file>
237 <fn>mythread_wrapper
</fn>
239 <file>hg_intercepts.c
</file>
244 <auxwhat>Location
0x........ is
0 bytes inside global var
"unprot2"</auxwhat>
245 <xauxwhat><text>declared at tc06_two_races.c:
9</text> <file>tc06_two_races.c
</file> <line>9</line> </xauxwhat>
250 <state>FINISHED
</state>
254 <errorcounts>...
</errorcounts>
256 <suppcounts>...
</suppcounts>