Re: GUI app freezing completely
- From: Leonard Milcin <leonard@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Apr 2008 22:35:03 +0200
Karsten Wutzke wrote:
Hello all!
I have an application running where the user can set some look and
feels. On a few, when doing a click on a certain menu item the whole
app freezes completely.
The command behind that menu is executed fully (I debugged it), but
after it returns back into the calling code from the event dispatcher,
the window *freezes completely*. It must have something to do with the
look and feels, some simpler ones don't show the described behavior.
When issuing that command, I can only hear my hard disk doing
something shortly, then everything is frozen. I can't even close the
frame anymore. Repainting is gone.
Does anyone know how to debug something like that?
There are too many reasons for the application to hang to list them.
You can try using debugger or SIGQUIT to get thread dumps to get some
idea on what's hung and where it's spending time.
You can try to isolate the problem by removing more and more code. It
may make it simpler to find the cause of the problem.
Best regards,
Leonard Milcin
--
Simplicity is the ultimate sophistication.
-- Leonardo da Vinci
.
- References:
- GUI app freezing completely
- From: Karsten Wutzke
- GUI app freezing completely
- Prev by Date: Re: Synchronous write to same file using different file pointers
- Next by Date: Inconsistent CPU usage
- Previous by thread: GUI app freezing completely
- Next by thread: Re: GUI app freezing completely
- Index(es):
Relevant Pages
|