Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 147803 - Canceling update manager hangs eclipse
Summary: Canceling update manager hangs eclipse
Status: RESOLVED DUPLICATE of bug 18598
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 3.1.2   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Update-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-19 18:24 EDT by Jacob Fenwick CLA
Modified: 2008-04-14 13:24 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Fenwick CLA 2006-06-19 18:24:04 EDT
If I try update software through the Software Updates pulldown under Help, and I cancel the Update Manager for some reason, Eclipse hangs for quite a long time.
I had this happen because I remembered I needed a proxy to get out of the firewall and I tried to Cancel, but it hung for at least 10 minutes.
Comment 1 Ian Bull CLA 2007-04-11 18:03:58 EDT
I tried this with the latest version of Eclipse (3.3M6) on Linux (GTK+) and it doesn't seem to be a problem.  I downloaded 3.1.2 (the version that the problem was reported with) and I can't seem to reproduce it with that version either.  

Has anyone else experienced this problem?  
Comment 2 Dejan Glozic CLA 2007-04-11 18:17:40 EDT
In general, 'Cancel' in Update sets the 'canceled' flag for the next loop pass to check. What this means is that we cannot cancel the current connection request using brute force - we must wait for it to time out. In order to do something more drastic, we would need to go down to the socket level, and we cannot do that from java.net.
Comment 3 Ian Bull CLA 2007-04-11 18:31:17 EDT
It wasn't clear (to me at least :)) if the problem was simply, open the update manager window, and then press cancel, (where I assume no connection has been made yet) or if this relates to canceling a current update (where I assume a connection has been made).  I assumed the former (which seems to work), but you are right, it is probably the canceling of a connection that is the problem here.

This seems very related to bug #18598 (if not the same thing).

Comment 4 KP CLA 2008-01-18 05:15:47 EST
see also bug 165311 , bug 198282 , and others...
Comment 5 Andreas Kuckartz CLA 2008-04-14 12:21:41 EDT
As mentioned before this is a duplicate of bug 18598.
Comment 6 John Arthorne CLA 2008-04-14 13:24:22 EDT

*** This bug has been marked as a duplicate of bug 18598 ***