CVApp Forum@View topic - gdb: deadlock in mutex

gdb: deadlock in mutex

android, Linux, BSD, unix-like OS

gdb: deadlock in mutex

Postby thomas » 2015年 Dec 17日, 10:22

    1. When the program freezes, stop it using Ctrl-C
    2. Do a backtrace to see where we're deadlocked.
    3. Switch to the stack frame.
    4. Determine which thread currently holds the lock we're attempting to obtain by "print mutex"
    5. Switch to the owning thread.
    6. backtrace this thread again
Posts: 426
Joined: 2013年 May 4日, 09:52

Return to android/Linux/Unix

Who is online

Users browsing this forum: No registered users and 1 guest