[Qt-interest] QMutex deadlock without using QMutex

Gabriel M. Beddingfield gabrbedd at gmail.com
Wed Apr 28 16:44:00 CEST 2010



On Wed, 28 Apr 2010, K. Frank wrote:

> My question is what are good debugging tools to get this kind of information?
> Obviously this is platform dependent, but for the sake of argument, what tools
> are available (and how best do you use them) on linux / gcc and/or windows / vs
> and/or windows / mingw?

gdb will give you a backtrace of all your threads... even 
from a core dump.

    thread apply all bt

That's what I usually use.  It helps if you have debugging 
symbols *and* source code for your libs. Most of my 
experience is doing this in Linux.

-gabriel




More information about the Qt-interest-old mailing list