blob: ad7914478f977a849fd9438e7a9b24dcfce706f5 [file] [log] [blame]
sewardj2d7cdb22008-12-23 11:07:59 +00001
sewardj9af8d1e2011-06-24 10:50:11 +00002---Thread-Announcement------------------------------------------
3
sewardj2d7cdb22008-12-23 11:07:59 +00004Thread #x is the program's root thread
5
sewardj9af8d1e2011-06-24 10:50:11 +00006---Thread-Announcement------------------------------------------
7
sewardj2d7cdb22008-12-23 11:07:59 +00008Thread #x was created
njn553c42f2009-03-13 01:41:03 +00009 ...
sewardj2d7cdb22008-12-23 11:07:59 +000010 by 0x........: pthread_create@* (hg_intercepts.c:...)
11 by 0x........: main (tc01_simple_race.c:22)
12
sewardj9af8d1e2011-06-24 10:50:11 +000013----------------------------------------------------------------
14
sewardj2d7cdb22008-12-23 11:07:59 +000015Possible data race during read of size 4 at 0x........ by thread #x
sewardj9af8d1e2011-06-24 10:50:11 +000016Locks held: none
sewardj2d7cdb22008-12-23 11:07:59 +000017 at 0x........: main (tc01_simple_race.c:28)
sewardj9af8d1e2011-06-24 10:50:11 +000018
19This conflicts with a previous write of size 4 by thread #x
20Locks held: none
sewardj2d7cdb22008-12-23 11:07:59 +000021 at 0x........: child_fn (tc01_simple_race.c:14)
22 by 0x........: mythread_wrapper (hg_intercepts.c:...)
njn553c42f2009-03-13 01:41:03 +000023 ...
philippe07c08522014-05-14 20:39:27 +000024 Location 0x........ is 0 bytes inside global var "x"
25 declared at tc01_simple_race.c:9
sewardj9af8d1e2011-06-24 10:50:11 +000026
27----------------------------------------------------------------
sewardj2d7cdb22008-12-23 11:07:59 +000028
29Possible data race during write of size 4 at 0x........ by thread #x
sewardj9af8d1e2011-06-24 10:50:11 +000030Locks held: none
sewardj2d7cdb22008-12-23 11:07:59 +000031 at 0x........: main (tc01_simple_race.c:28)
sewardj9af8d1e2011-06-24 10:50:11 +000032
33This conflicts with a previous write of size 4 by thread #x
34Locks held: none
sewardj2d7cdb22008-12-23 11:07:59 +000035 at 0x........: child_fn (tc01_simple_race.c:14)
36 by 0x........: mythread_wrapper (hg_intercepts.c:...)
njn553c42f2009-03-13 01:41:03 +000037 ...
philippe07c08522014-05-14 20:39:27 +000038 Location 0x........ is 0 bytes inside global var "x"
39 declared at tc01_simple_race.c:9
sewardj2d7cdb22008-12-23 11:07:59 +000040
njncab64bc2009-08-12 00:14:44 +000041
sewardj2d7cdb22008-12-23 11:07:59 +000042ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)