mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-10 17:36:21 +00:00
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
|
|
---Thread-Announcement------------------------------------------
|
|
|
|
Thread #x is the program's root thread
|
|
|
|
---Thread-Announcement------------------------------------------
|
|
|
|
Thread #x was created
|
|
...
|
|
by 0x........: pthread_create@* (hg_intercepts.c:...)
|
|
by 0x........: main (tc01_simple_race.c:22)
|
|
|
|
----------------------------------------------------------------
|
|
|
|
Possible data race during read of size 4 at 0x........ by thread #x
|
|
Locks held: none
|
|
at 0x........: main (tc01_simple_race.c:28)
|
|
|
|
This conflicts with a previous write of size 4 by thread #x
|
|
Locks held: none
|
|
at 0x........: child_fn (tc01_simple_race.c:14)
|
|
by 0x........: mythread_wrapper (hg_intercepts.c:...)
|
|
...
|
|
Location 0x........ is 0 bytes inside global var "x"
|
|
declared at tc01_simple_race.c:9
|
|
|
|
----------------------------------------------------------------
|
|
|
|
Possible data race during write of size 4 at 0x........ by thread #x
|
|
Locks held: none
|
|
at 0x........: main (tc01_simple_race.c:28)
|
|
|
|
This conflicts with a previous write of size 4 by thread #x
|
|
Locks held: none
|
|
at 0x........: child_fn (tc01_simple_race.c:14)
|
|
by 0x........: mythread_wrapper (hg_intercepts.c:...)
|
|
...
|
|
Location 0x........ is 0 bytes inside global var "x"
|
|
declared at tc01_simple_race.c:9
|
|
|
|
|
|
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
|