Skip to Main Content

Crash JRockit (v. 1.6.0_33-20120618-1634-windows-x86_64)

952211Jul 27 2012 — edited Sep 3 2012
Bonjour,

As I said in my previous post, I'm trying to profile a Tomcat application (WS cxf, based on Spring).

I'm using Eclipse Indigo (SR2 32bits), with jrockit-jdk1.6.0_33-R28.2.4-4.1.0 (32 bits).

Tomcat is launched with Oracle JRockit(R) R28.2.4-14-151097-1.6.0_33-20120618-1634-windows-x86_64 with the debugging mode in Eclipse.

As I can profile my method with JRMC (subject of my first post), I try to use Visual VM ... with no more chance.

So I have installed Visual VM in eclipse too.

I launch Visual VM, it connects to the JRockit JVM running Tomcat ... and the JVM crashes :
Error Message: Illegal memory access. [54]
Exception Rec: EXCEPTION_ACCESS_VIOLATION (00000000c0000005) at 0x0000000000000000 - memory at 0x0000000000000000 could not be written.

Thanks for your help.

Bruno

===== BEGIN DUMP =============================================================
JRockit dump produced after 0 days, 00:03:18 on Fri Jul 27 15:39:35 2012

**************************************************************************
* If you see this dump, please go to *
* http://download.oracle.com/docs/cd/E15289_01/go2troubleshooting.html *
* for troubleshooting information. *
**************************************************************************

Additional information is available in:
C:\Developpement\eclipse-indigo-sr2-32\jrockit.3596.dump
C:\Developpement\eclipse-indigo-sr2-32\jrockit.3596.mdmp

Error Message: Illegal memory access. [54]
Exception Rec: EXCEPTION_ACCESS_VIOLATION (00000000c0000005) at 0x0000000000000000 - memory at 0x0000000000000000 could not be written.
Minidump : Wrote mdmp. Size is 267MB
SafeDllMode : -1
Version : Oracle JRockit(R) R28.2.4-14-151097-1.6.0_33-20120618-1634-windows-x86_64
CPU : Intel Core i7 SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 Core Intel64
Number CPUs : 2
Tot Phys Mem : 8587399168 (8189 MB)
OS version : Microsoft Windows 7 version 6.1 Service Pack 1 (Build 7601) (64-bit)
Thread System: Windows Threads
Java locking : Normal
State : JVM is running
Command Line : -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:64703 -Dcatalina.base=C:\Developpement\workspaces\.metadata\.plugins\org.eclipse.wst.server.core\tmp0 -Dcatalina.home=C:\Developpement\aptom6 -Dwtp.deploy=C:\Developpement\workspaces\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps -Djava.endorsed.dirs=C:\Developpement\aptom6\endorsed -Dfile.encoding=UTF-8 -Dsun.java.command=org.apache.catalina.startup.Bootstrap start -Dsun.java.launcher=SUN_STANDARD org.apache.catalina.startup.Bootstrap start
Repository : C:\Users\Bruno\AppData\Local\Temp\2012_07_27_15_36_18_3596
java.home : C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre
j.class.path : C:\Developpement\aptom6\bin\bootstrap.jar;C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\lib\tools.jar;C:\Developpement\workspaces\Servers\Tomcat v6.0 Server at localhost-config\conf
j.lib.path : C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;;C:\Developpement\apache-maven-2.2.1\bin;.
JAVA_HOME : C:\Program Files\Java\jdk1.6.0_33
PATH : C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Developpement\apache-maven-2.2.1\bin
JAVAOPTIONS: <not set>
StackOverFlow: 0 StackOverFlowErrors have occured
OutOfMemory : 0 OutOfMemoryErrors have occured
C Heap : Good; no memory allocations have failed
GC Strategy : Mode: throughput, with strategy: genparpar (basic strategy: genparpar)
GC Status : OC is not running. Last finished OC was OC#5.
: YC is not running. Last finished YC was YC#28.
YC Promotion : Last YC successfully promoted all objects
YC History : Ran 6 YCs before OC#1.
: Ran 4 YCs before OC#2.
: Ran 4 YCs before OC#3.
: Ran 4 YCs before OC#4.
: Ran 4 YCs before OC#5.
: Ran 6 YCs since last OC.
Heap : 0x0000000004F00000 - 0x0000000008F00000 (Size: 64 MB)
Compaction : (no compaction area)
Allocation : TLA-min: 2048, TLA-preferred: 65536 TLA-waste limit: 2048
NurseryList : 0x0000000005262350 - 0x000000000683DDB0
KeepArea : 0x0000000006326938 - 0x000000000683DDB0
KA Markers : [ 0x0000000005DC5C60, 0x0000000006326938 , 0x000000000683DDB0 ]
Forbidden A : (none)
Previous KA : 0x0000000005DC5C60 - 0x0000000006326938
Previous FA : (none)
CompRefs : References are compressed, with heap base 0x0 and shift 0.

Registers (from ThreadContext: 0x00000000554FE760:
rax = 0000000180280610 rcx = 000000004ede7f20
rdx = 00000000554fed68 rbx = 0000000005a4c490
rsp = 00000000554fed18 rbp = 000000000000001e
rsi = 000000004ede7d90 rdi = 000000004ede7d90
r8 = 00000000554fed70 r9 = 00000000554fed01
r10 = 00000000554fed70 r11 = 000000004ede7d90
r12 = 00000000554fed20 r13 = 00000000554fed60
r14 = 0000000005a4c490 r15 = 000000004ede7d90
cs = 0000000000000033 fs = 0000000000000053
gs = 000000000000002b
rip = 0000000000000000 flags = 0000000000010202

Loaded modules:
(* denotes the module where the exception occured)
0000000140000000-000000014003efff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\bin\javaw.exe
0000000076ea0000-0000000077048fff C:\Windows\SYSTEM32\ntdll.dll
0000000076d80000-0000000076e9efff C:\Windows\system32\kernel32.dll
000007fefc820000-000007fefc88bfff C:\Windows\system32\KERNELBASE.dll
0000000076b20000-0000000076c19fff C:\Windows\system32\USER32.dll
000007fefcd60000-000007fefcdc6fff C:\Windows\system32\GDI32.dll
000007fefd1a0000-000007fefd1adfff C:\Windows\system32\LPK.dll
000007fefe1a0000-000007fefe268fff C:\Windows\system32\USP10.dll
000007fefcb60000-000007fefcbfefff C:\Windows\system32\msvcrt.dll
000007fefe500000-000007fefe5dafff C:\Windows\system32\ADVAPI32.dll
000007fefd2e0000-000007fefd2fefff C:\Windows\SYSTEM32\sechost.dll
000007fefd1b0000-000007fefd2dcfff C:\Windows\system32\RPCRT4.dll
000007fefcf90000-000007fefcfbdfff C:\Windows\system32\IMM32.DLL
000007fefcc50000-000007fefcd58fff C:\Windows\system32\MSCTF.dll
0000000180000000-000000018040bfff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\jrockit\jvm.dll
000007fefcc00000-000007fefcc4cfff C:\Windows\system32\WS2_32.dll
000007fefd320000-000007fefd327fff C:\Windows\system32\NSI.dll
000007fefa790000-000007fefa7cafff C:\Windows\system32\WINMM.dll
0000000001bf0000-0000000001c35fff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\jrosal.dll
0000000000240000-0000000000277fff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\jrutil.DLL
000007fefc5c0000-000007fefc5e4fff C:\Windows\system32\SspiCli.dll
000007fef55c0000-000007fef560dfff C:\Windows\system32\pdh.dll
000007fefb270000-000007fefb29cfff C:\Windows\system32\ntmarta.dll
000007fefcb00000-000007fefcb51fff C:\Windows\system32\WLDAP32.dll
000007fef9c10000-000007fef9c1dfff C:\Windows\System32\perfproc.dll
000007fefa1f0000-000007fefa1fafff C:\Windows\System32\perfos.dll
000000006d4c0000-000000006d4f3fff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\jdwp.dll
000000006d6e0000-000000006d6e7fff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\npt.dll
0000000001c80000-0000000001cacfff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\jfr.dll
000000006d820000-000000006d82dfff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\verify.dll
000000006d450000-000000006d476fff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\java.dll
000000006d3b0000-000000006d3b9fff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\hpi.dll
000000006d870000-000000006d881fff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\zip.dll
000000006d310000-000000006d318fff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\dt_socket.dll
000007fefa580000-000007fefa594fff C:\Windows\system32\NLAapi.dll
000007fef6ac0000-000007fef6ad4fff C:\Windows\system32\napinsp.dll
000007fef6aa0000-000007fef6ab8fff C:\Windows\system32\pnrpnsp.dll
000007fefbfa0000-000007fefbff4fff C:\Windows\System32\mswsock.dll
000007fefbe20000-000007fefbe7afff C:\Windows\system32\DNSAPI.dll
000007fef6a90000-000007fef6a9afff C:\Windows\System32\winrnr.dll
000007fef7680000-000007fef76adfff C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
0000000077070000-0000000077076fff C:\Windows\system32\PSAPI.DLL
000007fefe270000-000007fefe2e0fff C:\Windows\system32\SHLWAPI.dll
000007fef9c20000-000007fef9c46fff C:\Windows\system32\IPHLPAPI.DLL
000007fef9be0000-000007fef9beafff C:\Windows\system32\WINNSI.DLL
000007fef99d0000-000007fef9a22fff C:\Windows\System32\fwpuclnt.dll
000007fef7670000-000007fef7677fff C:\Windows\system32\rasadhlp.dll
000007fefb7a0000-000007fefb7a6fff C:\Windows\System32\wshtcpip.dll
000000006d5f0000-000000006d5f9fff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\management.dll
000000004dfd0000-000000004dffefff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\jmapi.dll
000000004e270000-000000004e294fff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\orii.dll
000000006d6b0000-000000006d6c6fff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\net.dll
000007fefbf90000-000007fefbf96fff C:\Windows\System32\wship6.dll
000007fefc000000-000007fefc016fff C:\Windows\system32\CRYPTSP.dll
000007fefbd00000-000007fefbd46fff C:\Windows\system32\rsaenh.dll
000007fefbbe0000-000007fefbbfdfff C:\Windows\system32\USERENV.dll
000007fefc730000-000007fefc73efff C:\Windows\system32\profapi.dll
000007fefc660000-000007fefc66efff C:\Windows\system32\CRYPTBASE.dll
000007fef99a0000-000007fef99b0fff C:\Windows\system32\dhcpcsvc6.DLL
000007fef9920000-000007fef9937fff C:\Windows\system32\dhcpcsvc.DLL
000000006d750000-000000006d755fff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\rmi.dll
0000000069230000-000000006938dfff C:\Program Files\Java\jrockit-jdk1.6.0_33-R28.2.4-4.1.0\jre\bin\dbghelp.dll

Stack:
(* marks the word pointed to by the stack pointer)
00000000554fed18: 0000000100764429* 0000000005a4c490 0000000100011069 0000000005a4c0b8
00000000554fed38: 0000000005a4c490 0000000053d7b470 0000000100764423 0000000053cc9b50
00000000554fed58: 00000000554fed20 00000000071850e0 0000000005a4c0b8 0000000005a4c490
00000000554fed78: 000000004ede7d90 00000000554ff040 000000000000001e 0000000005a4c490
00000000554fed98: 0000000100763f85 0000000007011600 0000000005a4c0b8 0000000005311b98
00000000554fedb8: 00000000554fef90 00000000554ff010 0000000100763e49 000000000000000b

Code:
(* marks the word pointed to by the instruction pointer)
ffffffffffffffa0: Unreadable
ffffffffffffffc0: Unreadable
ffffffffffffffe0: Unreadable
0000000000000000: Unreadable
0000000000000020: Unreadable
0000000000000040: Unreadable


Last optimized methods:
No methods optimized.

Thread:
"RMI TCP Connection(idle)" id=30 idx=0x74 tid=6192 lastJavaFrame=0x00000000554FED40
Stack 0: start=0x00000000554C0000, end=0x0000000055500000, guards=0x00000000554C4000 (ok), forbidden=0x00000000554C1000

Thread Stack Trace:
-- Java stack --
at sun/management/ThreadImpl.getThreadTotalCpuTime1([J[J)V(Native Method)
at sun/management/ThreadImpl.getThreadCpuTime(ThreadImpl.java:254)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
at jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at sun/reflect/NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at sun/reflect/NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java/lang/reflect/Method.invoke(Method.java:597)
at com/sun/jmx/mbeanserver/ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:167)
at com/sun/jmx/mbeanserver/MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:96)
at com/sun/jmx/mbeanserver/MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:33)
at com/sun/jmx/mbeanserver/MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
at com/sun/jmx/mbeanserver/PerInterface.invoke(PerInterface.java:120)
at com/sun/jmx/mbeanserver/MBeanSupport.invoke(MBeanSupport.java:262)
at javax/management/StandardMBean.invoke(StandardMBean.java:391)
at com/sun/jmx/interceptor/DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com/sun/jmx/mbeanserver/JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at javax/management/remote/rmi/RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
at javax/management/remote/rmi/RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
at javax/management/remote/rmi/RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
at javax/management/remote/rmi/RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360)
at javax/management/remote/rmi/RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
at jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at sun/reflect/NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at sun/reflect/NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java/lang/reflect/Method.invoke(Method.java:597)
at sun/rmi/server/UnicastServerRef.dispatch(UnicastServerRef.java:303)
at sun/rmi/transport/Transport$1.run(Transport.java:159)
at jrockit/vm/AccessController.doPrivileged(AccessController.java:254)
at sun/rmi/transport/Transport.serviceCall(Transport.java:155)
at sun/rmi/transport/tcp/TCPTransport.handleMessages(TCPTransport.java:535)
at sun/rmi/transport/tcp/TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun/rmi/transport/tcp/TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java/util/concurrent/ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java/lang/Thread.run(Thread.java:662)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace

Memory usage report:
Total mapped 4594436KB (reserved=4319396KB)
- Java heap 3145728KB (reserved=3080192KB)
- GC tables 137596KB
- Thread stacks 12800KB (#threads=32)
- Compiled code 1048576KB (used=7054KB)
- Internal 1032KB
- OS 21936KB
- Other 163536KB
- Classblocks 3584KB (malloced=3481KB #10041)
Not tracing sites.

- Java class data 58624KB (malloced=58614KB #45991 in 10041 classes)
Not tracing sites.

- Native memory tracking 1024KB (malloced=316KB #10)
Not tracing sites.


Set the env variable TRACE_ALLOC_SITES=1 or use the print_memusage switch
trace_alloc_sites=true to enable alloc site tracing.

**************************************************************************
* If you see this dump, please go to *
* http://download.oracle.com/docs/cd/E15289_01/go2troubleshooting.html *
* for troubleshooting information. *
**************************************************************************

===== END DUMP ===============================================================

Edited by: 949208 on 27 juil. 2012 16:28
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Oct 1 2012
Added on Jul 27 2012
4 comments
2,846 views