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 - JVM crash when profiling unit test
Summary: JVM crash when profiling unit test
Status: RESOLVED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-22 12:09 UTC by _ gtzabari
Modified: 2015-07-20 14:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Crash dump (34.37 KB, application/octet-stream)
2014-08-22 12:09 UTC, _ gtzabari
Details

Note You need to log in before you can comment on or make changes to this bug.
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.