Home | History | Annotate | Download | only in tests
      1 
      2 ---Thread-Announcement------------------------------------------
      3 
      4 Thread #x is the program's root thread
      5 
      6 ---Thread-Announcement------------------------------------------
      7 
      8 Thread #x was created
      9    ...
     10    by 0x........: pthread_create@* (hg_intercepts.c:...)
     11    by 0x........: main (tc01_simple_race.c:22)
     12 
     13 ----------------------------------------------------------------
     14 
     15 Possible data race during read of size 4 at 0x........ by thread #x
     16 Locks held: none
     17    at 0x........: main (tc01_simple_race.c:28)
     18 
     19 This conflicts with a previous write of size 4 by thread #x
     20 Locks held: none
     21    at 0x........: child_fn (tc01_simple_race.c:14)
     22    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     23    ...
     24  Location 0x........ is 0 bytes inside global var "x"
     25  declared at tc01_simple_race.c:9
     26 
     27 ----------------------------------------------------------------
     28 
     29 Possible data race during write of size 4 at 0x........ by thread #x
     30 Locks held: none
     31    at 0x........: main (tc01_simple_race.c:28)
     32 
     33 This conflicts with a previous write of size 4 by thread #x
     34 Locks held: none
     35    at 0x........: child_fn (tc01_simple_race.c:14)
     36    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     37    ...
     38  Location 0x........ is 0 bytes inside global var "x"
     39  declared at tc01_simple_race.c:9
     40 
     41 
     42 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
     43