| Summary: | Eclipse freezes for long time when clicking files of different projects in project explorer | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Andrey Grigoriev <f0r_spam> | ||||||||
| Component: | cdt-build | Assignee: | cdt-build-inbox <cdt-build-inbox> | ||||||||
| Status: | NEW --- | QA Contact: | Jonah Graham <jonah> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | aleherb+eclipse, cdtdoug, mikhail.barg, yevshif | ||||||||
| Version: | 8.0 | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Andrey Grigoriev
Created attachment 205513 [details]
Thread dump 1. Made soon after eclipse froze
Created attachment 205514 [details]
Thread dump 2. 40 seconds later
Created attachment 205515 [details]
Thread dump 3. Another 40 seconds later
Also all these projects are under source control. We use SVN through Subclipse plug-in. It is not these three projects specific issue. It happens on other combinations of other projects too. Could it be that the build output contains _very_ long lines? The StyledText renderer can become rather inefficient in this case. See also bug 318036. Now I got this issue within minutes after restarting Eclipse (and two project rebuilds). Freezes seem to happen when I have a file from a project with 'true' build command selected and then I click a file from a project with 'make' build command. Any other clicking sequence does not cause a freeze (at least right now). And clearing build console of a project with 'make' build command removes freezes. Anton Leherbauer, yes right now linker's command line is almost 11500 characters long, and in other projects we have linker's command lines up to 32K characters long (more than 32K does not get executed by Windows properly, so we have to jump through hoops to fit into that limit). Are there any workarounds? (In reply to comment #7) > Anton Leherbauer, yes right now linker's command line is almost 11500 characters > long, and in other projects we have linker's command lines up to 32K characters > long (more than 32K does not get executed by Windows properly, so we have to > jump through hoops to fit into that limit). > > Are there any workarounds? As far as workaround, you could add '@' sign in the beginning of the line in linker command in makefile to prevent make (if you use make) from printing it in output. 11500 character line probably is not that readable anyway. The linker is called from a deep dark depths of a makefiles from an SDK we are building against. And I prefer not to touch it with a 10 feet stick: it's a whole mess there. And somehow it does not happen when "CDT Global build console" is active, so I believe long lines can be processed in reasonable time. |