JDK-6563027 : Crash in JVM while running NetBeans 6.0 m9
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 6u1
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: generic
  • Submitted: 2007-05-29
  • Updated: 2010-04-03
  • Resolved: 2009-07-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
I periodically get a crash in the JVM on Linux (Ubuntu Egdy) while running NetBeans 6.0 m9 on JDK 6u1. This happens fairly regularly with about 30-90 minutes of use. It fails on JDK 6 as well. My project contains only 4 Java files, and when it dies, it's always when I am building (compiling) the project. I'm running with the concurrent garbage collector, using the following options:

-Xms64m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=256m -Dnetbeans.logger.console=true -ea -Dapple.laf.useScreenMenuBar=true -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled

Here is a pointer to the hs_err* file, the Linux core file, and the output from netbeans (although that probably won't help much):

http://beethoven.sfbay.sun.com/nb-crash/2007-05-29

Btw, I plan to go back to the standard garbage collector and see if it happens again. I'll post the results of that experiment.

Comments
EVALUATION This looks like another instance of 6798898 which is a bug in the class unloading.
29-07-2009

WORK AROUND Submitter didn't see the issue when CMS was not enabled.
08-10-2007