IntelliJ IDEA keeps hanging on Mac

IntelliJ IDEA keeps hanging/freezing with some random UI operations. Here's the error report. Anyone seeing this before and what's the solution for this issue? Thanks!

Date/Time:      2015-10-28 14:07:38 -0700
OS Version:      10.10.4 (Build 14E46)
Architecture:    x86_64h
Report Version:  21

Command:        IntelliJ IDEA
Path:            /Applications/IntelliJ IDEA 14 CE.app/Contents/MacOS/idea
Version:        14.1.5 (IC-141.2735.5)
Parent:          launchd [1]
PID:            1593

Event:          hang
Duration:        4.10s (process was unresponsive for 16 seconds before sampling)
Steps:          42 (100ms sampling interval)

Hardware model:  MacBookPro11,5
Active cpus:    8

Fan speed:      3563 rpm

--------------------------------------------------
Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
--------------------------------------------------

Heaviest stack for the main thread of the target process:
  42  start + 52 (idea + 5540) [0x1000015a4]
  42  main + 175 (idea + 5759) [0x10000167f]
  42  parkRunLoop + 138 (idea + 6074) [0x1000017ba]
  42  CFRunLoopRunSpecific + 296 (CoreFoundation + 465880) [0x7fff853a4bd8]
  42  __CFRunLoopRun + 927 (CoreFoundation + 467391) [0x7fff853a51bf]
  42  __CFRunLoopDoSources0 + 269 (CoreFoundation + 469901) [0x7fff853a5b8d]
  42  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 (CoreFoundation + 526849) [0x7fff853b3a01]
  42  __NSThreadPerformPerform + 293 (Foundation + 601344) [0x7fff90895d00]
  42  -[AWTStarter starter:] + 873 (liblwawt.dylib + 57725) [0x11ae9f17d]
  42  +[NSApplicationAWT runAWTLoopWithApp:] + 156 (libosxapp.dylib + 9030) [0x11af49346]
  42  -[NSApplication run] + 594 (AppKit + 551667) [0x7fff91921af3]
  42  -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124 (libosxapp.dylib + 9443) [0x11af494e3]
  42  -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346 (AppKit + 593496) [0x7fff9192be58]
  42  _DPSNextEvent + 978 (AppKit + 596139) [0x7fff9192c8ab]
  42  _BlockUntilNextEventMatchingListInModeWithFilter + 71 (HIToolbox + 205099) [0x7fff8b0bc12b]
  42  ReceiveNextEventCommon + 431 (HIToolbox + 205546) [0x7fff8b0bc2ea]
  42  RunCurrentEventLoopInMode + 235 (HIToolbox + 206191) [0x7fff8b0bc56f]
  42  CFRunLoopRunSpecific + 296 (CoreFoundation + 465880) [0x7fff853a4bd8]
  42  __CFRunLoopRun + 1707 (CoreFoundation + 468171) [0x7fff853a54cb]
  42  __CFRunLoopDoObservers + 368 (CoreFoundation + 524416) [0x7fff853b3080]
  42  __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 (CoreFoundation + 524583) [0x7fff853b3127]
  42  setBusy + 121 (liblwawt.dylib + 57987) [0x11ae9f283]
  42  JNFCallStaticVoidMethod + 193 (JavaNativeFoundation + 16008) [0x1007eee88]
  42  jni_CallStaticVoidMethodV + 61 (libjvm.dylib + 3180422) [0x104a5a786]
  42  ThreadStateTransition::trans_from_native(JavaThreadState) + 119 (libjvm.dylib + 1594883) [0x1048d7603]
  42  JavaThread::check_safepoint_and_suspend_for_native_trans(JavaThread*) + 193 (libjvm.dylib + 5203061) [0x104c48475]
  42  SafepointSynchronize::block(JavaThread*) + 341 (libjvm.dylib + 4671583) [0x104bc685f]
  42  Monitor::lock_without_safepoint_check() + 39 (libjvm.dylib + 4186077) [0x104b4ffdd]
  42  Monitor::ILock(Thread*) + 251 (libjvm.dylib + 4185951) [0x104b4ff5f]
  42  ParkCommon(ParkEvent*, long long) + 42 (libjvm.dylib + 4184442) [0x104b4f97a]
  42  os::PlatformEvent::park() + 173 (libjvm.dylib + 4315231) [0x104b6f85f]
  42  __psynch_cvwait + 10 (libsystem_kernel.dylib + 90422) [0x7fff8e34e136]
*42  psynch_cvcontinue + 0 (pthread + 26908) [0xffffff7f80de291c]


Process:        idea (IntelliJ IDEA) [1593]
Path:            /Applications/IntelliJ IDEA 14 CE.app/Contents/MacOS/idea
Architecture:    x86_64
Parent:          launchd [1]
UID:            501
Task size:      248089 pages
CPU Time:        4.043s
Note:            Unresponsive for 16 seconds before sampling
Note:            2 idle work queue threads omitted

  Thread 0x4972      DispatchQueue 1    42 samples (1-42)  priority 46
  <thread QoS user interactive, boosted, received importance donation from WindowServer [164], IO policy important>
  42  start + 52 (idea + 5540) [0x1000015a4] 1-42
    42  main + 175 (idea + 5759) [0x10000167f] 1-42
      42  parkRunLoop + 138 (idea + 6074) [0x1000017ba] 1-42
        42  CFRunLoopRunSpecific + 296 (CoreFoundation + 465880) [0x7fff853a4bd8] 1-42
          42  __CFRunLoopRun + 927 (CoreFoundation + 467391) [0x7fff853a51bf] 1-42
            42  __CFRunLoopDoSources0 + 269 (CoreFoundation + 469901) [0x7fff853a5b8d] 1-42
              42  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 (CoreFoundation + 526849) [0x7fff853b3a01] 1-42
                42  __NSThreadPerformPerform + 293 (Foundation + 601344) [0x7fff90895d00] 1-42
                  42  -[AWTStarter starter:] + 873 (liblwawt.dylib + 57725) [0x11ae9f17d] 1-42
                    42  +[NSApplicationAWT runAWTLoopWithApp:] + 156 (libosxapp.dylib + 9030) [0x11af49346] 1-42
                      42  -[NSApplication run] + 594 (AppKit + 551667) [0x7fff91921af3] 1-42
                        42  -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124 (libosxapp.dylib + 9443) [0x11af494e3] 1-42
                          42  -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346 (AppKit + 593496) [0x7fff9192be58] 1-42
                            42  _DPSNextEvent + 978 (AppKit + 596139) [0x7fff9192c8ab] 1-42
                              42  _BlockUntilNextEventMatchingListInModeWithFilter + 71 (HIToolbox + 205099) [0x7fff8b0bc12b] 1-42
                                42  ReceiveNextEventCommon + 431 (HIToolbox + 205546) [0x7fff8b0bc2ea] 1-42
                                  42  RunCurrentEventLoopInMode + 235 (HIToolbox + 206191) [0x7fff8b0bc56f] 1-42
                                    42  CFRunLoopRunSpecific + 296 (CoreFoundation + 465880) [0x7fff853a4bd8] 1-42
                                      42  __CFRunLoopRun + 1707 (CoreFoundation + 468171) [0x7fff853a54cb] 1-42
                                        42  __CFRunLoopDoObservers + 368 (CoreFoundation + 524416) [0x7fff853b3080] 1-42
                                          42  __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 (CoreFoundation + 524583) [0x7fff853b3127] 1-42
                                            42  setBusy + 121 (liblwawt.dylib + 57987) [0x11ae9f283] 1-42
                                              42  JNFCallStaticVoidMethod + 193 (JavaNativeFoundation + 16008) [0x1007eee88] 1-42
                                                42  jni_CallStaticVoidMethodV + 61 (libjvm.dylib + 3180422) [0x104a5a786] 1-42
                                                  42  ThreadStateTransition::trans_from_native(JavaThreadState) + 119 (libjvm.dylib + 1594883) [0x1048d7603] 1-42
                                                    42  JavaThread::check_safepoint_and_suspend_for_native_trans(JavaThread*) + 193 (libjvm.dylib + 5203061) [0x104c48475] 1-42
                                                      42  SafepointSynchronize::block(JavaThread*) + 341 (libjvm.dylib + 4671583) [0x104bc685f] 1-42
                                                        42  Monitor::lock_without_safepoint_check() + 39 (libjvm.dylib + 4186077) [0x104b4ffdd] 1-42
                                                          42  Monitor::ILock(Thread*) + 251 (libjvm.dylib + 4185951) [0x104b4ff5f] 1-42
                                                            42  ParkCommon(ParkEvent*, long long) + 42 (libjvm.dylib + 4184442) [0x104b4f97a] 1-42
                                                              42  os::PlatformEvent::park() + 173 (libjvm.dylib + 4315231) [0x104b6f85f] 1-42
                                                                42  __psynch_cvwait + 10 (libsystem_kernel.dylib + 90422) [0x7fff8e34e136] 1-42
                                                                *42  psynch_cvcontinue + 0 (pthread + 26908) [0xffffff7f80de291c] 1-42

8 comments
Comment actions Permalink

Hi Serge, thanks for the reply. But for some reasons I cannot install Java8, can only use Java7 here. Is there a solution with Java7 for this issue?

0
Comment actions Permalink

I tried ideaIC-14.1.5-custom-jdk-bundled.dmg, still hangs with the same stack...

0
Comment actions Permalink

Attached the logs, dump and full mac error report here. Thanks!



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

You are running under JDK 1.7 instead of 1.8 custom JDK, it's not recommended. Please see https://intellij-support.jetbrains.com/entries/27854363 and https://intellij-support.jetbrains.com/entries/23455956 .

Use custom JDK build.

Try disabling CheckStyle-IDEA plug-in.

0
Comment actions Permalink

I've tried to use the custom JDK 1.8, still hitting the same issue

0
Comment actions Permalink

Did you disable CheckStyle plug-in? If so, attach the new logs and thread dumps.

You can also try IDEA 15 RC: https://confluence.jetbrains.com/display/IDEADEV/IDEA+15+EAP .

0

Please sign in to leave a comment.