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.
Product Version: NetBeans IDE Dev (Build 200708130000) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) Performed steps: - Profiled NetBeans was started with the customized userdir and agentpath parameters for direct attach - Memory Task was chosen for profiling - On Take Heap Dump action profiled application was crashed with the following message: # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c3429c1, pid=2924, tid=5460 # # Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode) # Problematic frame: # C [msvcr71.dll+0x29c1] # # An error report file with more information is saved as hs_err_pid2924.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp #
Created attachment 46653 [details] Profiled NetBeans messages.log
Created attachment 46654 [details] hs_err_pid2924.log
Low reproducibility.
Reproduced this crash. No heap dump action were invoked. Profiled NetBeans was just starting when it crashed. The following task of profiling was selected: Memory Allocation, each 50 object, record allocation stack traces.
Created attachment 47647 [details] Profiled NetBeans output
Created attachment 47648 [details] Error report
Reproduced two more times
This does not seem to bug in profiler. The JVm crash happen while doing GC and is probably related to the fact that NetBeans now uses CMS (Concurrent-Mark-Sweep GC). Please try to reproduce it with disabled CMS or use latest >=18 build of JDK7.
This crash was reproduced during JavaFX plugin profiling in allocation memory profiling mode with enabled allocation stack traces. No exact steps are available yet.
Created attachment 49747 [details] Error report
It seems that the crash happens only when CMS GC is enabled. Reproduced the crash 3 times with CMS GC enabled. Was not able to reproduce it with the same scenario having CMS GC disabled, performed 3 attempts.
Created attachment 52373 [details] One more error report
Created attachment 52374 [details] One more error report
Created attachment 52375 [details] One more error report
Please try latest JDK 1.6.0_04.
JDK 1.6.0_04 is not yet available. Will it make sense to check this issue with JDK 1.6.0_03?
Try https://jdk6.dev.java.net/
Reproduced with JDK 1.6.0_03 and 1.6.0_05. Please also note that NetBeans 6.0 target JDK is 1.6.0_03 according to http://wiki.netbeans.org/wiki/view/NB6TestedPlatformsAndRuntimes .
Created attachment 52669 [details] Error report for JDK 1.6.0_03
Created attachment 52670 [details] Error report for JDK 1.6.0_05
Filed JDK issue http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6630863
Verified wontfix