JDK-8166448 : Crash in Method::checked_resolve_jmethod_id(_jmethodID*)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 8u25
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2016-09-16
  • Updated: 2016-10-17
  • Resolved: 2016-10-17
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java Hotspot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)

FULL OS VERSION :
Microsoft Windows {Version 6.1.7601

A DESCRIPTION OF THE PROBLEM :
JRE crashes when trying to create a snapshot of memory in VisualVM using the "record allocations stack trace" memory setting.

THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes

THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Using VisualVM, attach to program process. change to profiler tab, enable settings, select memory settings and turn on "record allocations stack traces". click memory button and when enabled, click the snapshot button. the JRE crashes

EXPECTED VERSUS ACTUAL BEHAVIOR :
expected: the java application continues running
actual: the java application goes away
ERROR MESSAGES/STACK TRACES THAT OCCUR :
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000002749f19, pid=15816, tid=0x00000000000033ec
#
# JRE version: Java(TM) SE Runtime Environment (8.0_102-b14) (build 1.8.0_102-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.102-b14 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V  [jvm.dll+0x129f19]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x000000001f49d800):  JavaThread "*** Profiler Agent Communication Thread" daemon [_thread_in_vm, id=13292, stack(0x0000000029950000,0x0000000029a50000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x000000000000001b

Registers:
RAX=0x0000000029a4f401, RBX=0x000000000d302900, RCX=0x000000000d302900, RDX=0x000000000000000b
RSP=0x0000000029a4f3b0, RBP=0x000000001ee3a7f0, RSI=0x000000001ef8f6f8, RDI=0x0000000029a4f4c0
R8 =0x000000001f49d800, R9 =0x8101010101010100, R10=0x7efefcfef8fefefc, R11=0x0000014b00ce0011
R12=0x0000000029c90080, R13=0x000000000000010d, R14=0x00000000680f9a60, R15=0x000000001f49d800
RIP=0x0000000002749f19, EFLAGS=0x0000000000010216

Top of Stack: (sp=0x0000000029a4f3b0)
0x0000000029a4f3b0:   00000000680f9a60 000000000000010d
0x0000000029a4f3c0:   000000001f49d800 00000000027c32b9
0x0000000029a4f3d0:   000000001f49d800 000000000296cc2d
0x0000000029a4f3e0:   000000001f49d800 00000000680f30ab
0x0000000029a4f3f0:   0000000029a4f480 0000000002952e1b
0x0000000029a4f400:   000000001f49d800 0000000000000000
0x0000000029a4f410:   0000000000000000 0000000000000000
0x0000000029a4f420:   000000001ef8f6f8 00000000680f3412
0x0000000029a4f430:   000000000000007f 000000001f49d9f8
0x0000000029a4f440:   000000000000003a 000000001f255a70
0x0000000029a4f450:   0000000029a4f480 000000001e3a0db0
0x0000000029a4f460:   0000000028885100 000000001ee29910
0x0000000029a4f470:   000000001e6d71d0 0000000000000000
0x0000000029a4f480:   000000001e6d7450 000000000f027de6
0x0000000029a4f490:   00000000281101f8 0000000000000000
0x0000000029a4f4a0:   000000002aa7c020 000000000000003a 

Instructions: (pc=0x0000000002749f19)
0x0000000002749ef9:   33 c0 48 83 c4 28 c3 48 89 5c 24 20 48 8b 19 48
0x0000000002749f09:   85 db 74 20 48 83 fb 37 74 1a 48 8b 13 48 8b cb
0x0000000002749f19:   ff 52 10 84 c0 74 0d 48 8b c3 48 8b 5c 24 20 48
0x0000000002749f29:   83 c4 28 c3 33 c0 48 8b 5c 24 20 48 83 c4 28 c3 


Register to memory mapping:

RAX=0x0000000029a4f401 is pointing into the stack for thread: 0x000000001f49d800
RBX=0x000000000d302900 is pointing into metadata
RCX=0x000000000d302900 is pointing into metadata
RDX=0x000000000000000b is an unknown value
RSP=0x0000000029a4f3b0 is pointing into the stack for thread: 0x000000001f49d800
RBP=0x000000001ee3a7f0 is an unknown value
RSI=0x000000001ef8f6f8 is an unknown value
RDI=0x0000000029a4f4c0 is pointing into the stack for thread: 0x000000001f49d800
R8 =0x000000001f49d800 is a thread
R9 =0x8101010101010100 is an unknown value
R10=0x7efefcfef8fefefc is an unknown value
R11=0x0000014b00ce0011 is an unknown value
R12=0x0000000029c90080 is an unknown value
R13=0x000000000000010d is an unknown value
R14=0x00000000680f9a60 is an unknown value
R15=0x000000001f49d800 is a thread


Stack: [0x0000000029950000,0x0000000029a50000],  sp=0x0000000029a4f3b0,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0x129f19]
V  [jvm.dll+0x34cc2d]
C  [profilerinterface.dll+0x3412]
C  0x000000000f027f54

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.netbeans.lib.profiler.server.system.Stacks.getMethodNamesForJMethodIds(I[I[I)[B+0
j  org.netbeans.lib.profiler.server.ProfilerInterface.getMethodNamesForJMethodIds([I)Lorg/netbeans/lib/profiler/wireprotocol/MethodNamesResponse;+18
j  org.netbeans.lib.profiler.server.ProfilerServer.handleClientCommand(Lorg/netbeans/lib/profiler/wireprotocol/Command;)V+675
j  org.netbeans.lib.profiler.server.ProfilerServer.listenToClient()V+48
j  org.netbeans.lib.profiler.server.ProfilerServer.run()V+22
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x000000001f4a0800 JavaThread "*** Profiler Agent Special Execution Thread 3" daemon [_thread_blocked, id=13720, stack(0x000000002b430000,0x000000002b530000)]
  0x000000001f49f000 JavaThread "*** Profiler Agent Special Execution Thread 6" daemon [_thread_blocked, id=15844, stack(0x0000000029b90000,0x0000000029c90000)]
  0x000000001f49e000 JavaThread "*** JFluid Monitor thread ***" daemon [_thread_blocked, id=1296, stack(0x00000000295c0000,0x00000000296c0000)]
=>0x000000001f49d800 JavaThread "*** Profiler Agent Communication Thread" daemon [_thread_in_vm, id=13292, stack(0x0000000029950000,0x0000000029a50000)]
  0x000000001e4d1800 JavaThread "RMI TCP Connection(2)-169.254.218.180" daemon [_thread_in_native, id=8336, stack(0x00000000283f0000,0x00000000284f0000)]
  0x000000001e69f800 JavaThread "JMX server connection timeout 22" daemon [_thread_blocked, id=13532, stack(0x0000000027ec0000,0x0000000027fc0000)]
  0x000000001e69e800 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=10016, stack(0x00000000281e0000,0x00000000282e0000)]
  0x000000001e69c000 JavaThread "RMI TCP Connection(1)-169.254.218.180" daemon [_thread_in_native, id=14476, stack(0x0000000027800000,0x0000000027900000)]
  0x000000001e4bf000 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=10292, stack(0x0000000027a50000,0x0000000027b50000)]
  0x000000001f067800 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=14652, stack(0x00000000250c0000,0x00000000251c0000)]
  0x000000000046f000 JavaThread "DestroyJavaVM" [_thread_blocked, id=10252, stack(0x0000000003180000,0x0000000003280000)]
  0x000000001edf4000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=11212, stack(0x00000000212f0000,0x00000000213f0000)]
  0x000000001ed58000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=12296, stack(0x000000001f6b0000,0x000000001f7b0000)]
  0x000000001ed57000 JavaThread "AWT-Shutdown" [_thread_blocked, id=14848, stack(0x000000001f4f0000,0x000000001f5f0000)]
  0x000000001ed54000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=14984, stack(0x000000001ea80000,0x000000001eb80000)]
  0x000000001e3ef000 JavaThread "Service Thread" daemon [_thread_blocked, id=6532, stack(0x000000000edd0000,0x000000000eed0000)]
  0x000000001e371800 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=14064, stack(0x000000001e920000,0x000000001ea20000)]
  0x000000001e370800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=14996, stack(0x000000001e780000,0x000000001e880000)]
  0x000000000d8da000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=14072, stack(0x000000001e270000,0x000000001e370000)]
  0x000000000d8d6800 JavaThread "Attach Listener" daemon [_thread_blocked, id=10296, stack(0x000000001e0b0000,0x000000001e1b0000)]
  0x000000000d8d3000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2752, stack(0x000000000ef00000,0x000000000f000000)]
  0x000000000d8b9800 JavaThread "Finalizer" daemon [_thread_blocked, id=9748, stack(0x000000000ecb0000,0x000000000edb0000)]
  0x000000000d872800 JavaThread "Reference Handler" daemon [_thread_blocked, id=9904, stack(0x000000000eb30000,0x000000000ec30000)]

Other Threads:
  0x000000000d86b000 VMThread [stack: 0x000000000e930000,0x000000000ea30000] [id=12992]
  0x000000001e407800 WatcherThread [stack: 0x000000001ebe0000,0x000000001ece0000] [id=8040]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 PSYoungGen      total 74752K, used 4710K [0x000000076cf00000, 0x0000000772200000, 0x00000007c0000000)
  eden space 64512K, 7% used [0x000000076cf00000,0x000000076d399968,0x0000000770e00000)
  from space 10240K, 0% used [0x0000000770e00000,0x0000000770e00000,0x0000000771800000)
  to   space 10240K, 0% used [0x0000000771800000,0x0000000771800000,0x0000000772200000)
 ParOldGen       total 73216K, used 5606K [0x00000006c6c00000, 0x00000006cb380000, 0x000000076cf00000)
  object space 73216K, 7% used [0x00000006c6c00000,0x00000006c7179ba0,0x00000006cb380000)
 Metaspace       used 35214K, capacity 35640K, committed 35928K, reserved 1081344K
  class space    used 3498K, capacity 3676K, committed 3712K, reserved 1048576K

Card table byte_map: [0x0000000003910000,0x00000000040e0000] byte_map_base: 0x00000000002da000

Marking Bits: (ParMarkBitMap*) 0x0000000002e3a6c0
 Begin Bits: [0x0000000004a70000, 0x00000000088c0000)
 End Bits:   [0x00000000088c0000, 0x000000000c710000)

Polling page: 0x0000000000430000

CodeCache: size=245760Kb used=3154Kb max_used=5456Kb free=242605Kb
 bounds [0x000000000f010000, 0x000000000f570000, 0x000000001e010000]
 total_blobs=1417 nmethods=856 adapters=473
 compilation: enabled

Compilation events (10 events):
Event: 48.763 Thread 0x000000000d8da000 nmethod 2258 0x000000000f1459d0 code [0x000000000f145b20, 0x000000000f145e78]
Event: 48.767 Thread 0x000000001e370800 nmethod 2259 0x000000000f487910 code [0x000000000f487a80, 0x000000000f488248]
Event: 48.769 Thread 0x000000001e371800 2262   !   3       sun.reflect.GeneratedMethodAccessor23::invoke (68 bytes)
Event: 48.769 Thread 0x000000001e371800 nmethod 2262 0x000000000f372e10 code [0x000000000f373000, 0x000000000f373848]
Event: 48.769 Thread 0x000000001e371800 2263   !   3       sun.reflect.GeneratedMethodAccessor24::invoke (61 bytes)
Event: 48.770 Thread 0x000000001e371800 nmethod 2263 0x000000000f146ed0 code [0x000000000f1470a0, 0x000000000f147768]
Event: 48.770 Thread 0x000000001e371800 2264   !   3       sun.reflect.GeneratedMethodAccessor25::invoke (68 bytes)
Event: 48.770 Thread 0x000000001e371800 nmethod 2264 0x000000000f2e4ad0 code [0x000000000f2e4cc0, 0x000000000f2e5548]
Event: 48.771 Thread 0x000000000d8da000 2265       4       java.io.ObjectOutputStream$HandleTable::assign (52 bytes)
Event: 48.773 Thread 0x000000000d8da000 nmethod 2265 0x000000000f46d210 code [0x000000000f46d380, 0x000000000f46d648]

GC Heap History (10 events):
Event: 25.425 GC heap before
{Heap before GC invocations=2 (full 1):
 PSYoungGen      total 74752K, used 10236K [0x000000076cf00000, 0x0000000772200000, 0x00000007c0000000)
  eden space 64512K, 0% used [0x000000076cf00000,0x000000076cf00000,0x0000000770e00000)
  from space 10240K, 99% used [0x0000000770e00000,0x00000007717ff320,0x0000000771800000)
  to   space 10240K, 0% used [0x0000000771800000,0x0000000771800000,0x0000000772200000)
 ParOldGen       total 171008K, used 4381K [0x00000006c6c00000, 0x00000006d1300000, 0x000000076cf00000)
  object space 171008K, 2% used [0x00000006c6c00000,0x00000006c7047680,0x00000006d1300000)
 Metaspace       used 20748K, capacity 21130K, committed 21248K, reserved 1067008K
  class space    used 2591K, capacity 2747K, committed 2816K, reserved 1048576K
Event: 25.456 GC heap after
Heap after GC invocations=2 (full 1):
 PSYoungGen      total 74752K, used 0K [0x000000076cf00000, 0x0000000772200000, 0x00000007c0000000)
  eden space 64512K, 0% used [0x000000076cf00000,0x000000076cf00000,0x0000000770e00000)
  from space 10240K, 0% used [0x0000000770e00000,0x0000000770e00000,0x0000000771800000)
  to   space 10240K, 0% used [0x0000000771800000,0x0000000771800000,0x0000000772200000)
 ParOldGen       total 82944K, used 13825K [0x00000006c6c00000, 0x00000006cbd00000, 0x000000076cf00000)
  object space 82944K, 16% used [0x00000006c6c00000,0x00000006c7980550,0x00000006cbd00000)
 Metaspace       used 20748K, capacity 21130K, committed 21248K, reserved 1067008K
  class space    used 2591K, capacity 2747K, committed 2816K, reserved 1048576K
}
Event: 27.907 GC heap before
{Heap before GC invocations=3 (full 1):
 PSYoungGen      total 74752K, used 10754K [0x000000076cf00000, 0x0000000772200000, 0x00000007c0000000)
  eden space 64512K, 16% used [0x000000076cf00000,0x000000076d980890,0x0000000770e00000)
  from space 10240K, 0% used [0x0000000770e00000,0x0000000770e00000,0x0000000771800000)
  to   space 10240K, 0% used [0x0000000771800000,0x0000000771800000,0x0000000772200000)
 ParOldGen       total 82944K, used 13825K [0x00000006c6c00000, 0x00000006cbd00000, 0x000000076cf00000)
  object space 82944K, 16% used [0x00000006c6c00000,0x00000006c7980550,0x00000006cbd00000)
 Metaspace       used 34839K, capacity 35254K, committed 35416K, reserved 1081344K
  class space    used 3498K, capacity 3677K, committed 3712K, reserved 1048576K
Event: 27.908 GC heap after
Heap after GC invocations=3 (full 1):
 PSYoungGen      total 74752K, used 288K [0x000000076cf00000, 0x0000000772200000, 0x00000007c0000000)
  eden space 64512K, 0% used [0x000000076cf00000,0x000000076cf00000,0x0000000770e00000)
  from space 10240K, 2% used [0x0000000771800000,0x0000000771848000,0x0000000772200000)
  to   space 10240K, 0% used [0x0000000770e00000,0x0000000770e00000,0x0000000771800000)
 ParOldGen       total 82944K, used 13825K [0x00000006c6c00000, 0x00000006cbd00000, 0x000000076cf00000)
  object space 82944K, 16% used [0x00000006c6c00000,0x00000006c7980550,0x00000006cbd00000)
 Metaspace       used 34839K, capacity 35254K, committed 35416K, reserved 1081344K
  class space    used 3498K, capacity 3677K, committed 3712K, reserved 1048576K
}
Event: 27.908 GC heap before
{Heap before GC invocations=4 (full 2):
 PSYoungGen      total 74752K, used 288K [0x000000076cf00000, 0x0000000772200000, 0x00000007c0000000)
  eden space 64512K, 0% used [0x000000076cf00000,0x000000076cf00000,0x0000000770e00000)
  from space 10240K, 2% used [0x0000000771800000,0x0000000771848000,0x0000000772200000)
  to   space 10240K, 0% used [0x0000000770e00000,0x0000000770e00000,0x0000000771800000)
 ParOldGen       total 82944K, used 13825K [0x00000006c6c00000, 0x00000006cbd00000, 0x000000076cf00000)
  object space 82944K, 16% used [0x00000006c6c00000,0x00000006c7980550,0x00000006cbd00000)
 Metaspace       used 34839K, capacity 35254K, committed 35416K, reserved 1081344K
  class space    used 3498K, capacity 3677K, committed 3712K, reserved 1048576K
Event: 27.945 GC heap after
Heap after GC invocations=4 (full 2):
 PSYoungGen      total 74752K, used 0K [0x000000076cf00000, 0x0000000772200000, 0x00000007c0000000)
  eden space 64512K, 0% used [0x000000076cf00000,0x000000076cf00000,0x0000000770e00000)
  from space 10240K, 0% used [0x0000000771800000,0x0000000771800000,0x0000000772200000)
  to   space 10240K, 0% used [0x0000000770e00000,0x0000000770e00000,0x0000000771800000)
 ParOldGen       total 80896K, used 13815K [0x00000006c6c00000, 0x00000006cbb00000, 0x000000076cf00000)
  object space 80896K, 17% used [0x00000006c6c00000,0x00000006c797df68,0x00000006cbb00000)
 Metaspace       used 34839K, capacity 35254K, committed 35416K, reserved 1081344K
  class space    used 3498K, capacity 3677K, committed 3712K, reserved 1048576K
}
Event: 48.228 GC heap before
{Heap before GC invocations=5 (full 2):
 PSYoungGen      total 74752K, used 13199K [0x000000076cf00000, 0x0000000772200000, 0x00000007c0000000)
  eden space 64512K, 20% used [0x000000076cf00000,0x000000076dbe3ea0,0x0000000770e00000)
  from space 10240K, 0% used [0x0000000771800000,0x0000000771800000,0x0000000772200000)
  to   space 10240K, 0% used [0x0000000770e00000,0x0000000770e00000,0x0000000771800000)
 ParOldGen       total 80896K, used 13815K [0x00000006c6c00000, 0x00000006cbb00000, 0x000000076cf00000)
  object space 80896K, 17% used [0x00000006c6c00000,0x00000006c797df68,0x00000006cbb00000)
 Metaspace       used 35212K, capacity 35642K, committed 35928K, reserved 1081344K
  class space    used 3498K, capacity 3677K, committed 3712K, reserved 1048576K
Event: 48.230 GC heap after
Heap after GC invocations=5 (full 2):
 PSYoungGen      total 74752K, used 478K [0x000000076cf00000, 0x0000000772200000, 0x00000007c0000000)
  eden space 64512K, 0% used [0x000000076cf00000,0x000000076cf00000,0x0000000770e00000)
  from space 10240K, 4% used [0x0000000770e00000,0x0000000770e77b10,0x0000000771800000)
  to   space 10240K, 0% used [0x0000000771800000,0x0000000771800000,0x0000000772200000)
 ParOldGen       total 80896K, used 13823K [0x00000006c6c00000, 0x00000006cbb00000, 0x000000076cf00000)
  object space 80896K, 17% used [0x00000006c6c00000,0x00000006c797ff68,0x00000006cbb00000)
 Metaspace       used 35212K, capacity 35642K, committed 35928K, reserved 1081344K
  class space    used 3498K, capacity 3677K, committed 3712K, reserved 1048576K
}
Event: 48.230 GC heap before
{Heap before GC invocations=6 (full 3):
 PSYoungGen      total 74752K, used 478K [0x000000076cf00000, 0x0000000772200000, 0x00000007c0000000)
  eden space 64512K, 0% used [0x000000076cf00000,0x000000076cf00000,0x0000000770e00000)
  from space 10240K, 4% used [0x0000000770e00000,0x0000000770e77b10,0x0000000771800000)
  to   space 10240K, 0% used [0x0000000771800000,0x0000000771800000,0x0000000772200000)
 ParOldGen       total 80896K, used 13823K [0x00000006c6c00000, 0x00000006cbb00000, 0x000000076cf00000)
  object space 80896K, 17% used [0x00000006c6c00000,0x00000006c797ff68,0x00000006cbb00000)
 Metaspace       used 35212K, capacity 35642K, committed 35928K, reserved 1081344K
  class space    used 3498K, capacity 3677K, committed 3712K, reserved 1048576K
Event: 48.257 GC heap after
Heap after GC invocations=6 (full 3):
 PSYoungGen      total 74752K, used 0K [0x000000076cf00000, 0x0000000772200000, 0x00000007c0000000)
  eden space 64512K, 0% used [0x000000076cf00000,0x000000076cf00000,0x0000000770e00000)
  from space 10240K, 0% used [0x0000000770e00000,0x0000000770e00000,0x0000000771800000)
  to   space 10240K, 0% used [0x0000000771800000,0x0000000771800000,0x0000000772200000)
 ParOldGen       total 73216K, used 5606K [0x00000006c6c00000, 0x00000006cb380000, 0x000000076cf00000)
  object space 73216K, 7% used [0x00000006c6c00000,0x00000006c7179ba0,0x00000006cb380000)
 Metaspace       used 35210K, capacity 35636K, committed 35928K, reserved 1081344K
  class space    used 3498K, capacity 3676K, committed 3712K, reserved 1048576K
}

Deoptimization events (10 events):
Event: 0.443 Thread 0x000000001edf4000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000f1b4e08 method=java.lang.String.equals(Ljava/lang/Object;)Z @ 8
Event: 0.444 Thread 0x000000001edf4000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000f1b4e08 method=java.lang.String.equals(Ljava/lang/Object;)Z @ 8
Event: 0.444 Thread 0x000000001edf4000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000f1b4e08 method=java.lang.String.equals(Ljava/lang/Object;)Z @ 8
Event: 8.762 Thread 0x000000000d8d6800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000000f238750 method=java.lang.String.indexOf([CII[CIII)I @ 3
Event: 22.690 Thread 0x000000001f49d800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000f3fad84 method=java.io.ObjectOutputStream$BlockDataOutputStream.drain()V @ 36
Event: 22.791 Thread 0x000000001f49d800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000f3c726c method=java.io.ObjectOutputStream$BlockDataOutputStream.drain()V @ 36
Event: 22.792 Thread 0x000000001f49d800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000f3c726c method=java.io.ObjectOutputStream$BlockDataOutputStream.drain()V @ 36
Event: 22.801 Thread 0x000000001f49d800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000f3c726c method=java.io.ObjectOutputStream$BlockDataOutputStream.drain()V @ 36
Event: 26.462 Thread 0x000000001e69c000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000000f127214 method=java.lang.ref.ReferenceQueue.poll()Ljava/lang/ref/Reference; @ 4
Event: 28.738 Thread 0x000000001f067800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000000f50ef24 method=org.netbeans.lib.profiler.server.ProfilerRuntimeMemory.traceVMObjectAlloc(Ljava/lang/Object;Ljava/lang/Class;)V @ 38

Internal exceptions (10 events):
Event: 9.345 Thread 0x000000001e69c000 Exception <a 'java/lang/NoSuchMethodError': <clinit>> (0x000000076df95ae0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 1613]
Event: 9.348 Thread 0x000000001e69c000 Exception <a 'java/lang/ClassNotFoundException': javax/management/remote/rmi/RMIConnectionImpl_Skel> (0x000000076df9ab30) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 9.366 Thread 0x000000001e69c000 Exception <a 'java/lang/NoSuchMethodError': <clinit>> (0x000000076e003948) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 1613]
Event: 9.367 Thread 0x000000001e69c000 Exception <a 'java/lang/NoSuchMethodError': <clinit>> (0x000000076e012220) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 1613]
Event: 9.367 Thread 0x000000001e69c000 Exception <a 'java/lang/NoSuchMethodError': <clinit>> (0x000000076e012be8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 1613]
Event: 9.370 Thread 0x000000001e69c000 Exception <a 'java/lang/NoSuchMethodError': <clinit>> (0x000000076e02e320) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 1613]
Event: 9.370 Thread 0x000000001e69c000 Exception <a 'java/lang/NoSuchMethodError': <clinit>> (0x000000076e02ef68) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 1613]
Event: 9.370 Thread 0x000000001e69c000 Exception <a 'java/lang/NoSuchMethodError': <clinit>> (0x000000076e02fb80) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 1613]
Event: 10.607 Thread 0x000000001e4d1800 Exception <a 'java/lang/NoSuchMethodError': <clinit>> (0x000000076e330630) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 1613]
Event: 10.612 Thread 0x000000001e4d1800 Exception <a 'java/lang/NoSuchMethodError': <clinit>> (0x000000076e3419d0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u102\7268\hotspot\src\share\vm\prims\jni.cpp, line 1613]

Events (10 events):
Event: 46.417 Executing VM operation: ThreadDump
Event: 46.417 Executing VM operation: ThreadDump done
Event: 47.418 Executing VM operation: ThreadDump
Event: 47.418 Executing VM operation: ThreadDump done
Event: 48.228 Executing VM operation: ParallelGCSystemGC
Event: 48.257 Executing VM operation: ParallelGCSystemGC done
Event: 48.760 Executing VM operation: ThreadDump
Event: 48.761 Executing VM operation: ThreadDump done
Event: 48.958 loading class org/netbeans/lib/profiler/wireprotocol/GetMethodNamesForJMethodIdsCommand
Event: 48.958 loading class org/netbeans/lib/profiler/wireprotocol/GetMethodNamesForJMethodIdsCommand done


Dynamic libraries:
0x000000013f930000 - 0x000000013f967000 	C:\ProgramData\Oracle\Java\javapath\java.exe
0x0000000077590000 - 0x000000007773a000 	C:\Windows\SYSTEM32\ntdll.dll
0x0000000077470000 - 0x000000007758f000 	C:\Windows\system32\kernel32.dll
0x000007fefd4d0000 - 0x000007fefd53a000 	C:\Windows\system32\KERNELBASE.dll
0x000007fefd880000 - 0x000007fefd95b000 	C:\Windows\system32\ADVAPI32.dll
0x000007fefdce0000 - 0x000007fefdd7f000 	C:\Windows\system32\msvcrt.dll
0x000007fefe360000 - 0x000007fefe37f000 	C:\Windows\SYSTEM32\sechost.dll
0x000007fefd750000 - 0x000007fefd87d000 	C:\Windows\system32\RPCRT4.dll
0x0000000077370000 - 0x000000007746a000 	C:\Windows\system32\USER32.dll
0x000007fefde90000 - 0x000007fefdef7000 	C:\Windows\system32\GDI32.dll
0x000007fefe650000 - 0x000007fefe65e000 	C:\Windows\system32\LPK.dll
0x000007fefd960000 - 0x000007fefda2a000 	C:\Windows\system32\USP10.dll
0x000007fefc3e0000 - 0x000007fefc5d4000 	C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\COMCTL32.dll
0x000007fefd680000 - 0x000007fefd6f1000 	C:\Windows\system32\SHLWAPI.dll
0x000007fefe7f0000 - 0x000007fefe81e000 	C:\Windows\system32\IMM32.DLL
0x000007fefdd80000 - 0x000007fefde89000 	C:\Windows\system32\MSCTF.dll
0x000007fefd1e0000 - 0x000007fefd224000 	C:\Windows\system32\nvinitx.dll
0x000000000f000000 - 0x000000000f006000 	C:\Program Files\NVIDIA Corporation\CoProcManager\_etoured.dll
0x000007feebb50000 - 0x000007feebb95000 	C:\Program Files\NVIDIA Corporation\CoProcManager\nvd3d9wrapx.dll
0x000007fefe0e0000 - 0x000007fefe2b7000 	C:\Windows\system32\SETUPAPI.dll
0x000007fefd640000 - 0x000007fefd676000 	C:\Windows\system32\CFGMGR32.dll
0x000007fefdfe0000 - 0x000007fefe0ba000 	C:\Windows\system32\OLEAUT32.dll
0x000007fefdad0000 - 0x000007fefdcd3000 	C:\Windows\system32\ole32.dll
0x000007fefd620000 - 0x000007fefd63a000 	C:\Windows\system32\DEVOBJ.dll
0x000007feebb10000 - 0x000007feebb47000 	C:\Program Files\NVIDIA Corporation\CoProcManager\nvdxgiwrapx.dll
0x0000000055a00000 - 0x0000000055ad1000 	C:\Program Files\Java\jre1.8.0_102\bin\msvcr100.dll
0x0000000002620000 - 0x0000000002eba000 	C:\Program Files\Java\jre1.8.0_102\bin\server\jvm.dll
0x000007fef4bc0000 - 0x000007fef4bc9000 	C:\Windows\system32\WSOCK32.dll
0x000007fefd700000 - 0x000007fefd74d000 	C:\Windows\system32\WS2_32.dll
0x000007feff890000 - 0x000007feff898000 	C:\Windows\system32\NSI.dll
0x000007fef9f30000 - 0x000007fef9f6b000 	C:\Windows\system32\WINMM.dll
0x000007fefc150000 - 0x000007fefc15c000 	C:\Windows\system32\VERSION.dll
0x0000000077760000 - 0x0000000077767000 	C:\Windows\system32\PSAPI.DLL
0x000000005eb90000 - 0x000000005eb9f000 	C:\Program Files\Java\jre1.8.0_102\bin\verify.dll
0x0000000051840000 - 0x0000000051869000 	C:\Program Files\Java\jre1.8.0_102\bin\java.dll
0x0000000051880000 - 0x0000000051896000 	C:\Program Files\Java\jre1.8.0_102\bin\zip.dll
0x000007fefe820000 - 0x000007feff5ac000 	C:\Windows\system32\SHELL32.dll
0x000007fefd2c0000 - 0x000007fefd2cf000 	C:\Windows\system32\profapi.dll
0x000000006cca0000 - 0x000000006ce38000 	C:\Program Files\Java\jre1.8.0_102\bin\awt.dll
0x000007fefa4a0000 - 0x000007fefa4f6000 	C:\Windows\system32\uxtheme.dll
0x000007fefa480000 - 0x000007fefa498000 	C:\Windows\system32\dwmapi.dll
0x000007fefd110000 - 0x000007fefd11f000 	C:\Windows\system32\CRYPTBASE.dll
0x00000000681c0000 - 0x0000000068207000 	C:\Program Files\Java\jre1.8.0_102\bin\fontmanager.dll
0x000007feda770000 - 0x000007feda96f000 	C:\Windows\system32\d3d9.dll
0x000007fef9140000 - 0x000007fef9147000 	C:\Windows\system32\d3d8thk.dll
0x000007fee7900000 - 0x000007fee79f2000 	C:\Windows\system32\nvumdshimx.dll
0x000007fee7db0000 - 0x000007fee8068000 	C:\Windows\system32\nvapi64.dll
0x000007fed8f10000 - 0x000007feda003000 	C:\Windows\system32\nvd3dumx.dll
0x0000000180000000 - 0x00000001807c9000 	C:\Windows\system32\igdumd64.dll
0x000007fefd540000 - 0x000007fefd57b000 	C:\Windows\system32\WINTRUST.dll
0x000007fefd2e0000 - 0x000007fefd44d000 	C:\Windows\system32\CRYPT32.dll
0x000007fefd2d0000 - 0x000007fefd2df000 	C:\Windows\system32\MSASN1.dll
0x000007fefba00000 - 0x000007fefba2c000 	C:\Windows\system32\powrprof.dll
0x00000000530d0000 - 0x00000000530ea000 	C:\Program Files\Java\jre1.8.0_102\bin\net.dll
0x000007fefca50000 - 0x000007fefcaa5000 	C:\Windows\system32\mswsock.dll
0x000007fefca40000 - 0x000007fefca47000 	C:\Windows\System32\wship6.dll
0x0000000051820000 - 0x0000000051831000 	C:\Program Files\Java\jre1.8.0_102\bin\nio.dll
0x000000006afd0000 - 0x000000006b012000 	C:\Program Files\Java\jre1.8.0_102\bin\t2k.dll
0x000007fed7d50000 - 0x000007fed7d8f000 	C:\Program Files\ThinkPad\Bluetooth Software\btmmhook.dll
0x000007fefda30000 - 0x000007fefdac9000 	C:\Windows\system32\CLBCatQ.DLL
0x000007fef9600000 - 0x000007fef9761000 	C:\Windows\system32\WindowsCodecs.dll
0x000007fefd0b0000 - 0x000007fefd107000 	C:\Windows\system32\apphelp.dll
0x000007fee4300000 - 0x000007fee43c0000 	C:\Program Files (x86)\Google\Drive\googledrivesync64.dll
0x0000000069090000 - 0x0000000069163000 	C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\MSVCP90.dll
0x0000000074de0000 - 0x0000000074e83000 	C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\MSVCR90.dll
0x000007fee4850000 - 0x000007fee4894000 	C:\Users\bcole\AppData\Roaming\Dropbox\bin\DropboxExt64.43.dll
0x00000000677d0000 - 0x00000000677fa000 	C:\Program Files\Java\jre1.8.0_102\bin\dcpr.dll
0x000007fefbd40000 - 0x000007fefbd47000 	C:\Windows\System32\wshtcpip.dll
0x000007fefc8d0000 - 0x000007fefc92b000 	C:\Windows\system32\DNSAPI.dll
0x000007fef8af0000 - 0x000007fef8b1f000 	C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
0x000007fefb130000 - 0x000007fefb157000 	C:\Windows\system32\IPHLPAPI.DLL
0x000007fefb120000 - 0x000007fefb12b000 	C:\Windows\system32\WINNSI.DLL
0x000007fef8ae0000 - 0x000007fef8ae8000 	C:\Windows\system32\rasadhlp.dll
0x000007fefaf60000 - 0x000007fefafb3000 	C:\Windows\System32\fwpuclnt.dll
0x000000006ae30000 - 0x000000006ae3d000 	C:\Program Files\Java\jre1.8.0_102\bin\management.dll
0x000007fefcab0000 - 0x000007fefcac8000 	C:\Windows\system32\CRYPTSP.dll
0x000007fefc7b0000 - 0x000007fefc7f7000 	C:\Windows\system32\rsaenh.dll
0x000007fefd4a0000 - 0x000007fefd4be000 	C:\Windows\system32\USERENV.dll
0x000007fefaf30000 - 0x000007fefaf41000 	C:\Windows\system32\dhcpcsvc6.DLL
0x000007fefaf10000 - 0x000007fefaf28000 	C:\Windows\system32\dhcpcsvc.DLL
0x000007fefb650000 - 0x000007fefb665000 	C:\Windows\system32\NLAapi.dll
0x000007fef5a70000 - 0x000007fef5a85000 	C:\Windows\system32\napinsp.dll
0x000007fef5a90000 - 0x000007fef5aa9000 	C:\Windows\system32\pnrpnsp.dll
0x000007fef6fb0000 - 0x000007fef6fbb000 	C:\Windows\System32\winrnr.dll
0x000007fef5a60000 - 0x000007fef5a70000 	C:\Windows\system32\wshbth.dll
0x00000000677a0000 - 0x00000000677c3000 	C:\Program Files\Java\jre1.8.0_102\bin\instrument.dll
0x00000000680f0000 - 0x00000000680ff000 	C:\Program Files\Java\jdk1.8.0_102\lib\visualvm\profiler\lib\deployed\jdk16\windows-amd64\profilerinterface.dll
0x000007fef5520000 - 0x000007fef5645000 	C:\Windows\system32\dbghelp.dll

VM Arguments:
java_command: jbookdb.jar
java_class_path (initial): jbookdb.jar
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_102
PATH=C:\Ruby21-x64\bin;C:\ProgramData\Oracle\Java\javapath;C:\PROGRAM FILES\INTEL\ICLS CLIENT\;C:\Windows\SYSTEM32;C:\Windows;C:\Windows\SYSTEM32\WBEM;C:\Windows\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;C:\PROGRAM FILES\INTEL\WIFI\BIN\;C:\PROGRAM FILES\COMMON FILES\INTEL\WIRELESSCOMMON\;C:\PROGRAM FILES\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\DAL;C:\PROGRAM FILES\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\IPT;C:\PROGRAM FILES (X86)\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\DAL;C:\PROGRAM FILES (X86)\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\IPT;C:\PROGRAM FILES (X86)\INTEL\OPENCL SDK\2.0\BIN\X86;C:\PROGRAM FILES (X86)\INTEL\OPENCL SDK\2.0\BIN\X64;C:\PROGRAM FILES\COMMON FILES\LENOVO;C:\PROGRAM FILES (X86)\COMMON FILES\ULEAD SYSTEMS\MPEG;C:\SWTOOLS\READYAPPS;C:\PROGRAM FILES (X86)\SYMANTEC\VIP ACCESS CLIENT\;C:\PROGRAM FILES (X86)\COMMON FILES\LENOVO;C:\PROGRAM FILES\MICROSOFT SQL SERVER\110\TOOLS\BINN\;C:\PROGRAM FILES\MICROSOFT SQL SERVER\110\DTS\BINN\;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\110\TOOLS\BINN\;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\110\TOOLS\BINN\MANAGEMENTSTUDIO\;C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 10.0\COMMON7\IDE\PRIVATEASSEMBLIES\;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\110\DTS\BINN\;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\100\TOOLS\BINN\;C:\PROGRAM FILES\MICROSOFT SQL SERVER\100\TOOLS\BINN\;C:\PROGRAM FILES\MICROSOFT SQL SERVER\100\DTS\BINN\;C:\PROGRAM FILES (X86)\FREEPCB\BIN;C:\PROGRAM FILES (X86)\NORDIC SEMICONDUCTOR\NRF51\BIN\;C:\PROGRAM FILES\MATLAB\R2011A\BIN;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth Software\syswow64;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;c:\program files\java\jdk1.8.0_45\bin;C:\Program Files\TortoiseSVN\bin;C:\Users\bcole\Projects\toast\lib\dist\VTK-7.0.0\Release;C:\Program Files\Git\cmd;C:\Program Files\NeoSoft, LLC\suiteHEART\lib\VTK-7.0.0\Release;C:\Program Files\SlikSvn\bin\
USERNAME=bcole
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows 7 , 64 bit Build 7601 (6.1.7601.23539)

CPU:total 4 (4 cores per cpu, 2 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, erms, ht, tsc, tscinvbit, tscinv

Memory: 4k page, physical 16333612k(8750224k free), swap 32665364k(22482848k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.102-b14) for windows-amd64 JRE (1.8.0_102-b14), built on Jun 22 2016 13:15:21 by "java_re" with MS VC++ 10.0 (VS2010)

time: Fri Sep 16 09:23:56 2016
elapsed time: 48 seconds (0d 0h 0m 48s)



REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
import java.awt.FlowLayout;

import javax.swing.*;

public class TestFrameExample {

	public static void main(String s[]) {

		JFrame frame = new JFrame("JFrame Example");

		JPanel panel = new JPanel();
		panel.setLayout(new FlowLayout());

		JLabel label = new JLabel("This is a label!");

		JButton button = new JButton();
		button.setText("Press me");

		panel.add(label);
		panel.add(button);

		frame.add(panel);
		frame.setSize(300, 300);
		frame.setLocationRelativeTo(null);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setVisible(true);

	}

}
---------- END SOURCE ----------


Comments
Thanks David.. I Verified this issue on 8u112 b13 and it is no more reproducible, hence as per the David comments above closing as Duplicate of JDK-8161144
17-10-2016

Duplicate of JDK-8161144 - fixed in 8u112 b13
22-09-2016

It is an regression Result == 8u05 - Pass 8u11 - Pass 8u20 - Pass 8u25 - Fail //Introduced here 8u40 - Fail 8u102 - Fail 8u112 ea b-04 - Fail 9 ea - Not able to verify Visual VM is not launching in 9 8u102 crash executed on Ubuntu == # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f6473de10b4, pid=724, tid=0x00007f643d98b700 # # JRE version: Java(TM) SE Runtime Environment (8.0_102-b14) (build 1.8.0_102-b14) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.102-b14 mixed mode linux-amd64 compressed oops) # Problematic frame: # V [libjvm.so+0x8ad0b4] Method::checked_resolve_jmethod_id(_jmethodID*)+0x34 # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # stacktrace Stack: [0x00007f643d88b000,0x00007f643d98c000], sp=0x00007f643d98a2e0, free space=1020k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x8ad0b4] Method::checked_resolve_jmethod_id(_jmethodID*)+0x34 V [libjvm.so+0x73bcde] jvmti_GetMethodDeclaringClass+0x20e C [libprofilerinterface.so+0x5fd3] Java_org_netbeans_lib_profiler_server_system_Stacks_getMethodNamesForJMethodIds+0xf3 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.netbeans.lib.profiler.server.system.Stacks.getMethodNamesForJMethodIds(I[I[I)[B+0 j org.netbeans.lib.profiler.server.ProfilerInterface.getMethodNamesForJMethodIds([I)Lorg/netbeans/lib/profiler/wireprotocol/MethodNamesResponse;+18 j org.netbeans.lib.profiler.server.ProfilerServer.handleClientCommand(Lorg/netbeans/lib/profiler/wireprotocol/Command;)V+675 j org.netbeans.lib.profiler.server.ProfilerServer.listenToClient()V+48 j org.netbeans.lib.profiler.server.ProfilerServer.run()V+22 v ~StubRoutines::call_stub
21-09-2016

Steps to reproduce == 1. Run the TestFrameExample.java file 2. In another terminal start the jvisualVM 3. Attach the java process launched for TestFrameExample.java 4. Change to profiler tab, enable settings, select memory settings and turn on "record allocations stack traces". click memory button and when enabled, click the snapshot button Crash
21-09-2016

It looked like duplicate of JDK-8147451 but no as 8147451 issue was fixed in 8u112 b-01, current issue is reproducible on 8u112 b-04
21-09-2016