sewardj | b411202 | 2007-11-09 22:49:28 +0000 | [diff] [blame^] | 1 | |
| 2 | Thread #1 is the program's root thread |
| 3 | |
| 4 | Thread #2 was created |
| 5 | at 0x........: clone (in /...libc...) |
| 6 | by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...) |
| 7 | by 0x........: pthread_create@* (hg_intercepts.c:...) |
| 8 | by 0x........: main (tc06_two_races.c:26) |
| 9 | |
| 10 | Possible data race during write of size 4 at 0x........ |
| 11 | at 0x........: main (tc06_two_races.c:31) |
| 12 | Old state: shared-readonly by threads #1, #2 |
| 13 | New state: shared-modified by threads #1, #2 |
| 14 | Reason: this thread, #1, holds no consistent locks |
| 15 | Location 0x........ has never been protected by any lock |
| 16 | |
| 17 | Possible data race during write of size 4 at 0x........ |
| 18 | at 0x........: main (tc06_two_races.c:35) |
| 19 | Old state: shared-readonly by threads #1, #2 |
| 20 | New state: shared-modified by threads #1, #2 |
| 21 | Reason: this thread, #1, holds no consistent locks |
| 22 | Location 0x........ has never been protected by any lock |
| 23 | |
| 24 | ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) |