| Summary: | Build console is something black | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc Khouzam <marc.khouzam> |
| Component: | cdt-build | Assignee: | Andrew Gvozdev <angvoz.dev> |
| Status: | RESOLVED FIXED | QA Contact: | Andrew Gvozdev <angvoz.dev> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug |
| Version: | 7.0 | ||
| Target Milestone: | 7.0.1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | 214215 | ||
| Bug Blocks: | |||
|
Description
Marc Khouzam
I am fairly certain that it is another manifestation of bug 214215. Marking it dependent until we have a reason to believe that it is not. There is some relevant info in cdt-dev mailing list: On Fri, Jul 23, 2010 at 11:00 AM, Doug Schaefer <cdtdoug@gmail.com> wrote: > Actually, what I'm seeing is black text on a black background. > I can highlight the text in the console and see that it's there. > Often, it's just creating a test project. I'll try to remember which > one it was, either Executable or Makefile, the next time I see it. But > that shouldn't really matter since the coloring should be independent > from the choice of builder. Got another case here as following. Build Automatically is enabled. A file got changed in CDT project which triggered rebuild. Now Out Of Memory error occurred and eclipse is being killed. After restart build is triggered automatically in background and black console appears. Committed the fix (a better workaround) to HEAD (8.0) and a smaller one to 7.0.1. Because of mistyping it got attributed to bug 270326 in CVS. I'll still use this bug for the record. Wow, this workaround has come around to bite me in the ass. This line in CUIPlugin start(): // A workaround for black console bug 320723. BuildConsolePreferencePage.initDefaults(getPreferenceStore()); causes all of the CDT UI preferences to get initialized. During this initialization, we get the colors from the theme which triggers the workbench theme manager to init and that can only be done on the UI thread. I get the SWT invalid thread access exception which blows up the theme manager which causes an NPE later and crashes the workbench. Might want to find a better workaround. Opened bug 463981 to try and get passed the invalid thread access issue. |