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 246851 - GlassFish JVM crashed when profiler attached
Summary: GlassFish JVM crashed when profiler attached
Status: VERIFIED DUPLICATE of bug 240763
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-03 12:55 UTC by Jiri Skrivanek
Modified: 2014-09-03 13:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Crash log. (38.18 KB, application/octet-stream)
2014-09-03 12:55 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2014-09-03 12:55:32 UTC
Created attachment 149020 [details]
Crash log.

GlassFish JVM crashes when profiler is attached. To reproduce:

- create java web application with GlassFish server (JDK8u5)
- add servlet to project
- run project
- from main menu choose "Profile|Profile external process"
- select Methods
- add created servlet to selected classes
- click Profile and select GlassFish JVM process
- it fails almost immediately 

Info:   Profiler Agent: Waiting for connection on port 5140 (Protocol version: 16)
Info:   Profiler Agent: Established connection with the tool
Info:   Profiler Agent: Local accelerated session
Info:   Profiler Agent: Connection with agent closed
Info:   Profiler Agent: Waiting for connection on port 5140 (Protocol version: 16)
Info:   Profiler Agent: Established connection with the tool
Info:   Profiler Agent: Local accelerated session
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (constantPool.cpp:1351), pid=27044, tid=27640
#  Error: ShouldNotReachHere()
#
# JRE version: Java(TM) SE Runtime Environment (8.0_05-b13) (build 1.8.0_05-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.5-b02 mixed mode windows-amd64 compressed oops)
# Core dump written. Default location: C:\Users\jskrivanek\GlassFish_Server\glassfish\domains\domain1\config\hs_err_pid27044.mdmp
#
# An error report file with more information is saved as:
# C:\Users\jskrivanek\GlassFish_Server\glassfish\domains\domain1\config\hs_err_pid27044.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0
Profiler Agent: JNI OnLoad Initializing...
Profiler Agent: JNI OnLoad Initialized successfully
Profiler Agent: 250 classes cached.



Product Version: NetBeans IDE Dev (Build 201409030001)
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; Cp1250; en_US (nb)
Comment 1 Tomas Hurka 2014-09-03 13:05:46 UTC

*** This bug has been marked as a duplicate of bug 240763 ***
Comment 2 Jiri Skrivanek 2014-09-03 13:47:56 UTC
It is fixed in JDK8u25.