mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-19 05:46:11 +00:00
50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
|
|
---Thread-Announcement------------------------------------------
|
|
|
|
Thread #x was created
|
|
...
|
|
by 0x........: pthread_create@* (hg_intercepts.c:...)
|
|
by 0x........: main (tc21_pthonce.c:87)
|
|
|
|
---Thread-Announcement------------------------------------------
|
|
|
|
Thread #x was created
|
|
...
|
|
by 0x........: pthread_create@* (hg_intercepts.c:...)
|
|
by 0x........: main (tc21_pthonce.c:87)
|
|
|
|
----------------------------------------------------------------
|
|
|
|
Possible data race during read of size 4 at 0x........ by thread #x
|
|
Locks held: none
|
|
at 0x........: child (tc21_pthonce.c:74)
|
|
by 0x........: mythread_wrapper (hg_intercepts.c:...)
|
|
...
|
|
|
|
This conflicts with a previous write of size 4 by thread #x
|
|
Locks held: none
|
|
at 0x........: child (tc21_pthonce.c:74)
|
|
by 0x........: mythread_wrapper (hg_intercepts.c:...)
|
|
...
|
|
Location 0x........ is 0 bytes inside global var "unprotected2"
|
|
declared at tc21_pthonce.c:51
|
|
|
|
----------------------------------------------------------------
|
|
|
|
Possible data race during write of size 4 at 0x........ by thread #x
|
|
Locks held: none
|
|
at 0x........: child (tc21_pthonce.c:74)
|
|
by 0x........: mythread_wrapper (hg_intercepts.c:...)
|
|
...
|
|
|
|
This conflicts with a previous write of size 4 by thread #x
|
|
Locks held: none
|
|
at 0x........: child (tc21_pthonce.c:74)
|
|
by 0x........: mythread_wrapper (hg_intercepts.c:...)
|
|
...
|
|
Location 0x........ is 0 bytes inside global var "unprotected2"
|
|
declared at tc21_pthonce.c:51
|
|
|
|
|
|
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
|