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 246637

Summary: JVM crash when profiling unit test
Product: profiler Reporter: _ gtzabari <gtzabari>
Component: BaseAssignee: issues@profiler <issues>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jskrivanek
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Crash dump

Description _ gtzabari 2014-08-22 12:09:00 UTC
Created attachment 148839 [details]
Crash dump

Product Version: NetBeans IDE Dev (Build 201408170001)
Java: 1.8.0_20; Java HotSpot(TM) 64-Bit Server VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

I get this crash repeatedly (but randomly) when profiling my unit tests (see attached crash dump). Looking at the dump and bug #62919 I believe the problem is in Netbeans native code (not the JVM). Do you agree?
Comment 1 _ gtzabari 2014-08-22 12:12:38 UTC
I reproduced the problem by doing the following:

1. Profile Test File
2. Custom
3. Memory Profiling -> Advanced -> Record stack trace for allocations, Enable thread monitoring.
4. Run
5. The application runs for a few seconds, then the JVM crashes.
Comment 2 Tomas Hurka 2015-07-20 14:14:40 UTC
I am not able to reproduce it with latest dev. build.