- This topic has 3 replies, 2 voices, and was last updated 19 years, 1 month ago by Riyad Kalla.
-
AuthorPosts
-
Panagiotis KorrosMemberMyEclipse 4.0.3 XmlEditor deadlocked eclipse.
the steps i did where…1. Opened a large xml file( 2.4MB)
2. Used Ctrl-F to find some text in the xml file
3. leave the find dialog open
4. open the xml in an external program
5. changes the xml file in the extenrnal program and saved it
6. myeclipse popups a dialog to inform you of the file change.
7. press yes to reloadThis is the thread dump…
Full thread dump Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode):
“Caret Delay Timer” daemon prio=7 tid=0x181c4e38 nid=0x11f0 waiting on condition [0x1992f000..0x1992fc6c]
at java.lang.Thread.sleep(Native Method)
at com.ibm.sse.editor.CaretMediator$1.run(CaretMediator.java:60)
at java.lang.Thread.run(Unknown Source)“com.ibm.sse.editor.StructuredTextReconciler” daemon prio=2 tid=0x17316e88 nid=0x14bc waiting for monitor entry [0x188df000..0x188dfcec]
at com.ibm.sse.model.AbstractStructuredModel.isShared(AbstractStructuredModel.java:676)
– waiting to lock <0x0a87e520> (a com.ibm.sse.model.xml.internal.document.XMLModelImpl)
at com.ibm.sse.model.xml.internal.document.XMLModelImpl.releaseFromRead(XMLModelImpl.java:709)
at com.ibm.sse.editor.xml.reconcile.ReconcileStepForMarkup.getXMLNode(ReconcileStepForMarkup.java:483)
at com.ibm.sse.editor.xml.reconcile.ReconcileStepForMarkup.getStructuredDocumentRegions(ReconcileStepForMarkup.java:83)
at com.ibm.sse.editor.xml.reconcile.ReconcileStepForMarkup.reconcileModel(ReconcileStepForMarkup.java:64)
at com.ibm.sse.editor.internal.reconcile.StructuredReconcileStep.reconcile(StructuredReconcileStep.java:99)
at com.ibm.sse.editor.internal.reconcile.AbstractStructuredTextReconcilingStrategy.reconcile(AbstractStructuredTextReconcilingStrategy.java:128)
at com.ibm.sse.editor.StructuredTextReconciler.processAll(StructuredTextReconciler.java:331)
at com.ibm.sse.editor.StructuredTextReconciler.runStrategies(StructuredTextReconciler.java:255)
at com.ibm.sse.editor.StructuredTextReconciler.process(StructuredTextReconciler.java:228)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:204)“Worker-9” prio=5 tid=0x180d3618 nid=0xdc in Object.wait() [0x17b9f000..0x17b9f9ec]
at java.lang.Object.wait(Native Method)
– waiting on <0x06e5dae0> (a org.eclipse.core.internal.jobs.WorkerPool)
at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:173)
– locked <0x06e5dae0> (a org.eclipse.core.internal.jobs.WorkerPool)
at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:205)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:69)“Worker-7” prio=5 tid=0x1818fe48 nid=0x1648 in Object.wait() [0x17c1f000..0x17c1faec]
at java.lang.Object.wait(Native Method)
– waiting on <0x06e5dae0> (a org.eclipse.core.internal.jobs.WorkerPool)
at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:173)
– locked <0x06e5dae0> (a org.eclipse.core.internal.jobs.WorkerPool)
at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:205)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:69)“Timer-0” daemon prio=7 tid=0x182c4428 nid=0x9cc in Object.wait() [0x1889f000..0x1889fcec]
at java.lang.Object.wait(Native Method)
– waiting on <0x08b19088> (a java.util.TaskQueue)
at java.lang.Object.wait(Unknown Source)
at java.util.TimerThread.mainLoop(Unknown Source)
– locked <0x08b19088> (a java.util.TaskQueue)
at java.util.TimerThread.run(Unknown Source)“Cleanup” daemon prio=7 tid=0x16fcd770 nid=0x244 runnable [0x1885f000..0x1885fd6c]
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
– locked <0x07b96440> (a java.net.PlainDatagramSocketImpl)
at java.net.PlainDatagramSocketImpl.receive(Unknown Source)
– locked <0x07b96440> (a java.net.PlainDatagramSocketImpl)
at java.net.DatagramSocket.receive(Unknown Source)
– locked <0x07bce240> (a java.net.DatagramPacket)
– locked <0x07bc5b98> (a java.net.MulticastSocket)
at com.genuitec.eclipse.core.D$A.run(Unknown Source)“Thread-1” prio=7 tid=0x16fe1318 nid=0x1298 waiting on condition [0x17bdf000..0x17bdfa6c]
at java.lang.Thread.sleep(Native Method)
at org.eclipse.mylar.core.internal.ActivityTimerThread.run(ActivityTimerThread.java:58)“Java indexing” daemon prio=4 tid=0x16f96e18 nid=0x14b0 in Object.wait() [0x17b5f000..0x17b5fb6c]
at java.lang.Object.wait(Native Method)
– waiting on <0x071ce170> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager)
at java.lang.Object.wait(Unknown Source)
at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:349)
– locked <0x071ce170> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager)
at java.lang.Thread.run(Unknown Source)“Start Level Event Dispatcher” daemon prio=5 tid=0x16d97008 nid=0x1690 in Object.wait() [0x1740f000..0x1740fc6c]
at java.lang.Object.wait(Native Method)
– waiting on <0x06a892e0> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at java.lang.Object.wait(Unknown Source)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:349)
– locked <0x06a892e0> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:287)“Framework Event Dispatcher” daemon prio=5 tid=0x16fa2000 nid=0x14a0 in Object.wait() [0x173cf000..0x173cfcec]
at java.lang.Object.wait(Native Method)
– waiting on <0x06a81028> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at java.lang.Object.wait(Unknown Source)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:349)
– locked <0x06a81028> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:287)“State Data Manager” daemon prio=5 tid=0x16da0f10 nid=0x91c waiting on condition [0x1738f000..0x1738fd6c]
at java.lang.Thread.sleep(Native Method)
at org.eclipse.osgi.framework.adaptor.core.StateManager.run(StateManager.java:289)
at java.lang.Thread.run(Unknown Source)“Low Memory Detector” daemon prio=5 tid=0x0036d1a8 nid=0x1054 runnable [0x00000000..0x00000000]
“CompilerThread0” daemon prio=10 tid=0x0036bd70 nid=0x15c4 waiting on condition [0x00000000..0x16cbf850]
“Signal Dispatcher” daemon prio=10 tid=0x0036b0a0 nid=0x111c waiting on condition [0x00000000..0x00000000]
“Finalizer” daemon prio=9 tid=0x00362488 nid=0x152c in Object.wait() [0x16c3f000..0x16c3fbec]
at java.lang.Object.wait(Native Method)
– waiting on <0x06a34510> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
– locked <0x06a34510> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)“Reference Handler” daemon prio=10 tid=0x00360ff0 nid=0x290 in Object.wait() [0x16bff000..0x16bffc6c]
at java.lang.Object.wait(Native Method)
– waiting on <0x06abd1f0> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Unknown Source)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
– locked <0x06abd1f0> (a java.lang.ref.Reference$Lock)“main” prio=7 tid=0x00034b18 nid=0x10fc in Object.wait() [0x0007e000..0x0007fc40]
at java.lang.Object.wait(Native Method)
– waiting on <0x0cadce18> (a org.eclipse.jface.text.reconciler.DirtyRegionQueue)
at java.lang.Object.wait(Unknown Source)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.suspendCallerWhileDirty(AbstractReconciler.java:119)
– locked <0x0cadce18> (a org.eclipse.jface.text.reconciler.DirtyRegionQueue)
at org.eclipse.jface.text.reconciler.AbstractReconciler$Listener.inputDocumentAboutToBeChanged(AbstractReconciler.java:266)
at com.ibm.sse.editor.StructuredTextEditor$StatusLineSourceViewer.fireInputDocumentAboutToBeChanged(StructuredTextEditor.java:2830)
at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2478)
at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:491)
at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:435)
at com.ibm.sse.editor.StructuredTextViewer.setModel(StructuredTextViewer.java:1067)
at com.ibm.sse.editor.StructuredTextEditor$ViewerModelLifecycleListener.processPostModelEvent(StructuredTextEditor.java:307)
at com.ibm.sse.model.LifecycleNotificationManager.signalLifecycleEvent(LifecycleNotificationManager.java:88)
at com.ibm.sse.model.AbstractStructuredModel.signalLifecycleEvent(AbstractStructuredModel.java:168)
at com.ibm.sse.model.AbstractStructuredModel.setStructuredDocument(AbstractStructuredModel.java:982)
at com.ibm.sse.model.xml.internal.document.XMLModelImpl.setStructuredDocument(XMLModelImpl.java:742)
at com.ibm.sse.model.AbstractModelLoader.load(AbstractModelLoader.java:146)
at com.ibm.sse.model.AbstractModelLoader.reload(AbstractModelLoader.java:189)
– locked <0x169114c8> (a com.ibm.sse.model.xml.modelhandler.XMLModelLoader)
at com.ibm.sse.model.ModelManagerImpl.reloadModel(ModelManagerImpl.java:1553)
– locked <0x075db178> (a com.ibm.sse.model.ModelManagerImpl)
at com.ibm.sse.model.AbstractStructuredModel.reload(AbstractStructuredModel.java:778)
– locked <0x0a87e520> (a com.ibm.sse.model.xml.internal.document.XMLModelImpl)
at com.ibm.sse.editor.FileModelProvider.handleElementContentChanged(FileModelProvider.java:733)
at org.eclipse.ui.editors.text.FileDocumentProvider.doSynchronize(FileDocumentProvider.java:512)
at com.ibm.sse.editor.FileModelProvider.doSynchronize(FileModelProvider.java:941)
at org.eclipse.ui.texteditor.AbstractDocumentProvider$1$SynchronizeOperation.execute(AbstractDocumentProvider.java:995)
at org.eclipse.ui.texteditor.AbstractDocumentProvider$DocumentProviderOperation.run(AbstractDocumentProvider.java:74)
at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:68)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:98)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:110)
– locked <0x16911510> (a org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:73)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:63)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.executeOperation(AbstractDocumentProvider.java:549)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.synchronize(AbstractDocumentProvider.java:1003)
at org.eclipse.ui.texteditor.AbstractTextEditor.handleEditorInputChanged(AbstractTextEditor.java:3451)
at org.eclipse.ui.texteditor.StatusTextEditor.handleEditorInputChanged(StatusTextEditor.java:203)
at org.eclipse.ui.texteditor.AbstractTextEditor.sanityCheckState(AbstractTextEditor.java:3575)
at org.eclipse.ui.texteditor.StatusTextEditor.sanityCheckState(StatusTextEditor.java:193)
at org.eclipse.ui.texteditor.AbstractTextEditor.safelySanityCheckState(AbstractTextEditor.java:3553)
at com.ibm.sse.editor.StructuredTextEditor.safelySanityCheckState(StructuredTextEditor.java:2057)
at com.ibm.xmleditor.internal.XMLMultiPageEditorPart.safelySanityCheckState(XMLMultiPageEditorPart.java:708)
at com.ibm.xmleditor.internal.XMLMultiPageEditorPart$PartListener.handleActivation(XMLMultiPageEditorPart.java:70)
at com.ibm.xmleditor.internal.XMLMultiPageEditorPart$PartListener.shellActivated(XMLMultiPageEditorPart.java:115)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:164)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:848)
at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1619)
at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:1476)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3036)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1582)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706)
at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:2111)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2708)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)“VM Thread” prio=10 tid=0x0035ce58 nid=0x10c0 runnable
“GC task thread#0 (ParallelGC)” prio=5 tid=0x0034b8a0 nid=0x1670 runnable
“VM Periodic Task Thread” prio=10 tid=0x0036e380 nid=0x1514 waiting on condition
Riyad KallaMemberThank you for the detailed report, as I mentioedn in the other thread it is very important for testing, profiling and fixing that we can use this file for testing.
If you can email us a copy to support@genuitec.com ATTN Riyad with a link to this post, we will look into it right away.
Panagiotis KorrosMemberi sent the file as you requested
Riyad KallaMemberI was able to reproduce this quickly with exactly the steps you gave.
-
AuthorPosts