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