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_WRK (hg_intercepts.c:...)
     11    by 0x........: pthread_create@* (hg_intercepts.c:...)
     12    by 0x........: main (tc01_simple_race.c:22)
     13 
     14 ----------------------------------------------------------------
     15 
     16 Possible data race during read of size 4 at 0x........ by thread #x
     17 Locks held: none
     18    at 0x........: main (tc01_simple_race.c:28)
     19 
     20 This conflicts with a previous write of size 4 by thread #x
     21 Locks held: none
     22    at 0x........: child_fn (tc01_simple_race.c:14)
     23    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     24    ...
     25 
     26 Location 0x........ is 0 bytes inside global var "x"
     27 declared at tc01_simple_race.c:9
     28 
     29 ----------------------------------------------------------------
     30 
     31 Possible data race during write of size 4 at 0x........ by thread #x
     32 Locks held: none
     33    at 0x........: main (tc01_simple_race.c:28)
     34 
     35 This conflicts with a previous write of size 4 by thread #x
     36 Locks held: none
     37    at 0x........: child_fn (tc01_simple_race.c:14)
     38    by 0x........: mythread_wrapper (hg_intercepts.c:...)
     39    ...
     40 
     41 Location 0x........ is 0 bytes inside global var "x"
     42 declared at tc01_simple_race.c:9
     43 
     44 
     45 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
     46