[Qt-interest] qmutex unlock - application waits?
william.crocker at analog.com
william.crocker at analog.com
Thu May 27 22:27:16 CEST 2010
caius ligarius wrote:
> Hi,
>
> Apologies for posting this for the second time, I still haven't found an
> solution to this issue
>
> I see something strange happening in my application. When I try to
> select QComboBox item in my UI it just waits or freezes for a few
> seconds and doesn't let me do anything. After pausing the code in
> run-time I noticed that the app is getting stuck in void
> QMutex::unlock() function.
>
Run in the debugger.
When it freezes, quickly interrupt.
Examine all threads and see if any are waiting for a mutex.
If so, see if any are hold that mutex.
Or, just in general see what the program is doing.
Is the CPU meter pegged during the freeze, etc.
Bill
> I have attached a stripped down version of my UI code (which is
> compilable) along with .ui file for reference.
> (I have also attached solution file from VS2008 which I am using just in
> case)
>
> To reproduce this problem randomly keep selecting items from the
> combo-box (top right side) and eventually it will get stuck for a few
> seconds in the QMutex::unlock() function.
>
> Thanks in advance,
> Caius
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list