| Summary: | Unhandled exception during software update: eclipse left in broken state | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Graham Leggett <minfrin> | ||||
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | critical | ||||||
| Priority: | P3 | CC: | georgevt, github, jakub.vondrak, jed.anderson, jeffmcaffer, karl.wyer, pascal, simon_kaegi, susan | ||||
| Version: | 3.4 | ||||||
| Target Milestone: | 3.5 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Some more details: If repeated attempts are made to run software update over and over again over the period of a few hours, software update manages to eventually download the problem file, moving to the next one, where another dodgy mirror is hit, triggering another download error. After a short while, further attempts to download updates caused Eclipse to hang, using 100% CPU. If you leave this for a length of time, Eclipse update eventually comes out of the 100% CPU condition with an OutOfMemoryError with the text "java heap space". Looks like Eclipse update is fatally broken. It sounds like the hang is related to timeouts and problems with a particular mirror. See bug #235500 - we are currently not handling this well. However, I don't think the eclipse install itself has been corrupted. When the provisioning engine (finally) reports the problem, it has backed out of any intermediate work. If you restart eclipse, will it run normally? If so, then I think this bug is a duplicate of bug #235500. Jeff, can you comment? I too am seeing this problem, sporadic OOM problems with the update and a failure to download the artifact: osgi.bundle,com.ibm.icu.base,3.8.1.v20080530. Some points: 1) The OOM generally seems to occur when the progress view shows the install status as "Downloading master-equinox", rather than it downloading a specific file. Sometimes it just sits there with this message rather than showing an OOM. 2) The file above doesn't exist even if I use the URI directly from a browser. 3) I've tried deselecting the com.ibm.icu.base.feature group but still can't get update to work. I'll attach a copy of my log file which contains a number of attempts to use update. Created attachment 109391 [details]
Log file from repeated attempts to update.
(Note that the file has been renamed from .log to log.txt as the Mac file browser won§t show '.' files by default)
*** Bug 244253 has been marked as a duplicate of this bug. *** Updating hardware/os because this has been observed on other platforms (see dupes). I observed the same problem when installing plugin from server on LAN. This plugin was automatically assembled by Update Site Project by Eclipse SDK 3.4.1. Some files from internet were downloaded too during installation, but actuall error was reported on plugin downloaded from LAN. I was able to install this plugin by putting it in dropins folder. Could you please try this week I build (3.5) to help us see if this issue is still encountered? http://download.eclipse.org/eclipse/downloads/drops/I20090421-0930/index.php A lot of work around robustness as happened in 3.5. Closing as fixed. |
Build ID: I20080617-2000 Steps To Reproduce: Download eclipse 3.4.0, and unpack it. Run software update, choose "Eclipse project update site". After some time, one of the downloaded jar downloads will fail. This results in an unhandled exception, listed below. A further attempt to install updates results in an error message that an internal error happened during an internal error, and Eclipse seems to be corrupted. Until this problem is fixed, Eclipse update is dead in the water. What Eclipse should do is handle the exception, and either retry the download, or back out the install attempt to a known working state. An error occurred while collecting items to be installed Problems downloading artifact: osgi.bundle,com.ibm.icu.base,3.8.1.v20080530. Exception connecting to http://mirrors.uol.com.br/pub/eclipse.org/eclipse/testUpdates/plugins/com.ibm.icu.base_3.8.1.v20080530.jar. http://mirrors.uol.com.br/pub/eclipse.org/eclipse/testUpdates/plugins/com.ibm.icu.base_3.8.1.v20080530.jar Exception connecting to http://mirrors.uol.com.br/pub/eclipse.org/eclipse/testUpdates/plugins/com.ibm.icu.base_3.8.1.v20080530.jar. http://mirrors.uol.com.br/pub/eclipse.org/eclipse/testUpdates/plugins/com.ibm.icu.base_3.8.1.v20080530.jar Error closing the output stream for com.ibm.icu.base/org.eclipse.update.feature/1.0.0.v20060418-67E18s733I3C93 on repository file:/Applications/Eclipse/Eclipse-3.4/. Error unzipping /tmp/com.ibm.icu.base_1.0.0.v20060418-67E18s733I3C9325950.jar: Invalid zip file format Error closing the output stream for com.ibm.icu.base.source/osgi.bundle/3.8.1.v20080530 on repository file:/Applications/Eclipse/Eclipse-3.4/. Error unzipping /tmp/com.ibm.icu.base.source_3.8.1.v2008053025952.jar: Invalid zip file format Problems downloading artifact: osgi.bundle,com.ibm.icu.source,3.8.1.v20080530. Exception connecting to http://mirrors.uol.com.br/pub/eclipse.org/eclipse/testUpdates/plugins/com.ibm.icu.source_3.8.1.v20080530.jar. http://mirrors.uol.com.br/pub/eclipse.org/eclipse/testUpdates/plugins/com.ibm.icu.source_3.8.1.v20080530.jar Exception connecting to http://mirrors.uol.com.br/pub/eclipse.org/eclipse/testUpdates/plugins/com.ibm.icu.source_3.8.1.v20080530.jar. http://mirrors.uol.com.br/pub/eclipse.org/eclipse/testUpdates/plugins/com.ibm.icu.source_3.8.1.v20080530.jar Error closing the output stream for master-equinox-p2/org.eclipse.update.feature/1.0.0.v20080506-4--8Mc44yANsYbyiqu-z-uDo0 on repository file:/Applications/Eclipse/Eclipse-3.4/. Error unzipping /tmp/master-equinox-p2_1.0.0.v20080506-4--8Mc44yANsYbyiqu-z-uDo025967.jar: Invalid zip file format Error closing the output stream for master-equinox/org.eclipse.update.feature/1.1.0.v20080506-7f7KE7IECgNudAAfz0U1j9iNSDYy on repository file:/Applications/Eclipse/Eclipse-3.4/. Error unzipping /tmp/master-equinox_1.1.0.v20080506-7f7KE7IECgNudAAfz0U1j9iNSDYy25968.jar: Invalid zip file format Error closing the output stream for master-jetty/org.eclipse.update.feature/1.0.0.v20080506-7748Y_kE77c7OCS14J63 on repository file:/Applications/Eclipse/Eclipse-3.4/. Error unzipping /tmp/master-jetty_1.0.0.v20080506-7748Y_kE77c7OCS14J6325969.jar: Invalid zip file format Error closing the output stream for master-root/org.eclipse.update.feature/3.2.0 on repository file:/Applications/Eclipse/Eclipse-3.4/. Error unzipping /tmp/master-root_3.2.025971.jar: Invalid zip file format More information: