Spontaneous Closing (Crash?) of the IDEA while working with Scala

Hi,
while working with IDEA IU-93.54, Scala Plugin 0.3.385, Java 1.6.0_12, Windows 7 the IDE closes more and more often spontaneously while I type code.

This has happened with other versions before, but now it tends to happen every 5 minutes.

The option "confirm application exit" is enabled, but of course no such confirmation is asked for.

Questions therefore:
- Have other people experienced it?
- Is there a solution?
- What can be done to diagnose the problem? I get no notifications that indicate any relationship with the problem. Any logging options I can activate in the IDE or the VM?

I am currently only working on Scala; the problem may well have nothing to do with the Scala plugin, but I have no possibility to find that out.

5/1/2010: Problem still very much present - and I get the feeling it IS related to Scala since the IDE closes very often when I'm editing certain scala files - it could well be related to some Syntax issues. (I have many files where Idea underlines lots of lines in red, although the code is perfectly valid). Then on other files everything works fine.

Thanks,

Tim

9 comments
Comment actions Permalink

Hello Tim,

There should be several files called hs_err_*.log in the bin directory of
the IntelliJ IDEA installation. If you can find such a file and attach it,
this would allow us to understand where the problem is.

Also, we recommend to upgrade to JDK 1.6.0_17, although there's no guarantee
that it will solve the issue.

Hi,
while working with IDEA IU-93.54, Scala Plugin 0.3.385, Java 1.6.0_12,
Windows 7 the IDE closes more and more often spontaneously while I
type code.
This has happened with other versions before, but now it tends to
happen every 5 minutes.

The option "confirm application exit" is enabled, but of course no
such confirmation is asked for.

Questions therefore:
- Have other people experienced it?
- Is there a solution?
- What can be done to diagnose the problem? I get no notifications
that indicate any relationship with the problem. Any logging options I
can activate in the IDE or the VM?
I am currently only working on Scala; the problem may well have
nothing to do with the Scala plugin, but I have no possibility to find
that out.

Thanks,

Tim

---
Original message URL:
http://www.jetbrains.net/devnet/message/5253456#5253456

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hi Dmitry,

thanks for your reply. Yes I have a ton of those - see attached. I will also upgrade my Java, since it does seem that the VM is crashing.

Best wishes,
Tim



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

Under java ..017, I am still experiencing these crashes (although perhaps I bit less frequent). Report attached.



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

Hello Tim,

thanks for your reply. Yes I have a ton of those - see attached. I
will also upgrade my Java, since it does seem that the VM is crashing.


As far as I can see, the crash happens during GC, so one possible way to
avoid it is to try changing to a different GC algorithm in the VM options.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

I can suggest you to change IDEA VM option to remove -agentlib option (see idea.exe.vmoptions file in bin directory). This can fix your problem.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Hi,

I have the same problem: not a day without IDE crashes.

Environment:
------------
IntelliJ IDEA (Maia) IU-94.273
------------

$ java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)


------------

$ uname -a
Linux 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:02:26 UTC 2010 x86_64 GNU/Linux

0
Comment actions Permalink

Ooh! I know the answer to this one!!

Add the following to your idea.vmoptions (quickly!):


-XX:-ReduceInitialCardMarks


This problem occurs with other applications, too, though apparently not all. Kojo is, if anything, more susceptible to these crashes (and it is also fixed by adding this option).

See the "Known Issues" section of the u18 Release Notes for more information.

Note: This is a Sun JVM 1.6.0_u18 (specifically u18) bug. It certainly did not occur in u17.


Randall Schulz

0
Comment actions Permalink

Thanks, Randall. I will try it.

0
Comment actions Permalink

It seems that you have right: I have no crashes with this option. Thanks a lot!

0

Please sign in to leave a comment.