blob: 285efeba23c78ef90d45e2fc26b59769839a7099 [file] [log] [blame]
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg05_race2.c:27)
Thread #3 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg05_race2.c:29)
Possible data race during write of size 4 at 0x........
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: ...
by 0x........: ...
Old state: shared-readonly by threads #2, #3
New state: shared-modified by threads #2, #3
Reason: this thread, #3, holds no consistent locks
Location 0x........ has never been protected by any lock
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)