mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-22 15:26:30 +00:00
58 lines
2.0 KiB
Plaintext
58 lines
2.0 KiB
Plaintext
|
|
---Thread-Announcement------------------------------------------
|
|
|
|
Thread #x was created
|
|
...
|
|
by 0x........: pthread_create@* (hg_intercepts.c:...)
|
|
by 0x........: main (hg02_deadlock.c:36)
|
|
|
|
----------------------------------------------------------------
|
|
|
|
Thread #x: lock order "0x........ before 0x........" violated
|
|
|
|
Observed (incorrect) order is: acquisition of lock at 0x........
|
|
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
|
|
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
|
|
by 0x........: t2 (hg02_deadlock.c:19)
|
|
by 0x........: mythread_wrapper (hg_intercepts.c:...)
|
|
...
|
|
|
|
followed by a later acquisition of lock at 0x........
|
|
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
|
|
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
|
|
by 0x........: t2 (hg02_deadlock.c:20)
|
|
by 0x........: mythread_wrapper (hg_intercepts.c:...)
|
|
...
|
|
|
|
Required order was established by acquisition of lock at 0x........
|
|
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
|
|
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
|
|
by 0x........: t1 (hg02_deadlock.c:9)
|
|
by 0x........: mythread_wrapper (hg_intercepts.c:...)
|
|
...
|
|
|
|
followed by a later acquisition of lock at 0x........
|
|
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
|
|
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
|
|
by 0x........: t1 (hg02_deadlock.c:10)
|
|
by 0x........: mythread_wrapper (hg_intercepts.c:...)
|
|
...
|
|
|
|
Lock at 0x........ was first observed
|
|
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
|
|
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
|
|
by 0x........: main (hg02_deadlock.c:32)
|
|
Address 0x........ is 0 bytes inside data symbol "m1"
|
|
|
|
Lock at 0x........ was first observed
|
|
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
|
|
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
|
|
by 0x........: t1 (hg02_deadlock.c:10)
|
|
by 0x........: mythread_wrapper (hg_intercepts.c:...)
|
|
...
|
|
Address 0x........ is 0 bytes inside data symbol "m2"
|
|
|
|
|
|
|
|
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
|