Community
Participate
Working Groups
Eclipse freeze completely, the UI become darker (on ubuntu 16.04) . This issue happened some times, it's not all the way replicable. While in freeze state I've take some stack trace with jstack to send you Last time it happened tah was the step sequence: 1) Starts a CDT build project (big makefile project, the project take 20 minute to build completly) 2) At some point while building I've switched ffrom the C perspective to the planning perspective 2.1) the planning perspective has : task list,task repository,console,build views and the timekeeper plugin view. ACTUAL RESULT The perspective has changed, but eclipse freezes completely. From the system monitor I can see that the build process was going on. I've waited the end of the build (the attended file was created) but eclipse remains freezed. To resolve the problem I've killed the java process and restarted eclipse. Ecliose is running on ubuntu 16.04 and has intalled: CDT, PDT, JSDT, subversive... -- Configuration Details -- Product: Eclipse 4.7.0.20170620-1800 (org.eclipse.epp.package.cpp.product)Installed Features: org.eclipse.platform 4.7.0.v20170612-1255
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?