Bug 472752 - cant't save file or build waiting for user operation
Summary: cant't save file or build waiting for user operation
Status: RESOLVED FIXED
Alias: None
Product: Subversive
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: 4.5.1   Edit
Assignee: Alexander Gurov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 473055 478271 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-07-15 12:13 EDT by Alessandro Fardin CLA
Modified: 2015-12-07 10:07 EST (History)
3 users (show)

See Also:


Attachments
jstack trace for the "wait for user.." issue (102.82 KB, application/octet-stream)
2015-07-15 12:15 EDT, Alessandro Fardin CLA
no flags Details
Others jstacks (157.72 KB, application/octet-stream)
2015-07-17 09:50 EDT, Alessandro Fardin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Fardin CLA 2015-07-15 12:13:07 EDT
Some time after a build or random, eclipse can't permit to save files for abount 10 - 15 minutes,
a message box advice "wait for user operation to complete".

I'm using large projects in the same workspace and and subversive as tem manager.
here attached some stack traces.

This is very tedious, I known that subversion is involved in this behaviour, but why, eclipse can't save files while subversion is updating the svn cache?



-- Configuration Details --
Product: Eclipse 4.5.0.20150621-1200 (org.eclipse.epp.package.cpp.product)
Installed Features:
 org.eclipse.platform 4.5.0.v20150708-1000
Comment 1 Alessandro Fardin CLA 2015-07-15 12:15:15 EDT
Created attachment 255224 [details]
jstack trace for the "wait for user.." issue
Comment 2 Andrey Loskutov CLA 2015-07-15 14:20:37 EDT
Stack has lot of org.eclipse.team.svn.core.* tasks => moving to subversive for investigation.
Comment 3 Alessandro Fardin CLA 2015-07-17 09:50:01 EDT
Created attachment 255273 [details]
Others jstacks
Comment 4 Alessandro Fardin CLA 2015-07-17 09:51:33 EDT
today the freeze occurs several times, always after a build.
Comment 5 Alexander Gurov CLA 2015-07-19 14:48:26 EDT
Event dispatch was locked by a long running job. Fixed.
Comment 6 Andrey Loskutov CLA 2015-07-19 15:06:08 EDT
(In reply to Alexander Gurov from comment #5)
> Event dispatch was locked by a long running job. Fixed.

Alexander, can you please point to the Gerrit review with the fix?
Comment 7 Alexander Gurov CLA 2015-07-19 17:52:50 EDT
(In reply to Andrey Loskutov from comment #6)
> Alexander, can you please point to the Gerrit review with the fix?
The issue was in Subversive code, which is hosted on SVN, not Git. So there is no Gerrit review for the fix.
The solution was to move out long running code from the event listener using queue/asynchronous processing.
Comment 8 Alessandro Fardin CLA 2015-07-20 06:15:48 EDT
Hi and thank's for fixing it.
Are there any ways to get the fix and try it?
For me this fix is a huge improvement, as I'm using MARS as main IDE, I've ported our dev enviroment  from LUNA to MARS and I'm ready to upgrade all my team's IDE to MARS.
But the bug stopped me to do that.

thank you very much.
Comment 9 Alexander Gurov CLA 2015-07-21 04:21:45 EDT
(In reply to Alessandro Fardin from comment #8)
> Hi and thank's for fixing it.
> Are there any ways to get the fix and try it?
> For me this fix is a huge improvement, as I'm using MARS as main IDE, I've
> ported our dev enviroment  from LUNA to MARS and I'm ready to upgrade all my
> team's IDE to MARS.
> But the bug stopped me to do that.
> 
> thank you very much.

Hi Alessandro. I'll check few more things related to performance on large projects first and then make a new build soon.
Comment 10 Alexander Gurov CLA 2015-07-21 10:41:14 EDT
*** Bug 473055 has been marked as a duplicate of this bug. ***
Comment 11 Alexander Gurov CLA 2015-07-22 12:07:06 EDT
(In reply to Alessandro Fardin from comment #8)

https://www.eclipse.org/subversive/latest-releases.php
There is a "Latest Stable Build" section where you can find the most recent version (3.0.1.I20150722-1700) which contains related changes.
Comment 12 Alessandro Fardin CLA 2015-07-22 12:26:36 EDT
Thank you

I've just upgrade to  3.0.1.I20150722-1700, tomorrow I'm going to take some time to try it


(In reply to comment #11)
> (In reply to Alessandro Fardin from comment #8)
> 
> https://www.eclipse.org/subversive/latest-releases.php
> There is a "Latest Stable Build" section where you can find the most recent
> version (3.0.1.I20150722-1700) which contains related changes.
Comment 13 Alessandro Fardin CLA 2015-07-23 17:06:27 EDT
(In reply to Alexander Gurov from comment #11)
> (In reply to Alessandro Fardin from comment #8)
> 
> https://www.eclipse.org/subversive/latest-releases.php
> There is a "Latest Stable Build" section where you can find the most recent
> version (3.0.1.I20150722-1700) which contains related changes.


Hi Alexander,
Thank you for this great fix.
I've used eclise for all the day without any freeze.
So all my team had switched to mars.
Comment 14 Alexander Gurov CLA 2015-09-25 06:25:31 EDT
*** Bug 478271 has been marked as a duplicate of this bug. ***
Comment 15 Mike M. CLA 2015-12-07 10:07:57 EST
This still happens to me in Eclipse Mars with the 3.02 version of SVN team provider from the stable update site provided in a previous comment.  Once I uninstalled all svn plugins completely, the problem went away.  I haven't tried re-installing because I just don't have the patience any more to deal with my eclipse UI being hung today...