RubyMine (v 117.230) hangs on project open with 100% CPU

Please see screenshot in the attachment. This happens occasionally on project open. RubyMine hangs, CPU is 100%. I left it running for 5-10 minutes - however no luck. It doesn't come back.

Then I kill the process and on the next start it works fine.

Thanks,
emil



Attachment(s):
ruby_mine_hangs_100_cpu_usage.tiff
8 comments
Comment actions Permalink

Attaching Rubymine logs. Very busy - there are various exceptions, related to the concurrency, then some exceptions trying to invoke win32.bat files on OS X ? etc etc

Hope this provides more insight,

Thanks,
emil



Attachment(s):
idea.log.zip
0
Comment actions Permalink

Please click on background processes and attach screenshot so we can see what processes are actually running inside RubyMine

0
Comment actions Permalink

Hi Dennis,

The RubyMine doesn't respond so I can't click on any menu items. The OS X 'beach ball' is spinning indefintely and I have to kill the process and restart.

Here is another stack trace that I see often in the logs :

2012-05-15 23:33:43,854 [23608520]  ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.intellij.ide.util.treeView.AbstractTreeUi$37@5ef7fb6a,notifier=null,catchExceptions=false,when=1337150023853] on apple.awt.CToolkit@450b9338
java.lang.NullPointerException
        at com.intellij.ide.projectView.PresentationData.updateFrom(PresentationData.java:171)
        at com.intellij.ide.util.treeView.smartTree.TreeElementWrapper.update(TreeElementWrapper.java:35)
        at com.intellij.ide.util.treeView.PresentableNodeDescriptor.getUpdatedPresentation(PresentableNodeDescriptor.java:87)
        at com.intellij.ide.util.treeView.PresentableNodeDescriptor.update(PresentableNodeDescriptor.java:39)
        at com.intellij.ide.util.treeView.AbstractTreeUi.doUpdateNodeDescriptor(AbstractTreeUi.java:3231)
        at com.intellij.ide.util.treeView.AbstractTreeBuilder.updateNodeDescriptor(AbstractTreeBuilder.java:563)
        at com.intellij.ide.util.treeView.AbstractTreeUi$21.run(AbstractTreeUi.java:904)
        at com.intellij.ide.util.treeView.AbstractTreeUi.execute(AbstractTreeUi.java:1747)
        at com.intellij.ide.util.treeView.AbstractTreeUi.execute(AbstractTreeUi.java:1738)
        at com.intellij.ide.util.treeView.AbstractTreeUi._update(AbstractTreeUi.java:901)
        at com.intellij.ide.util.treeView.AbstractTreeUi.update(AbstractTreeUi.java:856)
        at com.intellij.ide.util.treeView.AbstractTreeUi.processExistingNode(AbstractTreeUi.java:2944)
        at com.intellij.ide.util.treeView.AbstractTreeUi.access$5300(AbstractTreeUi.java:58)
        at com.intellij.ide.util.treeView.AbstractTreeUi$32$1.run(AbstractTreeUi.java:1646)
        at com.intellij.ide.util.treeView.AbstractTreeUi$34.run(AbstractTreeUi.java:1731)
        at com.intellij.ide.util.treeView.AbstractTreeUi.execute(AbstractTreeUi.java:1747)
        at com.intellij.ide.util.treeView.AbstractTreeUi.execute(AbstractTreeUi.java:1738)
        at com.intellij.ide.util.treeView.AbstractTreeUi.execute(AbstractTreeUi.java:1729)
        at com.intellij.ide.util.treeView.AbstractTreeUi.access$5600(AbstractTreeUi.java:58)
        at com.intellij.ide.util.treeView.AbstractTreeUi$33.run(AbstractTreeUi.java:1698)
        at com.intellij.ide.util.treeView.AbstractTreeUi.executeYieldingRequest(AbstractTreeUi.java:2001)
        at com.intellij.ide.util.treeView.AbstractTreeUi.access$6200(AbstractTreeUi.java:58)
        at com.intellij.ide.util.treeView.AbstractTreeUi$37$1.run(AbstractTreeUi.java:1892)
        at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:1759)
        at com.intellij.ide.util.treeView.AbstractTreeBuilder.runOnYeildingDone(AbstractTreeBuilder.java:432)
        at com.intellij.ide.util.treeView.AbstractTreeUi.runOnYieldingDone(AbstractTreeUi.java:2106)
        at com.intellij.ide.util.treeView.AbstractTreeUi$37.run(AbstractTreeUi.java:1888)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:682)
        at java.awt.EventQueue.access$000(EventQueue.java:85)
        at java.awt.EventQueue$1.run(EventQueue.java:643)
        at java.awt.EventQueue$1.run(EventQueue.java:641)

0
Comment actions Permalink

Please attach full content of log folder including threaddumps directory when hang occurs next time.

0
Comment actions Permalink

Here it is.

Thanks,
emil



Attachment(s):
logs.zip
0
Comment actions Permalink

Emil,

looks like some lexer is hanging while building indices. We've fixed couple of similar problems recently, could you please try 4.5 EAP and see if the problem persists.

0
Comment actions Permalink

Hi Dennis,

Thanks. Yes, I've downloaded the 4.5 EAP last Friday and so far so good. The app doesn't freeze anymore.

There are other issues that I've run into with EAP. Do I post them in this forum too?

Thanks,
emil

0
Comment actions Permalink

Good to hear that freezes are gone.
Please report problems you encounter at our bugtracker, feedback is very welcome

0

Please sign in to leave a comment.