[LAD] Finding Deadlock causes in multithreaded C++ using gdb

Harry Van Haaren harryhaaren at gmail.com
Sun Feb 20 21:12:32 UTC 2011


Hey guys,

I'm working on a mulithreaded version of my pet project, and I've now
managed to deadlock one thread,
which in turn makes the GUI thread wait for a mutex lock, and then finally
segfaults the whole program :-)

So I'm looking for pointers on how best to find a deadlock's cause using
gdb?

Other advice / good articles on the topic etc welcome!
Thanks for reading, -Harry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20110220/d426a595/attachment.html>


More information about the Linux-audio-dev mailing list