Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Eclipse freezes when opening XML schema Editor
Eclipse freezes when opening XML schema Editor [message #988340] Thu, 29 November 2012 13:24 Go to next message
Matteo Eit is currently offline Matteo EitFriend
Messages: 7
Registered: March 2012
Junior Member
Hi,

I've been trying to solve this problem for some days but I can't find a solution and I'd really need to make eclipse work on my laptop.
Whenever I open a .xsd file with the schema editor (Design tab) the whole IDE freezes and I've to terminate it.

I've been looking around for similar problems and I've found a bug report about eclipse waiting for printers information that was solved disabling a parameter from the command line, but that isn't my case.

I'm pretty sure it's something related to my system, like GTK2 or something(I'm running ArchLinux x64 on awesomeWm).

This is the thread dump (I hope it is the right one)

2012-11-29 14:12:29
Full thread dump OpenJDK 64-Bit Server VM (23.2-b09 mixed mode):

"org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor" daemon prio=10 tid=0x00007ff42d9d4000 nid=0x56a in Object.wait() [0x00007ff3e5a72000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000fb0d3098> (a java.util.Collections$SynchronizedRandomAccessList)
	at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:672)
	- locked <0x00000000fb0d3098> (a java.util.Collections$SynchronizedRandomAccessList)

"[ThreadPool Manager] - Idle Thread" daemon prio=10 tid=0x00007ff3cc011000 nid=0x568 in Object.wait() [0x00007ff3e5b73000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000fb0e4dc8> (a org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor)
	at java.lang.Object.wait(Object.java:503)
	at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:106)
	- locked <0x00000000fb0e4dc8> (a org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor)

"Worker-4" prio=10 tid=0x00007ff3c41ec000 nid=0x548 in Object.wait() [0x00007ff3e5c74000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e01b85c8> (a org.eclipse.core.internal.jobs.WorkerPool)
	at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
	- locked <0x00000000e01b85c8> (a org.eclipse.core.internal.jobs.WorkerPool)
	at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:220)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:50)

"Worker-3" prio=10 tid=0x00007ff42cb49800 nid=0x545 in Object.wait() [0x00007ff3e5d75000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e01b85c8> (a org.eclipse.core.internal.jobs.WorkerPool)
	at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
	- locked <0x00000000e01b85c8> (a org.eclipse.core.internal.jobs.WorkerPool)
	at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:220)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:50)

"org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon prio=10 tid=0x00007ff42cf87000 nid=0x544 in Object.wait() [0x00007ff3e6540000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e191f768> (a org.eclipse.jface.text.reconciler.DirtyRegionQueue)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:179)
	- locked <0x00000000e191f768> (a org.eclipse.jface.text.reconciler.DirtyRegionQueue)

"Worker-2" prio=10 tid=0x00007ff3c8001000 nid=0x542 in Object.wait() [0x00007ff3e6ba8000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e01b85c8> (a org.eclipse.core.internal.jobs.WorkerPool)
	at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
	- locked <0x00000000e01b85c8> (a org.eclipse.core.internal.jobs.WorkerPool)
	at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:220)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:50)

"Bundle File Closer" daemon prio=10 tid=0x00007ff42c272000 nid=0x541 in Object.wait() [0x00007ff3e6ca9000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e1c17300> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
	at java.lang.Object.wait(Object.java:503)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
	- locked <0x00000000e1c17300> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)

"Java indexing" daemon prio=10 tid=0x00007ff42d567800 nid=0x540 in Object.wait() [0x00007ff3e7dfc000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e1b741f8> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager)
	at java.lang.Object.wait(Object.java:503)
	at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:382)
	- locked <0x00000000e1b741f8> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager)
	at java.lang.Thread.run(Thread.java:722)

"Worker-1" prio=10 tid=0x00007ff3c4022000 nid=0x531 in Object.wait() [0x00007ff3e6641000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e01b85c8> (a org.eclipse.core.internal.jobs.WorkerPool)
	at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
	- locked <0x00000000e01b85c8> (a org.eclipse.core.internal.jobs.WorkerPool)
	at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:220)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:50)

"Worker-0" prio=10 tid=0x00007ff42c8dc000 nid=0x52f in Object.wait() [0x00007ff3e7af9000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e01b85c8> (a org.eclipse.core.internal.jobs.WorkerPool)
	at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
	- locked <0x00000000e01b85c8> (a org.eclipse.core.internal.jobs.WorkerPool)
	at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:220)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:50)

"Worker-JM" prio=10 tid=0x00007ff3dc165800 nid=0x52d in Object.wait() [0x00007ff3e7bfa000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e01b8930> (a java.util.ArrayList)
	at org.eclipse.core.internal.jobs.InternalWorker.run(InternalWorker.java:58)
	- locked <0x00000000e01b8930> (a java.util.ArrayList)

"[Timer] - Main Queue Handler" daemon prio=10 tid=0x00007ff3dc06e800 nid=0x52c in Object.wait() [0x00007ff3e7cfb000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e05a0428> (a java.lang.Object)
	at org.eclipse.equinox.internal.util.impl.tpt.timer.TimerImpl.run(TimerImpl.java:141)
	- locked <0x00000000e05a0428> (a java.lang.Object)
	at java.lang.Thread.run(Thread.java:722)

"Framework Event Dispatcher" daemon prio=10 tid=0x00007ff3dc01d000 nid=0x52a in Object.wait() [0x00007ff3e7efd000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e01c6b10> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
	at java.lang.Object.wait(Object.java:503)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
	- locked <0x00000000e01c6b10> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)

"Start Level Event Dispatcher" daemon prio=10 tid=0x00007ff42c517800 nid=0x529 in Object.wait() [0x00007ff3e7ffe000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e04d1010> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
	at java.lang.Object.wait(Object.java:503)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
	- locked <0x00000000e04d1010> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)

"State Data Manager" daemon prio=10 tid=0x00007ff42c50e800 nid=0x528 waiting on condition [0x00007ff41c1a2000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
	at java.lang.Thread.sleep(Native Method)
	at org.eclipse.osgi.internal.baseadaptor.StateManager.run(StateManager.java:297)
	at java.lang.Thread.run(Thread.java:722)

"Framework Active Thread" prio=10 tid=0x00007ff42c481800 nid=0x527 in Object.wait() [0x00007ff42418e000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e04f00b0> (a org.eclipse.osgi.framework.internal.core.Framework)
	at org.eclipse.osgi.framework.internal.core.Framework.run(Framework.java:1862)
	- locked <0x00000000e04f00b0> (a org.eclipse.osgi.framework.internal.core.Framework)
	at java.lang.Thread.run(Thread.java:722)

"Service Thread" daemon prio=10 tid=0x00007ff42c1d5000 nid=0x525 runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread1" daemon prio=10 tid=0x00007ff42c1d2800 nid=0x524 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" daemon prio=10 tid=0x00007ff42c1cf800 nid=0x523 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x00007ff42c1cd800 nid=0x522 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=10 tid=0x00007ff42c177800 nid=0x521 in Object.wait() [0x00007ff424eba000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e01dd428> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
	- locked <0x00000000e01dd428> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)

"Reference Handler" daemon prio=10 tid=0x00007ff42c175000 nid=0x520 in Object.wait() [0x00007ff424fbb000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000e01ddbe8> (a java.lang.ref.Reference$Lock)
	at java.lang.Object.wait(Object.java:503)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
	- locked <0x00000000e01ddbe8> (a java.lang.ref.Reference$Lock)

"main" prio=10 tid=0x00007ff42c008000 nid=0x51a runnable [0x00007ff4301cf000]
   java.lang.Thread.State: RUNNABLE
	at org.eclipse.swt.internal.gtk.OS._gtk_enumerate_printers(Native Method)
	at org.eclipse.swt.internal.gtk.OS.gtk_enumerate_printers(OS.java:9232)
	at org.eclipse.swt.printing.Printer.getPrinterList(Printer.java:100)
	at org.eclipse.gef.ui.actions.PrintAction.calculateEnabled(PrintAction.java:45)
	at org.eclipse.gef.ui.actions.WorkbenchPartAction.isEnabled(WorkbenchPartAction.java:123)
	at org.eclipse.jface.commands.ActionHandler.isEnabled(ActionHandler.java:141)
	at org.eclipse.ui.internal.handlers.E4HandlerProxy.canExecute(E4HandlerProxy.java:59)
	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:229)
	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:210)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)
	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.canExecute(HandlerServiceImpl.java:110)
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.canExecuteItem(HandledContributionItem.java:828)
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$2(HandledContributionItem.java:817)
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$3.run(HandledContributionItem.java:216)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.updateItemEnablement(HandledContributionItem.java:243)
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$ToolItemUpdateTimer.run(HandledContributionItem.java:146)
	at org.eclipse.swt.widgets.Display.timerProc(Display.java:4121)
	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:2332)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3177)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

"VM Thread" prio=10 tid=0x00007ff42c16c800 nid=0x51f runnable 

"GC task thread#0 (ParallelGC)" prio=10 tid=0x00007ff42c015800 nid=0x51b runnable 

"GC task thread#1 (ParallelGC)" prio=10 tid=0x00007ff42c017800 nid=0x51c runnable 

"GC task thread#2 (ParallelGC)" prio=10 tid=0x00007ff42c019000 nid=0x51d runnable 

"GC task thread#3 (ParallelGC)" prio=10 tid=0x00007ff42c01b000 nid=0x51e runnable 

"VM Periodic Task Thread" prio=10 tid=0x00007ff42c1df800 nid=0x526 waiting on condition 

JNI global references: 917

Heap
 PSYoungGen      total 113664K, used 29586K [0x00000000f5560000, 0x00000000ff270000, 0x0000000100000000)
  eden space 93312K, 9% used [0x00000000f5560000,0x00000000f5e6b610,0x00000000fb080000)
  from space 20352K, 99% used [0x00000000fb080000,0x00000000fc4595c0,0x00000000fc460000)
  to   space 25856K, 0% used [0x00000000fd930000,0x00000000fd930000,0x00000000ff270000)
 ParOldGen       total 73216K, used 43208K [0x00000000e0000000, 0x00000000e4780000, 0x00000000f5560000)
  object space 73216K, 59% used [0x00000000e0000000,0x00000000e2a32240,0x00000000e4780000)
 PSPermGen       total 86976K, used 75170K [0x00000000d0000000, 0x00000000d54f0000, 0x00000000e0000000)
  object space 86976K, 86% used [0x00000000d0000000,0x00000000d4968ab0,0x00000000d54f0000)
Re: Eclipse freezes when opening XML schema Editor [message #988372 is a reply to message #988340] Thu, 29 November 2012 16:03 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2341
Registered: July 2009
Senior Member
Sounds exactly like https://bugs.eclipse.org/bugs/show_bug.cgi?id=153936 .

---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Eclipse freezes when opening XML schema Editor [message #988439 is a reply to message #988372] Thu, 29 November 2012 21:47 Go to previous messageGo to next message
Matteo Eit is currently offline Matteo EitFriend
Messages: 7
Registered: March 2012
Junior Member
Nitin Dahyabhai wrote on Thu, 29 November 2012 11:03
Sounds exactly like https://bugs.eclipse.org/bugs/show_bug.cgi?id=153936 .


I'm using gtk2-2.24.10.3, the bug report and workaround was for 2.10 version...that was years ago...is it possible it's still not fixed ? Confused

[Updated on: Thu, 29 November 2012 22:04]

Report message to a moderator

Re: Eclipse freezes when opening XML schema Editor [message #988539 is a reply to message #988439] Fri, 30 November 2012 12:04 Go to previous message
Matteo Eit is currently offline Matteo EitFriend
Messages: 7
Registered: March 2012
Junior Member
I managed to fix this by installing a printer on my laptop.

I've given up installing the custom plugin on the bug report because I had troubles with that.
Allow me to say that having such bugs after 5 years of more it's quite embarrassing. A laptop with gtk2 and no printer installed is NOT a extreme scenario.
Previous Topic:[wtp3.4.1] no code completion in jsp editor(solved)
Next Topic:Failed while installing Dynamic Web Module 2.5
Goto Forum:
  


Current Time: Sat Dec 20 08:47:33 GMT 2014

Powered by FUDForum. Page generated in 0.10436 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software