Summary: | Sometime Eclipse freeze while building a makefile C project | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Alessandro Fardin <alef75> | ||||||||||||
Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> | ||||||||||||
Status: | NEW --- | QA Contact: | |||||||||||||
Severity: | major | ||||||||||||||
Priority: | P3 | CC: | daniel_megert, Lars.Vogel, loskutov, peter | ||||||||||||
Version: | 4.7 | Keywords: | needinfo | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Hardware: | PC | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Attachments: |
|
Description
Alessandro Fardin
2017-08-09 02:42:13 EDT
Created attachment 269753 [details]
jstack trace while in freeze state
The C console seem to be involved, but it can be also some StyledText/SWT issue. "main" #1 prio=6 os_prio=0 tid=0x00007fe0ac00b000 nid=0x24e3 runnable [0x00007fe0b2b24000] java.lang.Thread.State: RUNNABLE at org.eclipse.swt.internal.gtk.OS._pango_layout_iter_next_line(Native Method) at org.eclipse.swt.internal.gtk.OS.pango_layout_iter_next_line(OS.java:16034) at org.eclipse.swt.graphics.TextLayout.getLineBoundsInPixels(TextLayout.java:1040) at org.eclipse.swt.graphics.TextLayout.getLineBounds(TextLayout.java:1031) at org.eclipse.swt.graphics.TextLayout.getBounds(TextLayout.java:803) at org.eclipse.swt.custom.StyledTextRenderer.calculate(StyledTextRenderer.java:217) at org.eclipse.swt.custom.StyledTextRenderer.getLineHeight(StyledTextRenderer.java:568) at org.eclipse.swt.custom.StyledText.getLinePixel(StyledText.java:4270) at org.eclipse.swt.custom.StyledText.handleTextChanging(StyledText.java:6346) at org.eclipse.swt.custom.StyledText$5.textChanging(StyledText.java:5708) at org.eclipse.jface.text.DefaultDocumentAdapter.fireTextChanging(DefaultDocumentAdapter.java:367) at org.eclipse.jface.text.DefaultDocumentAdapter.documentAboutToBeChanged(DefaultDocumentAdapter.java:284) at org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(AbstractDocument.java:633) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1093) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1118) at org.eclipse.cdt.internal.ui.buildconsole.BuildConsolePartitioner.updateUI(BuildConsolePartitioner.java:268) at org.eclipse.cdt.internal.ui.buildconsole.BuildConsolePartitioner$$Lambda$532/2134871294.run(Unknown Source) at org.eclipse.swt.widgets.Display.timerProc(Display.java:5171) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2110) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4105) Are all stacks showing the state above? Can you try to close the C console (I know that is popping up automatically, but may be there is a setting to disable it) and then try to reproduce? Hi Andrey, my answares in line > Are all stacks showing the state above? I've only that stack trace for the issue, And today I can't replicate the problem with or without C console opend As I can replicate, I'll take some other trace and I'll sent to you > Can you try to close the C console (I know that is popping up automatically, but > may be there is a setting to disable it) and then try to reproduce? I've already configure the C console to not automatically popping Today after starting eclipse I've found that each time I start a build project process, eclipse freezes for about 10 seconds while building. I've taken some stacktrace with jstak while freezed. Then I've restarted eclipse, an all start working well without the freeze. will follows an attachement with the stak traces Created attachment 270091 [details] stack trace for freezes for comment 4 Today build process make eclipse to freeze fo 10 seconds every time. other stack traces will follow Created attachment 270111 [details]
freeze stack trace for 2017-09-07
The freezes occours sometime, and the steps to reproduce is not clear and differents from time to time. When eclipse starts to freeze, it freeze at each build, then restartin eclipse resolve the problem in most of the cases, some time to resolve the problem I need to restart eclipse more times. FOr these reason I Changed the bug description in a more general description Created attachment 270241 [details]
another stack trace for eclipse freeze
eclipse freeze for several minutes while building a c make c project
2017-09-17
Created attachment 270303 [details]
jstack for eclipse freeze at 21 september 2017
freeze occour while building
Clould this related to Bug 168557 - [StyledText] StyledText is very slow with long string + word wrap or other variable line height ? (In reply to Alessandro Fardin from comment #11) > Clould this related to Bug 168557 - [StyledText] StyledText is very slow > with long string + word wrap or other variable line height ? Can you try with latest I-Build which contains the fix? |