This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 104225

Summary: Crash in NB6 after running for a while
Product: ide Reporter: kcr <kcr>
Component: CodeAssignee: issues@ide <issues>
Status: RESOLVED WONTFIX    
Severity: blocker CC: rkubacki
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Console log file
Java error log

Description kcr 2007-05-17 23:37:08 UTC
NB6 crashed on me with in the VM (with a SEGV) after running it for several
hours. I have attached the last bit of the output log plus the hs_err file from
java.

I'm running 6.0m9 and JDK 1.6.0 FCS on a Linux system. I started up netbeans
with the following options:

netbeans_default_options="-J-Xms64m -J-Xmx512m -J-XX:PermSize=64m -J-XX:MaxPermS
ize=256m -J-Dnetbeans.logger.console=true -J-ea -J-Dapple.laf.useScreenMenuBar=t
rue -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenS
weepingEnabled"

Let me know if you need more configuration information.
Comment 1 kcr 2007-05-17 23:37:50 UTC
Created attachment 42518 [details]
Console log file
Comment 2 kcr 2007-05-17 23:38:57 UTC
Created attachment 42519 [details]
Java error log
Comment 3 _ rkubacki 2007-05-20 19:14:05 UTC
According to crash log JVM crashed in hotspot compilation.
http://java.sun.com/javase/6/webnotes/trouble/index.html can be helpful. Perhaps
it is worth to search JDK bug database and/or update JDK to more recent version.
Comment 4 novakm 2007-07-26 15:15:29 UTC
Reporter, could you please confirm that updating JDK helped?
Comment 5 kcr 2007-07-26 23:33:14 UTC
Upgrading to JDK 6u1 did not help. What did help is to turn off the incremental garbage collector and use the standard
GC. I haven't seen any crashes since I did that (a couple months ago). I filed bug 6563027 against the JVM.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6563027
Comment 6 Peter Pis 2007-07-27 09:04:48 UTC
Radim, can this issue be closed?
Comment 7 _ rkubacki 2007-07-27 09:45:00 UTC
I guess we can close it now. We will be tracking the JDK bug. An option is to remove CMS from autotuning.