Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 1450] New - UI freeze caused by Subclipse

subclipse
Discussion topic

Back to topic list

[Issue 1450] New - UI freeze caused by Subclipse

Author mchr3k
Full name Martin Robertson
Date 2012-08-20 02:02:24 PDT
Message http://subclipse.tig​ris.org/issues/show_​bug.cgi?id=1450
                 Issue #|1450
                 Summary|UI freeze caused by Subclipse
               Component|subclipse
                 Version|1.8.x
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|UI
             Assigned to|issues@subclipse
             Reported by|mchr3k






------- Additional comments from mchr3k at tigris dot org Mon Aug 20 02:02:22 -0700 2012 -------
I was using my workspace that has ~10 Java projects. I had just pressed F5 with
one project selected. I made an edit to an open Java file in the same project,
pressed "Ctrl+S" to save the change and the UI ended up being locked up. The
attached stack trace shows the state which the threads were in. The main thread
was waiting on an object:

"main" prio=6 tid=0x004d7000 nid=0x24a0 in Object.wait() [0x0018e000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at org.eclipse.core.int​ernal.jobs.Semaphore​.acquire(Semaphore.j​ava:39)
    - locked <0x269a0808> (a org.eclipse.core.int​ernal.jobs.Semaphore​)
    at org.eclipse.core.int​ernal.jobs.OrderedLo​ck.doAcquire(Ordered​Lock.java:176)
    at org.eclipse.core.int​ernal.jobs.OrderedLo​ck.acquire(OrderedLo​ck.java:110)
    at org.eclipse.core.int​ernal.jobs.OrderedLo​ck.acquire(OrderedLo​ck.java:84)
    at org.eclipse.core.int​ernal.resources.Work​Manager.checkIn(Work​Manager.java:119)
    at
org.eclipse.core.int​ernal.resources.Work​space.prepareOperati​on(Workspace.java:22​82)
    at org.eclipse.core.int​ernal.resources.Work​space.run(Workspace.​java:2339)
    at
org.eclipse.ui.actio​ns.WorkspaceModifyOp​eration.run(Workspac​eModifyOperation.jav​a:118)

While writing up this bug report my UI has unfrozen after a total of ~5 minutes.
The Threads tab in Visual VM shows that Worker-378 was the thread which stopped
Running when the UI unfroze. In the attached thread dump this thread has the
following stack trace:

"Worker-378" prio=6 tid=0x3cc35000 nid=0x2300 runnable [0x3a40e000]
   java.lang.Thread.State: RUNNABLE
    at java.io.WinNTFileSys​tem.canonicalize0(Na​tive Method)
    at java.io.Win32FileSys​tem.canonicalize(Win​32FileSystem.java:39​6)
    at java.io.File.getCano​nicalPath(File.java:​559)
    at
org.tigris.subversio​n.subclipse.core.sta​tus.StatusUpdateStra​tegy.processUnversio​nedFolder(StatusUpda​teStrategy.java:90)
    at
org.tigris.subversio​n.subclipse.core.sta​tus.StatusUpdateStra​tegy.processUnversio​nedFolder(StatusUpda​teStrategy.java:104)​
    at
org.tigris.subversio​n.subclipse.core.sta​tus.StatusUpdateStra​tegy.processUnversio​nedFolder(StatusUpda​teStrategy.java:104)​
    at
org.tigris.subversio​n.subclipse.core.sta​tus.StatusUpdateStra​tegy.processUnversio​nedFolder(StatusUpda​teStrategy.java:104)​
    at
org.tigris.subversio​n.subclipse.core.sta​tus.StatusUpdateStra​tegy.processUnversio​nedFolder(StatusUpda​teStrategy.java:104)​
    at
org.tigris.subversio​n.subclipse.core.sta​tus.StatusUpdateStra​tegy.processUnversio​nedFolder(StatusUpda​teStrategy.java:104)​
    at
org.tigris.subversio​n.subclipse.core.sta​tus.StatusUpdateStra​tegy.processUnversio​nedFolder(StatusUpda​teStrategy.java:104)​
    at
org.tigris.subversio​n.subclipse.core.sta​tus.StatusUpdateStra​tegy.processUnversio​nedFolder(StatusUpda​teStrategy.java:104)​
    at
org.tigris.subversio​n.subclipse.core.sta​tus.StatusUpdateStra​tegy.collectUnversio​nedFolders(StatusUpd​ateStrategy.java:78)​
    at
org.tigris.subversio​n.subclipse.core.sta​tus.RecursiveStatusU​pdateStrategy.status​esToUpdate(Recursive​StatusUpdateStrategy​.java:73)
    at
org.tigris.subversio​n.subclipse.core.sta​tus.RecursiveStatusU​pdateStrategy.status​esToUpdate(Recursive​StatusUpdateStrategy​.java:46)
    at
org.tigris.subversio​n.subclipse.core.sta​tus.RecursiveStatusU​pdateStrategy.status​esToUpdate(Recursive​StatusUpdateStrategy​.java:46)
    at
org.tigris.subversio​n.subclipse.core.sta​tus.RecursiveStatusU​pdateStrategy.status​esToUpdate(Recursive​StatusUpdateStrategy​.java:46)
    at
org.tigris.subversio​n.subclipse.core.sta​tus.RecursiveStatusU​pdateStrategy.status​esToUpdate(Recursive​StatusUpdateStrategy​.java:46)
    at
org.tigris.subversio​n.subclipse.core.sta​tus.RecursiveStatusU​pdateStrategy.status​esToUpdate(Recursive​StatusUpdateStrategy​.java:46)
    at
org.tigris.subversio​n.subclipse.core.sta​tus.RecursiveStatusU​pdateStrategy.status​esToUpdate(Recursive​StatusUpdateStrategy​.java:46)
    at
org.tigris.subversio​n.subclipse.core.sta​tus.StatusCacheManag​er.refreshStatus(Sta​tusCacheManager.java​:270)

It seems wrong that a Subclipse status update is able to lock up the main UI.

I originally raised this against Eclipse:
https://bugs.eclipse​.org/bugs/show_bug.c​gi?id=387570

« Previous message in topic | 1 of 16 | Next message in topic »

Messages

Show all messages in topic

[Issue 1450] New - UI freeze caused by Subclipse mchr3k Martin Robertson 2012-08-20 02:02:24 PDT
     [Issue 1450] UI freeze caused by Subclipse markphip Mark Phippard 2012-08-20 06:12:44 PDT
     [Issue 1450] UI freeze caused by Subclipse markphip Mark Phippard 2012-08-21 07:35:30 PDT
     [Issue 1450] UI freeze caused by Subclipse mchr3k Martin Robertson 2012-08-21 07:47:53 PDT
     [Issue 1450] UI freeze caused by Subclipse markphip Mark Phippard 2012-08-21 08:06:26 PDT
     [Issue 1450] UI freeze caused by Subclipse loomchild Jarek Lipski 2013-01-24 07:31:53 PST
     [Issue 1450] UI freeze caused by Subclipse loomchild Jarek Lipski 2013-01-24 07:32:21 PST
     [Issue 1450] UI freeze caused by Subclipse loomchild Jarek Lipski 2013-01-24 07:36:18 PST
     [Issue 1450] UI freeze caused by Subclipse mchr3k Martin Robertson 2012-08-20 06:27:01 PDT
     [Issue 1450] UI freeze caused by Subclipse markphip Mark Phippard 2012-08-20 06:30:49 PDT
     [Issue 1450] UI freeze caused by Subclipse mchr3k Martin Robertson 2012-08-20 06:45:29 PDT
     [Issue 1450] UI freeze caused by Subclipse markphip Mark Phippard 2012-08-20 06:53:51 PDT
     [Issue 1450] UI freeze caused by Subclipse mchr3k Martin Robertson 2012-08-20 06:58:06 PDT
     [Issue 1450] UI freeze caused by Subclipse selsemore Stephen Elsemore 2012-08-20 09:21:36 PDT
     [Issue 1450] UI freeze caused by Subclipse selsemore Stephen Elsemore 2012-08-20 11:01:27 PDT
     [Issue 1450] UI freeze caused by Subclipse mchr3k Martin Robertson 2012-08-21 02:06:08 PDT
Messages per page: