IDEA 14.0.2 hangs?

Anyone else having this problem?  Since I upgraded to 14.0.2 Ultimate, it randomly hangs and becomes completely unresponsive.   Usually it's after I click the Windows "X" to close the app or after I attempt to switch projects.   Running in Windows 7 64 bit.   

I'm running on Java 7.0:

java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

And I'm attaching a thread dump.   



Attachment(s):
thread_dump_output.txt.zip
26 comments
Comment actions Permalink

Please check for the automatic thread dumps and attach them (several, but not one file) when the issue occurs again. And if there are not automatic thread dumps please create several manually.

See details here.

0
Comment actions Permalink

Here's everything from the logs folder - hope it helps.   This is pretty much happening any time I try to close IDEA or switch projects, so this is a pretty serious problem for me.    I hope you can find an answer for it.



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

same problem but on a different OS (fedora linux v21) and jdk (v1.8).  my 14.0.02 ultimate is useless at this point.  i've attached
the automatically generated thread dumps.

/mark kennedy (mtk@acm.org)



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

btw, my hangs occur just after the creation of a new simple java project after a fresh install of ultimate and the removal of my ~/.IntellijIdea14 and ~/IdeaProjects directories (so *no* saved state).  i take all of the defaults when ultimate first starts.  to trigger a hang, i just have to click on a few menu items or directories in the project structure window.  /mark

0
Comment actions Permalink

is EAP a workaround?

0
Comment actions Permalink

mtk@acm.org wrote:

is EAP a workaround?


I'm hoping they have a quick fix for this without going to the EAP, but it may come to that.   I'd rather not, though.   Who knows what other problems that would bring!  The big reason I love IntelliJ is for the stability.  This is the first major problem I've had with it.

0
Comment actions Permalink

the current EAP (idea-IU-139.791.2) hangs just like the prod release (idea-IU-139.659.2).  sigh...

0
Comment actions Permalink

I've got exactly the same issue, opening a project, typing away in the editor and a few moments later it hangs for a few seconds. On Linux Mint with JDK 8.

It seems the EAP doesn't help so it's back to http://download.jetbrains.com/idea/ideaIU-14.0.1.tar.gz



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

mtk@acm.org wrote:

the current EAP (idea-IU-139.791.2) hangs just like the prod release (idea-IU-139.659.2).  sigh...

That's unfortunate - if there's no quick resolution (by end of day today) I may have to go back to 13.   I need this to work.  Hopefully the Gods of Intellij are listening.

0
Comment actions Permalink

i think what might matter (according to a suggestion from jetbrains) is your JDK.  i was using openjdk, the default with fedora.  they urged me to switch to the oraclejdk.  it fixed one problem i had with idea restarts failing and it seems to be stable (so far).

0
Comment actions Permalink

I'll try the OracleJDK and report back.

0
Comment actions Permalink

OK, this is weird - Installing the new Oracle JDK (had 1.7.055, now using 1.8.025) did NOT solve the problem.

But after the install I checked and updated my proxy settings and THAT apparently has fixed the problem!

The other piece of news was this timeout that showed up in the console:

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
[ 114923]   WARN - .ExternalResourceManagerExImpl - Cannot find standard resource. filename:/META-INF/tapestry_5_0_0.xsd class=class
com.intellij.javaee.ResourceRegistrarImpl, classLoader:null
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1371)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
        at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:1119)
        at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:308)
        at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:45)
        at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:67)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
        at sun.security.ssl.InputRecord.read(InputRecord.java:505)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954)
        ... 7 more
[ 365507]   WARN - ateSettings.impl.UpdateChecker - Connection failed. Please check your network connection and try again.


Not sure how these two are connected, or IF they are, but if you're still having unexplained periodic hangs you might want to check your proxy settings.

0
Comment actions Permalink

If it does turn out to be the proxy settings, the IDEA developers should definitely fix this to give the user some visual cue rather than just have the program hang indefinitely.

0
Comment actions Permalink

WHOOPS - I thought this was "fixed" by updating my proxy settings, but it just did it to me again.  Something is still wrong.   All I had to do was try to reopen an existing project (File/Reopen) and bam, it's locked up.


I'm going to file this as an "official" support request - Day before Christmas I know the timing is bad, but hopefully they can get to it by Monday.

0
Comment actions Permalink

Same issue here. I am using Windows 7 Oracle JDK 8.

The version 14.0.1 was working perfectly fine.

Is there any way we can download that version?

Thanks,
Noorul

0
Comment actions Permalink

Guys,
please take a couple of jstack thread dumps exactly when IDEA hangs.

0
Comment actions Permalink

Ok, here is the update.

I am still on the current version. I am behind proxy and I saved my password. Guessing it to be related to proxy, I just reentered and resaved my proxy password and tested the internet connection. Since then it is working fine. I have the same issue in Android Studio but over there, it just gives me a 403 error without hanging and I perform the same trick.  Please try this and let us know whether it is working for you.

Thanks,
Noorul

0
Comment actions Permalink

Please check if disabling usage statistics in IDE settings helps.

0
Comment actions Permalink

trespasserw wrote:

Please check if disabling usage statistics in IDE settings helps.


Yes, that seems to have helped.   But what a nasty bug!

0
Comment actions Permalink

Sad combination of a design flaw and bad internet connection. Please vote/watch IDEA-92654.

0
Comment actions Permalink

Over here it randomly hangs on Linux Mint 17 ever since upgrading to Idea 14. Right now on an EAP 14.0.3 release.



I got it today to consistently hang while opening a specific file. The idea.log doesn't say anything, however all the dumps show this entry at the beginning:

"AWT-EventQueue-0 14.0.3#IU-139.791.2, eap:true" prio=0 tid=0x0 nid=0x0 runnable
     java.lang.Thread.State: RUNNABLE
(in native)
 at sun.java2d.loops.Blit.$$YJP$$Blit(Native Method)
 at sun.java2d.loops.Blit.Blit(Blit.java)
 at sun.java2d.xr.XRPMBlitLoops.cacheToTmpSurface(XRPMBlitLoops.java:146)
 at sun.java2d.xr.XrSwToPMBlit.Blit(XRPMBlitLoops.java:348)
 at sun.java2d.SurfaceDataProxy.updateSurfaceData(SurfaceDataProxy.java:498)
 at sun.java2d.SurfaceDataProxy.replaceData(SurfaceDataProxy.java:455)
 at sun.java2d.SurfaceData.getSourceSurfaceData(SurfaceData.java:233)
 at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:564)
 at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:86)
 at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1026)
 at sun.java2d.SunGraphics2D.copyImage(SunGraphics2D.java:3080)
 at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3121)
 at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3065)
 at com.intellij.ui.tabs.impl.JBTabsImpl.paintNonSelected(JBTabsImpl.java:2032)
 at com.intellij.ui.tabs.impl.JBTabsImpl.paintNonSelectedTabs(JBTabsImpl.java:1994)
 at com.intellij.ui.tabs.impl.JBTabsImpl.paintComponent(JBTabsImpl.java:1673)
 at javax.swing.JComponent.paint(JComponent.java:1054)
 at com.intellij.ui.tabs.impl.JBTabsImpl.paint(JBTabsImpl.java:2286)
 at javax.swing.JComponent.paintChildren(JComponent.java:887)
 at javax.swing.JComponent.paint(JComponent.java:1063)
 at javax.swing.JComponent.paintChildren(JComponent.java:887)
 at javax.swing.JComponent.paint(JComponent.java:1063)
 at javax.swing.JComponent.paintChildren(JComponent.java:887)
 at javax.swing.JComponent.paint(JComponent.java:1063)
 at javax.swing.JComponent.paintChildren(JComponent.java:887)
 at javax.swing.JComponent.paint(JComponent.java:1063)
 at javax.swing.JComponent.paintChildren(JComponent.java:887)
 at javax.swing.JComponent.paint(JComponent.java:1063)
 at javax.swing.JComponent.paintChildren(JComponent.java:887)
 at javax.swing.JComponent.paint(JComponent.java:1063)
 at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
 at javax.swing.JComponent.paintChildren(JComponent.java:887)
 at com.intellij.openapi.wm.impl.ToolWindowsPane.paintChildren(ToolWindowsPane.java:185)
 at javax.swing.JComponent.paint(JComponent.java:1063)
 at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
 at javax.swing.JComponent.paintChildren(JComponent.java:887)
 at javax.swing.JComponent.paint(JComponent.java:1063)
 at javax.swing.JComponent.paintChildren(JComponent.java:887)
 at javax.swing.JComponent.paint(JComponent.java:1063)
 at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
 at javax.swing.JComponent.paintToOffscreen(JComponent.java:5219)
 at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1529)
 at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1452)
 at javax.swing.RepaintManager.paint(RepaintManager.java:1249)
 at javax.swing.JComponent._paintImmediately(JComponent.java:5167)
 at javax.swing.JComponent.paintImmediately(JComponent.java:4978)
 at javax.swing.RepaintManager$3.run(RepaintManager.java:808)
 at javax.swing.RepaintManager$3.run(RepaintManager.java:796)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
 at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
 at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
 at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718)
 at javax.swing.RepaintManager.access$1100(RepaintManager.java:62)
 at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
 at java.awt.EventQueue.access$200(EventQueue.java:103)
 at java.awt.EventQueue$3.run(EventQueue.java:694)
 at java.awt.EventQueue$3.run(EventQueue.java:692)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:748)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:577)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Just to mention the computer looks completely idle for 10 mins now. Its specs:  Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 32GB RAM of only 5.5GB in use right now

0
Comment actions Permalink

Consistently as in "kill IDEA, start it, open the same file, hang again"?

0
Comment actions Permalink

Thank you for your reply.

Indeed, I was able to reproduce this cycle (open file, idea hangs, kill idea) four times. When hanging, the ide would cease to respond, loosing focus and all. Disabling sending of usage stats didn't help either.


However, I was able to solve this, at least temporarily. Not before having to open and doing my small edit in the culprit file in gedit, yuck.

So, what seems to work here is creating a inspection profile where I basically disable all inspections. However, this didn't work right away, I think it takes opening a couple files and really making sure the inspection doesn't work at all, sync project for good measure, etc.

If you need the whole threaddumps let me know, however the excerpt I posted seemed to be the only common piece AFTER the hanging occurred.

0
Comment actions Permalink

In your case IDEA hangs deep in AWT drawing code, so statistics have nothing to do with it.
I have filed an issue for your case (IDEA-135024). Please reproduce the hang once again, take full IDE window screenshots before and after opening a problematic tab, and attach them to the issue.

0
Comment actions Permalink

Done, thank you

0

Please sign in to leave a comment.