| Summary: | Install fails without a trace using I20090514-2000. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Thomas Hallgren <thomas> | ||||||
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P3 | CC: | dj.houghton, henrik.lindberg, Kevin_McGuire, thomas | ||||||
| Version: | 3.5 | Flags: | dj.houghton:
review+
|
||||||
| Target Milestone: | 3.5 RC1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Thomas Hallgren
Created attachment 136000 [details]
Fix v01
Henrik, I think this is the fix, but I don't understand why it was ever canceling here. Note it also seems timing related. Sometimes install will succeed and sometimes it will fail. Stepping through in the debugger it always seems to succeed. Created attachment 136008 [details]
Regression test
Note this regression was introduced by the fix for bug 275975. The first patch in that bug changes the monitor from a NullProgressMonitor to the real progress monitor. Previously, canceling the monitor had no effect because it was always a null monitor that was never passed to anyone else (which is why I can't see why it was there in the first place). This was changed to pass in the real progress monitor so cancelation requests would be propagated correctly. I'm asking DJ for review because we need to get the fix in ASAP to get an RC1 rebuild going. Henrik, I would still appreciate a review when you get a chance. Fix released to HEAD. (In reply to comment #4) > I'm asking DJ for review because we need to get the fix in ASAP to get an RC1 > rebuild going. Henrik, I would still appreciate a review when you get a chance. > Thanks for catching this - that "cancel" did not make sense at all when the monitor is passed in. I totally missed that the streamed read did that on close - it made sense earlier. Fix verified in I20090515-1143. *** Bug 276932 has been marked as a duplicate of this bug. *** |