Bug 551654 - UI Freeze for several minutes in ProjectViewer
Summary: UI Freeze for several minutes in ProjectViewer
Status: CLOSED DUPLICATE of bug 551588
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.13   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2019-10-01 04:14 EDT by Aurelien Pupier CLA
Modified: 2019-10-01 08:10 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aurelien Pupier CLA 2019-10-01 04:14:56 EDT
I don't have steps to reproduce, it occurred one time only for now. But the UI has frozen or several minutes.

I was editing a pom.xml file inside the POM Editor

Eclipse IDE for Eclipse Committers

Version: 2019-09 R (4.13.0)
Build id: 20190917-1200

Name: main
State: RUNNABLE
Total blocked: 189  Total waited: 113

Stack trace: 
org.eclipse.swt.internal.gtk.OS._pango_layout_get_line_count(Native Method)
org.eclipse.swt.internal.gtk.OS.pango_layout_get_line_count(OS.java:3762)
org.eclipse.swt.graphics.TextLayout.getLineCount(TextLayout.java:1013)
org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:1251)
org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:888)
org.eclipse.swt.custom.StyledTextRenderer.calculate(StyledTextRenderer.java:296)
org.eclipse.swt.custom.StyledTextRenderer.calculateClientArea(StyledTextRenderer.java:325)
org.eclipse.swt.custom.StyledText.resetCache(StyledText.java:8095)
org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:10292)
org.eclipse.swt.custom.StyledText.replaceStyleRanges(StyledText.java:8008)
org.eclipse.jface.text.TextViewer.addPresentation(TextViewer.java:4658)
org.eclipse.jface.text.TextViewer.changeTextPresentation(TextViewer.java:4735)
org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.applyTextRegionCollection(StructuredPresentationReconciler.java:903)
org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.processDamage(StructuredPresentationReconciler.java:878)
org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler$InternalListener.textChanged(StructuredPresentationReconciler.java:422)
org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2686)
org.eclipse.jface.text.TextViewer.invalidateTextPresentation(TextViewer.java:3306)
org.eclipse.jface.text.TextViewer.initializeWidgetContents(TextViewer.java:3354)
org.eclipse.jface.text.TextViewer.setVisibleDocument(TextViewer.java:3393)
org.eclipse.jface.text.source.projection.ProjectionViewer.setVisibleDocument(ProjectionViewer.java:700)
org.eclipse.jface.text.source.projection.ProjectionViewer.executeReplaceVisibleDocument(ProjectionViewer.java:755)
org.eclipse.jface.text.source.projection.ProjectionViewer.replaceVisibleDocument(ProjectionViewer.java:743)
org.eclipse.jface.text.source.projection.ProjectionViewer.reinitializeProjection(ProjectionViewer.java:1219)
org.eclipse.jface.text.source.projection.ProjectionViewer.catchupWithProjectionAnnotationModel(ProjectionViewer.java:937)
org.eclipse.jface.text.source.projection.ProjectionViewer.lambda$0(ProjectionViewer.java:891)
org.eclipse.jface.text.source.projection.ProjectionViewer$$Lambda$918/0x0000000101480040.run(Unknown Source)
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
   - locked org.eclipse.swt.widgets.RunnableLock@51121234
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4857)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4409)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1160)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:633)
org.eclipse.ui.internal.Workbench$$Lambda$89/0x0000000100338040.run(Unknown Source)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:566)
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
org.eclipse.equinox.launcher.Main.run(Main.java:1468)
org.eclipse.equinox.launcher.Main.main(Main.java:1441)
Comment 1 Aurelien Pupier CLA 2019-10-01 04:15:18 EDT
I'm on Fedora 30
Comment 2 Aurelien Pupier CLA 2019-10-01 04:22:29 EDT
I hit another freeze while navigating in the Project Explorer:

Name: main
State: RUNNABLE
Total blocked: 207  Total waited: 113

Stack trace: 
org.eclipse.swt.internal.gtk.OS._g_utf16_offset_to_pointer(Native Method)
org.eclipse.swt.internal.gtk.OS.g_utf16_offset_to_pointer(OS.java:601)
org.eclipse.swt.graphics.TextLayout.computeRuns(TextLayout.java:200)
org.eclipse.swt.graphics.TextLayout.getLineCount(TextLayout.java:1012)
org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:1251)
org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:888)
org.eclipse.swt.custom.StyledTextRenderer.calculate(StyledTextRenderer.java:296)
org.eclipse.swt.custom.StyledTextRenderer.calculateClientArea(StyledTextRenderer.java:325)
org.eclipse.swt.custom.StyledText.resetCache(StyledText.java:8095)
org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:10292)
org.eclipse.swt.custom.StyledText.replaceStyleRanges(StyledText.java:8008)
org.eclipse.jface.text.TextViewer.addPresentation(TextViewer.java:4658)
org.eclipse.jface.text.TextViewer.changeTextPresentation(TextViewer.java:4735)
org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.applyTextRegionCollection(StructuredPresentationReconciler.java:903)
org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.processDamage(StructuredPresentationReconciler.java:878)
org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler$InternalListener.textChanged(StructuredPresentationReconciler.java:422)
org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2686)
org.eclipse.jface.text.TextViewer.invalidateTextPresentation(TextViewer.java:3330)
org.eclipse.jface.text.source.AnnotationPainter.invalidateTextPresentation(AnnotationPainter.java:970)
org.eclipse.jface.text.source.AnnotationPainter.updatePainting(AnnotationPainter.java:952)
org.eclipse.jface.text.source.AnnotationPainter.lambda$0(AnnotationPainter.java:1075)
org.eclipse.jface.text.source.AnnotationPainter$$Lambda$728/0x0000000100ba2c40.run(Unknown Source)
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
   - locked org.eclipse.swt.widgets.RunnableLock@602888f6
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4857)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4409)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1160)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:633)
org.eclipse.ui.internal.Workbench$$Lambda$89/0x0000000100338040.run(Unknown Source)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:566)
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
org.eclipse.equinox.launcher.Main.run(Main.java:1468)
org.eclipse.equinox.launcher.Main.main(Main.java:1441)
Comment 3 Eric Williams CLA 2019-10-01 08:10:53 EDT
Seems like a lot of people are running into this bug this week. Thanks for the report!

*** This bug has been marked as a duplicate of bug 551588 ***