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