History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-21768
Type: Performance Problem Performance Problem
Status: Open Open
Priority: Major Major
Assignee: Dmitry Jemerov
Reporter: Nathan Brown
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

CVS Operations done on Swing thread - causes UI freeze for minutes when DNS server is timing out

Created: 26 Sep 07 13:54   Updated: 05 Oct 07 13:06
Component/s: Version Control Integration. CVS
Fix Version/s: Diana Final

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Duplicate
 
This issue is duplicated by:
IDEA-15480 Login phase of CVS operations freezes... Resolved

Build: 7,294
Severity: High


 Description  « Hide
Sometimes my ISP's DNS server doesn't behave and requests are just left to time out. This takes at least 5 minutes.
When this happens during cvs operations the UI is frozen because some cvs operations are still being done on swing thread.

I just got this, but can't attach a detailed stack dump as the problem also caused my whole pc to ultimately freeze up too for some reason, but I did note down the following approximate stack trace by hand that shows the important part:

<resolving host name calls here>
...
AddFilesOperation.login() (AddFilesOperation:27)
CommandCVSHandler.login() (CommandCVSHandler:72)
CVSOperationExecutor$4.run() (CVSOperationExecutor:176)
LaterInvocator$1.run() (LaterInvocator:1)
LaterInvocator.? (LaterInvocator:21)
java.awt.InvocationEvent.dispatch()
EventQueue.dispatchEvent()
IdeEventQueue.c() (IdeEventQueue:180)

Please fix this as it is an ongoing pain for us remote workers.



 All   Comments   Work Log   Change History      Sort Order:
Nathan Brown - 26 Sep 07 14:03
Please note that the cvs add in this case was triggered by a class rename....

Dmitry Jemerov - 28 Sep 07 20:00
This is indeed a problem, but unfortunately fixing this would require code changes that are too extensive for this point of the release cycle.