My current application ALMOST works. I seem to get random crashes. The application just dies. Sometimes after a few seconds, sometimes after 30 minutes. I have no clue why.

I use Ubuntu 11.10 and qt-creator but I have no idea on how to debug this problem.

Can anyone help me with detailed debug instructions? I guess my first option is to get a core dump?
Perhaps this is something for the wiki? I will try to update this page http://www.qtcentre.org/wiki/index.php?title=Debuging with advices and help written here.