1
2---Thread-Announcement------------------------------------------
3
4Thread #x was created
5   ...
6   by 0x........: pthread_create@* (hg_intercepts.c:...)
7   by 0x........: main (hg02_deadlock.c:36)
8
9----------------------------------------------------------------
10
11Thread #x: lock order "0x........ before 0x........" violated
12
13Observed (incorrect) order is: acquisition of lock at 0x........
14   at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
15   by 0x........: t2 (hg02_deadlock.c:19)
16   by 0x........: mythread_wrapper (hg_intercepts.c:...)
17   ...
18
19 followed by a later acquisition of lock at 0x........
20   at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
21   by 0x........: t2 (hg02_deadlock.c:20)
22   by 0x........: mythread_wrapper (hg_intercepts.c:...)
23   ...
24
25Required order was established by acquisition of lock at 0x........
26   at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
27   by 0x........: t1 (hg02_deadlock.c:9)
28   by 0x........: mythread_wrapper (hg_intercepts.c:...)
29   ...
30
31 followed by a later acquisition of lock at 0x........
32   at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
33   by 0x........: t1 (hg02_deadlock.c:10)
34   by 0x........: mythread_wrapper (hg_intercepts.c:...)
35   ...
36
37
38ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
39