I’ve just moved to a new iMac thinking it would fix some problems I was having with Developer loading and running extremely slowly.
On the new machine, whenever I edit a particular .js file (225k) I can’t save it and Serclipse freezes, have to force quit. I can edit other files, slightly smaller (200k)
I’ve loaded Java 1.6.0_26, and tried both 64b and 32b as the default.
In the console I note these errors whenever the offending .js is opened. Thinking there may be problems with the file system, I’ve also tried creating a new workspace and checked out the solution from the SVN. Same problem.
24/03/12 7:13:45.066 PM servoy: *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x1003c1670> '(null)') unlocked when not locked
24/03/12 7:13:45.066 PM servoy: *** Break on _NSLockError() to debug.
24/03/12 7:13:45.169 PM servoy: *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x1002887a0> '(null)') unlocked when not locked
24/03/12 7:13:45.169 PM servoy: *** Break on _NSLockError() to debug.
24/03/12 7:13:45.272 PM servoy: *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x1006a84d0> '(null)') unlocked when not locked
24/03/12 7:13:45.272 PM servoy: *** Break on _NSLockError() to debug.
Grateful for any pointers on where the problem is.
FWIW here’s a stack dump before it freezes. I can’t access servoy-admin after the freeze.
Current time: Sat Mar 24 19:38:29 EST 2012
Server Information
Servoy version 5.2.12 -build 1024
Port used by RMI Registry: 1099
Repository version 38
Current time: Sat Mar 24 19:38:29 EST 2012
Uptime: 2 minutes 39 seconds
JDK Information
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.version=1.6.0_26
java.vm.info=mixed mode
java.vm.vendor=Apple Inc.
Operating System Information
os.name=Mac OS X
os.version=10.7.3
os.arch=x86_64
System Information
Heap memory: allocated=139564K, used=90014K, max=517760K
None Heap memory: allocated=216328K, used=146090K, max=311296K
Thread: Lookup ValueList Timer, state: WAITING, total cpu time: 0.055ms, total user time: 0.026ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
java.util.TimerThread.mainLoop(Timer.java:483)
java.util.TimerThread.run(Timer.java:462)
Thread: pool-4-thread-1, state: WAITING, total cpu time: 7.056ms, total user time: 6.644ms
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987)
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
java.lang.Thread.run(Thread.java:680)
Thread: TimerQueue, state: TIMED_WAITING, total cpu time: 157.918ms, total user time: 120.997ms
java.lang.Object.wait(Native Method)
javax.swing.TimerQueue.run(TimerQueue.java:232)
java.lang.Thread.run(Thread.java:680)
Thread: http-8080-6, state: WAITING, total cpu time: 1.474ms, total user time: 1.157ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:423)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:449)
java.lang.Thread.run(Thread.java:680)
Thread: http-8080-5, state: WAITING, total cpu time: 1.438ms, total user time: 1.117ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:423)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:449)
java.lang.Thread.run(Thread.java:680)
Thread: http-8080-4, state: WAITING, total cpu time: 1.472ms, total user time: 1.142ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:423)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:449)
java.lang.Thread.run(Thread.java:680)
Thread: http-8080-3, state: WAITING, total cpu time: 1.517ms, total user time: 1.155ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:423)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:449)
java.lang.Thread.run(Thread.java:680)
Thread: http-8080-2, state: WAITING, total cpu time: 2.259ms, total user time: 1.732ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:423)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:449)
java.lang.Thread.run(Thread.java:680)
Thread: [ThreadPool Manager] - Idle Thread, state: WAITING, total cpu time: 0.32ms, total user time: 0.238ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:106)
Thread: AWT-EventQueue-0, state: WAITING, total cpu time: 1078.316ms, total user time: 1016.444ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
java.awt.EventQueue.getNextEvent(EventQueue.java:520)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:263)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Thread: http-8080-1, state: RUNNABLE, total cpu time: 224.245ms, total user time: 215.263ms
sun.management.ThreadImpl.getThreadInfo1(Native Method)
sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:154)
sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:121)
com.servoy.j2db.server.servlets.ConfigServlet.Zt(ConfigServlet.java:614)
com.servoy.j2db.server.servlets.ConfigServlet.service(ConfigServlet.java:1500)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
java.lang.Thread.run(Thread.java:680)
Thread: Timer-1, state: WAITING, total cpu time: 0.095ms, total user time: 0.033ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
java.util.TimerThread.mainLoop(Timer.java:483)
java.util.TimerThread.run(Timer.java:462)
Thread: Java2D Disposer, state: WAITING, total cpu time: 1.918ms, total user time: 1.522ms
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
sun.java2d.Disposer.run(Disposer.java:127)
java.lang.Thread.run(Thread.java:680)
Thread: MySQL Statement Cancellation Timer, state: WAITING, total cpu time: 0.055ms, total user time: 0.026ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
java.util.TimerThread.mainLoop(Timer.java:483)
java.util.TimerThread.run(Timer.java:462)
Thread: Worker-4, state: TIMED_WAITING, total cpu time: 2694.579ms, total user time: 2616.867ms
java.lang.Object.wait(Native Method)
org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:185)
org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:217)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)
Thread: Worker-3, state: TIMED_WAITING, total cpu time: 49.821ms, total user time: 47.522ms
java.lang.Object.wait(Native Method)
org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:185)
org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:217)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)
Thread: http-8080-Acceptor-0, state: RUNNABLE, total cpu time: 2.554ms, total user time: 1.735ms
java.net.PlainSocketImpl.socketAccept(Native Method)
java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
java.net.ServerSocket.implAccept(ServerSocket.java:462)
java.net.ServerSocket.accept(ServerSocket.java:430)
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:61)
org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:317)
java.lang.Thread.run(Thread.java:680)
Thread: ContainerBackgroundProcessor[StandardEngine[Catalina]], state: TIMED_WAITING, total cpu time: 6.254ms, total user time: 4.359ms
java.lang.Thread.sleep(Native Method)
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1579)
java.lang.Thread.run(Thread.java:680)
Thread: ModificationWatcher Task, state: TIMED_WAITING, total cpu time: 2.313ms, total user time: 1.905ms
java.lang.Thread.sleep(Native Method)
org.apache.wicket.util.time.Duration.sleep(Duration.java:445)
org.apache.wicket.util.thread.Task$1.run(Task.java:130)
java.lang.Thread.run(Thread.java:680)
Thread: Timer-0, state: WAITING, total cpu time: 0.814ms, total user time: 0.638ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
java.util.TimerThread.mainLoop(Timer.java:483)
java.util.TimerThread.run(Timer.java:462)
Thread: pool-2-thread-1, state: TIMED_WAITING, total cpu time: 0.409ms, total user time: 0.362ms
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2025)
java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:609)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:602)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
java.lang.Thread.run(Thread.java:680)
Thread: PingScanner, state: TIMED_WAITING, total cpu time: 0.465ms, total user time: 0.352ms
java.lang.Object.wait(Native Method)
com.servoy.j2db.dataprocessing.Zn.run(Zn.java:18)
java.lang.Thread.run(Thread.java:680)
Thread: MessageScheduler, state: TIMED_WAITING, total cpu time: 1.139ms, total user time: 1.062ms
java.lang.Object.wait(Native Method)
com.servoy.j2db.dataprocessing.Zp.run(Zp.java:52)
java.lang.Thread.run(Thread.java:680)
Thread: MessagePreHandler, state: WAITING, total cpu time: 0.07ms, total user time: 0.039ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
com.servoy.j2db.dataprocessing.ClientMessagePreQueueHandler.run(ClientMessagePreQueueHandler.java:37)
java.lang.Thread.run(Thread.java:680)
Thread: SQLExplorerPlugin.ConnectionsTimer, state: TIMED_WAITING, total cpu time: 29.466ms, total user time: 26.418ms
java.lang.Thread.sleep(Native Method)
net.sourceforge.sqlexplorer.plugin.SQLExplorerPlugin$ConnectionsTimer.run(SQLExplorerPlugin.java:70)
Thread: DLTK indexing, state: WAITING, total cpu time: 791.461ms, total user time: 752.889ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
org.eclipse.dltk.internal.core.search.processing.JobManager.run(JobManager.java:435)
java.lang.Thread.run(Thread.java:680)
Thread: Bundle File Closer, state: WAITING, total cpu time: 8.484ms, total user time: 4.19ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:397)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:333)
Thread: AWT-Shutdown, state: WAITING, total cpu time: 0.11ms, total user time: 0.032ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:265)
java.lang.Thread.run(Thread.java:680)
Thread: Worker-0, state: TIMED_WAITING, total cpu time: 35.765ms, total user time: 33.876ms
java.lang.Object.wait(Native Method)
org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:185)
org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:217)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)
Thread: [Timer] - Main Queue Handler, state: TIMED_WAITING, total cpu time: 1.641ms, total user time: 1.341ms
java.lang.Object.wait(Native Method)
org.eclipse.equinox.internal.util.impl.tpt.timer.TimerImpl.run(TimerImpl.java:141)
java.lang.Thread.run(Thread.java:680)
Thread: Framework Event Dispatcher, state: WAITING, total cpu time: 28.757ms, total user time: 26.705ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:397)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:333)
Thread: Start Level Event Dispatcher, state: WAITING, total cpu time: 189.436ms, total user time: 183.82ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:397)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:333)
Thread: State Data Manager, state: TIMED_WAITING, total cpu time: 0.052ms, total user time: 0.022ms
java.lang.Thread.sleep(Native Method)
org.eclipse.osgi.internal.baseadaptor.StateManager.run(StateManager.java:306)
java.lang.Thread.run(Thread.java:680)
Thread: Poller SunPKCS11-Darwin, state: TIMED_WAITING, total cpu time: 8.2ms, total user time: 7.242ms
java.lang.Thread.sleep(Native Method)
sun.security.pkcs11.SunPKCS11$TokenPoller.run(SunPKCS11.java:692)
java.lang.Thread.run(Thread.java:680)
Thread: Signal Dispatcher, state: RUNNABLE, total cpu time: 0.034ms, total user time: 0.013ms
Thread: Finalizer, state: WAITING, total cpu time: 38.112ms, total user time: 34.172ms
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
Thread: Reference Handler, state: WAITING, total cpu time: 18.64ms, total user time: 16.426ms
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
Thread: main, state: RUNNABLE, total cpu time: 7613.111ms, total user time: 6931.728ms
org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(Native Method)
org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42)
org.eclipse.swt.widgets.Display.sleep(Display.java:3905)
org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:364)
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2406)
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
org.eclipse.equinox.launcher.Main.run(Main.java:1311)