| Summary: | installing new software (WindowBuilder) is (virtually) hanging | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | stefano casadei <scasadei> | ||||||
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> | ||||||
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | henrik.lindberg, matthew, pascal, remy.suen, scasadei | ||||||
| Version: | 3.7 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
stefano casadei
PS: Several days ago I installed several components without any problem. At this point, I have not been able to reproduce this problem. Next time it happens please try to take vm dumps. (In reply to comment #2) > At this point, I have not been able to reproduce this problem. Next time it > happens please try to take vm dumps. The problem still occurs...how can I take vm dumps? (In reply to comment #2) > At this point, I have not been able to reproduce this problem. Next time it > happens please try to take vm dumps. The problem still occurs...how can I take vm dumps? More specifically, after quickly fetching several files, it's been trying to fetch org.eclipse.wb.doc_user_1.1.0.237.... for over 20 minutes now Is there any indication on the server you are getting the file from? Created attachment 203747 [details]
thread dump
Sorry, I didn't pay attention to the server it was connected to. I also have a heap dump if needed. thanks. Hello, after a few months of inactivity I started the eclipse workbench again and tried to update it. The problem I had back in September with installing new software still persists, only now it occurs with the update process. It's two days that I am trying from two different computers, always with the same results: a few pieces are fetched, then everything grinds to a halt; sometime it crashes saying that this or that file can not be downloaded from download.eclipse.org. If anyone can look into this I can send more information, thanks for your attention. Stefano If you open the Error Log (CTRL+3) there might be more information there. You may also want to see if you're consistently downloading from a particular mirror (the progress indicator would likely have a label for this). My only other suggestion is to open preferences (Window > Preferences) then General > Network Connections and try changing to Direct (or Manual and set your proxy). CTRL-3 brings up a list of category in my local eclipse workbench and I don't see any Error Log in there. I have tried to switch to direct but did not help. Furthermore, the problem arises also when I tried to install new software. Today I tried to install the PDE and the download process was stuck for hours. And in one of the attempts I got this error message: An error occurred while downloading http://download.eclipse.org/releases/indigo/201109230900/content.jar. The cache file C:\eclipse\eclipse-java-indigo-SR1-win32-x86_64\eclipse\p2\org.eclipse.equinox.p2.repository\cache\downloading\content1727518060.jar could not be renamed to C:\eclipse\eclipse-java-indigo-SR1-win32-x86_64\eclipse\p2\org.eclipse.equinox.p2.repository\cache\downloading\content1727518060.jar. ...and the most recent error message: Unable to read repository at http://download.eclipse.org/releases/indigo/201109230900/content.jar. Read timed out Created attachment 209957 [details]
screenshot of where the installation hangs
I suspect the problem is due to the mirror site that is assigned to me, here is a screenshot of where the installation process hangs.
Is there a way I can tell eclipse to use a different mirror site?
(In reply to comment #13) > Created attachment 209957 [details] > screenshot of where the installation hangs > > I suspect the problem is due to the mirror site that is assigned to me, here is > a screenshot of where the installation process hangs. > Is there a way I can tell eclipse to use a different mirror site? Google for "p2.mirrors=false". Turning off mirrors means you are only talking to eclipse.org. also look at advice in bug 350014 (In reply to comment #15) > also look at advice in bug 350014 that was very good reading (In reply to comment #14) > > Google for "p2.mirrors=false". > Turning off mirrors means you are only talking to eclipse.org. I haven't deliberately turned off mirrors...in any case, how can I view and change the parameter p2.mirrors? I am also experiencing similar problems downloading from: http://dist.springsource.com/release/TOOLS/market-place/e3.7/ ...in continuation of the previous comment, here is the last error message for the springsource download Some sites could not be found. See the error log for more detail. Unable to read repository at http://download.springsource.com/release/TOOLS/update/2.8.1.RELEASE/e3.7/content.jar. Read timed out Unable to read repository at http://download.eclipse.org/eclipse/updates/3.7/R-3.7.1-201109091335/content.jar. Read timed out Have you looked at your proxy settings as I mentioned in comment 10? Given it is occurring for two completely different sites it seems likely that the problem is caused by your network or network configuration. (In reply to comment #18) > Have you looked at your proxy settings as I mentioned in comment 10? Given it > is occurring for two completely different sites it seems likely that the > problem is caused by your network or network configuration. Yes, I have tried with active provider set to "Direct" as you suggested, but it did not help. I haven't tried with "Manual" because I don't know what I should enter. Henrik Lindberg suggested that I may have the parameter "p2.mirrors" set to false but I don't know how to view or change that parameter. Here is the error message I have just gotten (with "Direct"): Unable to read repository at http://download.springsource.com/release/TOOLS/update/2.8.1.RELEASE/e3.7/content.jar. Read timed out (In reply to comment #19) > Henrik Lindberg suggested that I may have the parameter "p2.mirrors" set to > false but I don't know how to view or change that parameter. > That's a system property, You need to launch your eclipse with something like: -vmargs -Declipse.p2.mirrors=false PW Here is an update: Andrew Eisenberg suggested that the problem may be due to an antivirus. Indeed, after shutting down AVG the speed of the download increased significantly. But while trying to install groovy components I got this NEW error message: An error occurred while collecting items to be installed session context was:(profile=epp.package.modeling, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Comparison method violates its general contract! Comparison method violates its general contract! Another behavior observed is that the file org.eclipse.emf.doc_2.6.0.v20110913-1156.jar.pack.zip is repeatedly fetched from multiple mirrors. It seems that each download is successful (all the KBs of the file are downloaded) but then it switches to another mirror and downloads it again... If you are you using Java 7, try Java 6 instead. Try the install on a clean fresh Eclipse. Your installation may be corrupt (potentially caused by "faulty JVM", or by intrusive anti-virus). (I googled for the error messages you posted, and some seem to have trouble with certain versions of Java 7). If you still have problems, try the same installs on another clean machine, clean Eclipse, JVM known to work etc, on the same network. This to determine if there is something wrong with your machine's configuration/network etc. (In reply to comment #22) > If you are you using Java 7, try Java 6 instead. > Try the install on a clean fresh Eclipse. Your installation may be corrupt > (potentially caused by "faulty JVM", or by intrusive anti-virus). > > (I googled for the error messages you posted, and some seem to have trouble > with certain versions of Java 7). > > If you still have problems, try the same installs on another clean machine, > clean Eclipse, JVM known to work etc, on the same network. This to determine if > there is something wrong with your machine's configuration/network etc. Yes, with a fresh install of eclipse the problem went away! And my final conclusion would be that the cause of all those bugging timeouts was the antivirus (AVG). I have been able to install several items in a breeze with AVG disabled! it appears my problem was caused by the antivirus AVG. |