| Summary: | Error with massif charting on Juno | ||
|---|---|---|---|
| Product: | [Tools] Linux Tools | Reporter: | Andrew Overholt <overholt> |
| Component: | Valgrind | Assignee: | Elliott Baron <ebaron> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | rgrunber |
| Version: | unspecified | ||
| Target Milestone: | 1.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Andrew Overholt
The valgrind view also shows that "Valgrind found no problems to report" yet there's a chart :) I can reproduce this problem by closing the Valgrind view and then launching a Valgrind run. This issue seems to appear from the underlying toolbar widget being disposed when creating the Valgrind view. The current implementation for creating a view seems to call createPartControl, then disposes the toolbar. The toolbar then gets created again later when actually showing the view. This is a problem for us since we create the toolbar's contents programmatically depending on which tool the user selects. To workaround this issue I changed the Valgrind view creation code to show the view before creating the toolbar actions. Let me know if this fixes the problem for you. This may also be worth bringing up to the e4/Platform UI team. Thanks for the investigation, Elliott. I'll verify the fix ASAP. As you can see in the Depends list, I filed bug 367194 to get the Platform UI team's input. I verified the fix in https://hudson.eclipse.org/hudson/job/linuxtools-master/612 (fix in http://git.eclipse.org/c/linuxtools/org.eclipse.linuxtools.git/commit/?id=f4d49d248170bf5c5ba8b954aac61903e1ca4168). Thanks, Elliott! |