-
Bug
-
Resolution: Won't Fix
-
P3
-
hs24
As of JDK1.7.0b08, I've found a reproducible crash in the VM that I encounter when using the Netbeans Profiler. I'm using NB5.5, and I've also seen the crash with NB6m7. The crash does not happen with b07, but does happen with b08 and b10. The crash happens with both the client and server VM. I was testing with the TreeTest in SwingMark; it may well happen with other tests as well.
I've attached the hs_err file, as well as a slimmed down NetBeans project. To reproduce the problem:
* open the project in NetBeans
* set the platform to JDK1.7.0b08 or later
* set the working directory to the src directory in the project (the test needs to read TestList.txt)
* Profile the Project
* select "Analyze Performance"
* Entire Application
* Profile All Classes
The test gets through almost 2 iterations of TreeTest before crashing. The output is below:
-----
init:
profile-init:
deps-jar:
compile:
profile:
Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 2)
Profiler Agent: Established local connection with the tool
Starting SwingMark
SwingMark Test started at Wed Mar 28 16:22:36 PDT 2007
Will run test 5 times in the same VM
Program will automatically terminate after last run
Setting L&F to: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Startup Time: 6109
Tree = 22797 (Paint = 827)
**** Starting run 2****
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d9ba7bb, pid=3836, tid=672
#
# Java VM: Java HotSpot(TM) Client VM (1.7.0-ea-b10 mixed mode)
# Problematic frame:
# V [jvm.dll+0x13a7bb]
#
# An error report file with more information is saved as hs_err_pid3836.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Profiler Agent: Initializing...
Profiler Agent: Options: >C:\netbeans5.5\profiler1\lib,5140,10<
Profiler Agent: Initialized succesfully
Profiler Agent: Redefining 100 classes at idx 0, out of total 402
Profiler Agent: Redefining 100 classes at idx 100, out of total 402
Profiler Agent: Redefining 100 classes at idx 200, out of total 402
Profiler Agent: Redefining 100 classes at idx 300, out of total 402
Profiler Agent: Redefining 2 classes at idx 400, out of total 402
Java Result: 1
BUILD SUCCESSFUL (total time: 53 seconds)
I've attached the hs_err file, as well as a slimmed down NetBeans project. To reproduce the problem:
* open the project in NetBeans
* set the platform to JDK1.7.0b08 or later
* set the working directory to the src directory in the project (the test needs to read TestList.txt)
* Profile the Project
* select "Analyze Performance"
* Entire Application
* Profile All Classes
The test gets through almost 2 iterations of TreeTest before crashing. The output is below:
-----
init:
profile-init:
deps-jar:
compile:
profile:
Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 2)
Profiler Agent: Established local connection with the tool
Starting SwingMark
SwingMark Test started at Wed Mar 28 16:22:36 PDT 2007
Will run test 5 times in the same VM
Program will automatically terminate after last run
Setting L&F to: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Startup Time: 6109
Tree = 22797 (Paint = 827)
**** Starting run 2****
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d9ba7bb, pid=3836, tid=672
#
# Java VM: Java HotSpot(TM) Client VM (1.7.0-ea-b10 mixed mode)
# Problematic frame:
# V [jvm.dll+0x13a7bb]
#
# An error report file with more information is saved as hs_err_pid3836.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Profiler Agent: Initializing...
Profiler Agent: Options: >C:\netbeans5.5\profiler1\lib,5140,10<
Profiler Agent: Initialized succesfully
Profiler Agent: Redefining 100 classes at idx 0, out of total 402
Profiler Agent: Redefining 100 classes at idx 100, out of total 402
Profiler Agent: Redefining 100 classes at idx 200, out of total 402
Profiler Agent: Redefining 100 classes at idx 300, out of total 402
Profiler Agent: Redefining 2 classes at idx 400, out of total 402
Java Result: 1
BUILD SUCCESSFUL (total time: 53 seconds)