android_mt6572_jiabo/external/valgrind/helgrind/tests/hg02_deadlock.stderr.exp
2025-09-05 16:56:03 +08:00

57 lines
2 KiB
Text

---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)