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_WRK</fn>
54 <file>hg_intercepts.c</file>
60 <fn>pthread_create</fn>
62 <file>hg_intercepts.c</file>
70 <file>tc06_two_races.c</file>
81 <text>Possible data race during read of size 4 at 0x........ by thread #x</text>
82 <hthreadid>1</hthreadid>
90 <file>tc06_two_races.c</file>
95 <text>This conflicts with a previous write of size 4 by thread #x</text>
96 <hthreadid>2</hthreadid>
104 <file>tc06_two_races.c</file>
110 <fn>mythread_wrapper</fn>
112 <file>hg_intercepts.c</file>
117 <auxwhat>Location 0x........ is 0 bytes inside global var "unprot1"</auxwhat>
118 <xauxwhat><text>declared at tc06_two_races.c:9</text> <file>tc06_two_races.c</file> <line>9</line> </xauxwhat>
126 <text>Possible data race during write of size 4 at 0x........ by thread #x</text>
127 <hthreadid>1</hthreadid>
135 <file>tc06_two_races.c</file>
140 <text>This conflicts with a previous write of size 4 by thread #x</text>
141 <hthreadid>2</hthreadid>
149 <file>tc06_two_races.c</file>
155 <fn>mythread_wrapper</fn>
157 <file>hg_intercepts.c</file>
162 <auxwhat>Location 0x........ is 0 bytes inside global var "unprot1"</auxwhat>
163 <xauxwhat><text>declared at tc06_two_races.c:9</text> <file>tc06_two_races.c</file> <line>9</line> </xauxwhat>
171 <text>Possible data race during read of size 4 at 0x........ by thread #x</text>
172 <hthreadid>1</hthreadid>
180 <file>tc06_two_races.c</file>
185 <text>This conflicts with a previous write of size 4 by thread #x</text>
186 <hthreadid>2</hthreadid>
194 <file>tc06_two_races.c</file>
200 <fn>mythread_wrapper</fn>
202 <file>hg_intercepts.c</file>
207 <auxwhat>Location 0x........ is 0 bytes inside global var "unprot2"</auxwhat>
208 <xauxwhat><text>declared at tc06_two_races.c:9</text> <file>tc06_two_races.c</file> <line>9</line> </xauxwhat>
216 <text>Possible data race during write of size 4 at 0x........ by thread #x</text>
217 <hthreadid>1</hthreadid>
225 <file>tc06_two_races.c</file>
230 <text>This conflicts with a previous write of size 4 by thread #x</text>
231 <hthreadid>2</hthreadid>
239 <file>tc06_two_races.c</file>
245 <fn>mythread_wrapper</fn>
247 <file>hg_intercepts.c</file>
252 <auxwhat>Location 0x........ is 0 bytes inside global var "unprot2"</auxwhat>
253 <xauxwhat><text>declared at tc06_two_races.c:9</text> <file>tc06_two_races.c</file> <line>9</line> </xauxwhat>
258 <state>FINISHED</state>
262 <errorcounts>...</errorcounts>
264 <suppcounts>...</suppcounts>