2 ---Thread-Announcement------------------------------------------
6 by 0x........: pthread_create@* (hg_intercepts.c:...)
7 by 0x........: main (hg02_deadlock.c:36)
9 ----------------------------------------------------------------
11 Thread #x: lock order "0x........ before 0x........" violated
13 Observed (incorrect) order is: acquisition of lock at 0x........
14 at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
15 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
16 by 0x........: t2 (hg02_deadlock.c:19)
17 by 0x........: mythread_wrapper (hg_intercepts.c:...)
20 followed by a later acquisition of lock at 0x........
21 at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
22 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
23 by 0x........: t2 (hg02_deadlock.c:20)
24 by 0x........: mythread_wrapper (hg_intercepts.c:...)
27 Required order was established by acquisition of lock at 0x........
28 at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
29 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
30 by 0x........: t1 (hg02_deadlock.c:9)
31 by 0x........: mythread_wrapper (hg_intercepts.c:...)
34 followed by a later acquisition of lock at 0x........
35 at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
36 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
37 by 0x........: t1 (hg02_deadlock.c:10)
38 by 0x........: mythread_wrapper (hg_intercepts.c:...)
41 Lock at 0x........ was first observed
42 at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
43 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
44 by 0x........: main (hg02_deadlock.c:32)
45 Address 0x........ is 0 bytes inside data symbol "m1"
47 Lock at 0x........ was first observed
48 at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
49 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
50 by 0x........: t1 (hg02_deadlock.c:10)
51 by 0x........: mythread_wrapper (hg_intercepts.c:...)
53 Address 0x........ is 0 bytes inside data symbol "m2"
57 ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)