[Qt-interest] Debugger for Qt threaded applications
Miguel Cardenas
mfcardenas at gmail.com
Mon Oct 12 17:19:55 CEST 2009
Hi
Thanks for your message! I will get the tool... respect the thread it works
the following starts but crashes randomly, perhaps it tries to access
unexistent memory that is not cleared/reused in the moment but it changes
after some calls and then crashes finding the memory area different than
expected.
Am going to create a new object each time I call a new thread but should I
delete the thread object after it finishes or it "dies" or erases itself at
thread termination?
Thanks!
On Mon, Oct 12, 2009 at 9:45 AM, Andreas Pakulat <apaku at gmx.de> wrote:
>
> Valgrind's helgrind tool should be able to point you to common
> threading-problems in your app. However...
>
> This won't work AFAIK. You have to create a new thread-object each time you
> want to start it. Restarting an already-finished QThread like this won't
> work.
>
> Andreas
>
> --
> You will have long and healthy life.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
--
Miguel Cardenas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091012/5b399662/attachment.html
More information about the Qt-interest-old
mailing list