Summary: | Zombie progress entries in the Progress view | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Andrey Loskutov <loskutov> | ||||
Component: | IDE | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | paul-eclipse, simeon.danailov.andreev, twolf | ||||
Version: | 4.16 | Keywords: | helpwanted | ||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Andrey Loskutov
2020-05-26 17:11:56 EDT
In debugger I see that DetailedProgressViewer.jobItemControls seem to keep the zombie entries, while FinishedJobs is empty. This means, we do not properly dispatch updates to DetailedProgressViewer - either or: * ProgressViewUpdater.throttledUpdate is not properly sending updates * ProgressViewUpdater.update() logic is flawed * UpdatesInfo.processForUpdate() logic is flawed * DetailedProgressViewer.remove(JobTreeElement...) is buggy. Also we might have an issue with JobTreeElement that implement compareTo() in an unstable way, so if they are equal, we might see issues by retrieving them from maps. I have no time to work on this, but I hope someone has :-). Andrey, the jobs shown in your screenshot are scheduled periodic system jobs. They're not hanging and they're not zombies, they're just waiting for their next run. I presume the "Zzz" icon is supposed to indicate "sleeping" (as in comics), not "zombie". That said, I sometimes also see finished build jobs with a gray "x" icon at the right. I wonder if that may be caused by some jobs not calling monitor.done() in all cases. @Andrey: from Thomas description you might have the "Show sleeping and system jobs" option enabled. @Thomas: any job could set the 'KEEP' property to keep the job after finishing in progress view and afair this is in any case done on job failures. If the progress entry has no progress bar I don't think monitor.done() is the problem. |